summaryrefslogtreecommitdiffstats
path: root/package/spice
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2012-12-16 06:56:17 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-16 21:35:00 +0100
commitaf103acf4eb7fa6193c0bb9d844ea95f4e15db71 (patch)
treeda38b0a6ff8ca71c209925c6d0f9ac5e2e1a13d0 /package/spice
parenta872142c2f25761cbcfe024d4b9f0072f2639cea (diff)
downloadbuildroot-novena-af103acf4eb7fa6193c0bb9d844ea95f4e15db71.tar.gz
buildroot-novena-af103acf4eb7fa6193c0bb9d844ea95f4e15db71.zip
package/spice: enable GUI
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/spice')
-rw-r--r--package/spice/Config.in8
-rw-r--r--package/spice/spice.mk8
2 files changed, 15 insertions, 1 deletions
diff --git a/package/spice/Config.in b/package/spice/Config.in
index aacc779ba..08c3893f6 100644
--- a/package/spice/Config.in
+++ b/package/spice/Config.in
@@ -33,4 +33,12 @@ config BR2_PACKAGE_SPICE_CLIENT
select BR2_PACKAGE_XLIB_LIBXFIXES
select BR2_PACKAGE_XLIB_LIBXRANDR
+config BR2_PACKAGE_SPICE_GUI
+ bool "Enable GUI"
+ depends on BR2_PACKAGE_SPICE_CLIENT
+ select BR2_PACKAGE_CEGUI06
+ help
+ Say 'y' here to enable the Graphical User Interface (GUI)
+ start dialog.
+
endif # BR2_PACKAGE_SPICE
diff --git a/package/spice/spice.mk b/package/spice/spice.mk
index 2f7fc20d1..0a5c58e17 100644
--- a/package/spice/spice.mk
+++ b/package/spice/spice.mk
@@ -23,7 +23,6 @@ SPICE_DEPENDENCIES = \
# quite deep if we try to enable some features, and I have not tested that.
SPICE_CONF_OPT = \
--disable-tunnel \
- --disable-gui \
--disable-opengl \
--disable-smartcard \
--disable-automated-tests \
@@ -38,6 +37,13 @@ else
SPICE_CONF_OPT += --disable-client
endif
+ifeq ($(BR2_PACKAGE_SPICE_GUI),y)
+SPICE_CONF_OPT += --enable-gui
+SPICE_DEPENDENCIES += cegui06
+else
+SPICE_CONF_OPT += --disable-gui
+endif
+
SPICE_CONF_ENV = PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages
SPICE_MAKE_ENV = PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages