diff --git a/recipes-games/freeciv/freeciv_S2_6.bb b/recipes-games/freeciv/freeciv_S2_6.bb index 440af83..2058653 100644 --- a/recipes-games/freeciv/freeciv_S2_6.bb +++ b/recipes-games/freeciv/freeciv_S2_6.bb @@ -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 \ +"