freeciv: Move stuff common to all supported versions to freeciv.inc

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
This commit is contained in:
Marko Lindqvist
2015-09-10 06:11:01 +03:00
parent 0fa9898e68
commit 8eb03b2f03
3 changed files with 4 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SECTION = "games"
DEPENDS = "gtk+ readline libsdl-mixer bzip2"
DEPENDS = "gtk+ readline libsdl-mixer bzip2 curl xz"
SRC_URI = "\
${SOURCEFORGE_MIRROR}/freeciv/freeciv-${PV}.tar.bz2 \
@@ -25,6 +25,7 @@ inherit autotools pkgconfig
EXTRA_OECONF = "\
--enable-shared --without-ggz-dir --enable-client=${FREECIV_GUI} \
--disable-mapimg \
SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config \
"

View File

@@ -2,9 +2,5 @@ FREECIV_GUI = "gtk2"
require freeciv.inc
DEPENDS += "curl xz"
EXTRA_OECONF += "--disable-mapimg"
SRC_URI[md5sum] = "fae43d37c65416c104595713e337a740"
SRC_URI[sha256sum] = "ce4e5d083d26c7323e781d0803e858fb9be986858d9f776b8a9a97544e13b3f9"

View File

@@ -4,12 +4,12 @@ require freeciv.inc
DEFAULT_PREFERENCE = "-1"
DEPENDS += "curl gtk+3 xz qtbase"
DEPENDS += "gtk+3 qtbase"
EXTRA_OECONF += "\
--with-qt5-includes=${STAGING_INCDIR}/qt5 \
--with-qt5-libs=${STAGING_LIBDIR}/qt5 \
--disable-mapimg"
"
SRC_URI[md5sum] = "b94bf68ce5f3611c71fac9753598b046"
SRC_URI[sha256sum] = "4e420a9ad91aa7966039ec3b63501725c8261a4ff734d56fe801414fae772696"