mirror of
https://github.com/cazfi/meta-games.git
synced 2026-09-13 06:49:30 +02:00
freeciv-2.5: Add Qt-client
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
This commit is contained in:
@@ -1,17 +1,20 @@
|
|||||||
FREECIV_GUI = "gtk2,gtk3"
|
FREECIV_GUI = "gtk2,gtk3,qt"
|
||||||
|
|
||||||
require freeciv.inc
|
require freeciv.inc
|
||||||
|
|
||||||
DEFAULT_PREFERENCE = "-1"
|
DEFAULT_PREFERENCE = "-1"
|
||||||
|
|
||||||
DEPENDS += "curl gtk+3 xz"
|
DEPENDS += "curl gtk+3 xz qtbase"
|
||||||
|
|
||||||
EXTRA_OECONF += "--disable-mapimg"
|
EXTRA_OECONF += "\
|
||||||
|
--with-qt5-includes=${STAGING_INCDIR}/qt5 \
|
||||||
|
--with-qt5-libs=${STAGING_LIBDIR}/qt5 \
|
||||||
|
--disable-mapimg"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "18679f3600b438480ac53c86bcf3ea39"
|
SRC_URI[md5sum] = "18679f3600b438480ac53c86bcf3ea39"
|
||||||
SRC_URI[sha256sum] = "11c9c63b746ff83067e0194be49f4075eef0fe099ea9b53053ebe8a96e6d8616"
|
SRC_URI[sha256sum] = "11c9c63b746ff83067e0194be49f4075eef0fe099ea9b53053ebe8a96e6d8616"
|
||||||
|
|
||||||
PACKAGES += "${PN}-gtk3"
|
PACKAGES =+ "${PN}-gtk3 ${PN}-qt"
|
||||||
|
|
||||||
RDEPENDS_${PN}-gtk3 = "freeciv-common freeciv-client-common"
|
RDEPENDS_${PN}-gtk3 = "freeciv-common freeciv-client-common"
|
||||||
RPROVIDES_${PN}-gtk3 = "freeciv-client"
|
RPROVIDES_${PN}-gtk3 = "freeciv-client"
|
||||||
@@ -20,3 +23,10 @@ ${bindir}/freeciv-gtk3 \
|
|||||||
${datadir}/freeciv/themes/gui-gtk-3.0 \
|
${datadir}/freeciv/themes/gui-gtk-3.0 \
|
||||||
${datadir}/freeciv/gtk_menus.xml \
|
${datadir}/freeciv/gtk_menus.xml \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-qt = "freeciv-common freeciv-client-common qtbase-plugins qtbase-fonts"
|
||||||
|
RPROVIDES_${PN}-qt = "freeciv-client"
|
||||||
|
FILES_${PN}-qt = "\
|
||||||
|
${bindir}/freeciv-qt \
|
||||||
|
${datadir}/freeciv/themes/gui-qt \
|
||||||
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user