From 658969e57cf305bbec69f53b5fcd53065673cd55 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 17 Feb 2013 05:09:26 +0200 Subject: [PATCH] freeciv: select gui to build in individual recipes, not .inc Signed-off-by: Marko Lindqvist --- recipes-games/freeciv/freeciv.inc | 2 +- recipes-games/freeciv/freeciv_2.3.4.bb | 2 ++ recipes-games/freeciv/freeciv_2.4.0-beta1.bb | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes-games/freeciv/freeciv.inc b/recipes-games/freeciv/freeciv.inc index 00e9823..1ed9793 100644 --- a/recipes-games/freeciv/freeciv.inc +++ b/recipes-games/freeciv/freeciv.inc @@ -22,7 +22,7 @@ S = "${WORKDIR}/freeciv-${PV}" inherit autotools pkgconfig EXTRA_OECONF = "\ ---enable-shared --without-ggz-dir --enable-client=gtk2 \ +--enable-shared --without-ggz-dir --enable-client=${FREECIV_GUI} \ --with-sdl-prefix=${STAGING_BINDIR_CROSS} \ " diff --git a/recipes-games/freeciv/freeciv_2.3.4.bb b/recipes-games/freeciv/freeciv_2.3.4.bb index da45506..f2909ee 100644 --- a/recipes-games/freeciv/freeciv_2.3.4.bb +++ b/recipes-games/freeciv/freeciv_2.3.4.bb @@ -1,3 +1,5 @@ +FREECIV_GUI = "gtk2" + require freeciv.inc PR = "r0" diff --git a/recipes-games/freeciv/freeciv_2.4.0-beta1.bb b/recipes-games/freeciv/freeciv_2.4.0-beta1.bb index 7ae8276..72283d0 100644 --- a/recipes-games/freeciv/freeciv_2.4.0-beta1.bb +++ b/recipes-games/freeciv/freeciv_2.4.0-beta1.bb @@ -1,3 +1,5 @@ +FREECIV_GUI = "gtk2" + require freeciv.inc DEFAULT_PREFERENCE = "-1"