freeciv-2.6: Build sdl2-client

Signed-off-by: Marko Lindqvist <cazfi@prime>
This commit is contained in:
Marko Lindqvist
2016-09-26 06:49:36 +03:00
parent 95ba7f025f
commit 693dcef220

View File

@@ -1,11 +1,13 @@
FREECIV_GUI = "gtk3,qt"
FREECIV_GUI = "gtk3,qt,sdl2"
require freeciv.inc
DEFAULT_PREFERENCE = "-1"
DEPENDS += "libsdl2-image libsdl2-ttf libsdl2-gfx freetype"
BRANCH = "S2_6"
SRCREV="33825"
SRCREV="33881"
SRC_URI += "svn://svn.gna.org/svn/freeciv;module=branches/${BRANCH} \
"
PV = "2.6.0-beta0+r${SRCREV}"
@@ -15,4 +17,11 @@ EXTRA_OECONF += "\
S = "${WORKDIR}/branches/${BRANCH}"
PACKAGES += ""
PACKAGES += "${PN}-sdl2"
RDEPENDS_${PN}-sdl2 = "freeciv-common freeciv-client-common"
RPROVIDES_${PN}-sdl2 = "freeciv-client"
FILES_${PN}-sdl2 = "\
${bindir}/freeciv-sdl2 \
${datadir}/freeciv/themes/gui-sdl2 \
"