summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/xbmc/Config.in9
-rw-r--r--package/xbmc/xbmc.mk4
2 files changed, 13 insertions, 0 deletions
diff --git a/package/xbmc/Config.in b/package/xbmc/Config.in
index ebe0882f47..ed0d4ed023 100644
--- a/package/xbmc/Config.in
+++ b/package/xbmc/Config.in
@@ -138,6 +138,15 @@ config BR2_PACKAGE_XBMC_GOOM
comment "goom needs an OpenGL backend"
depends on !BR2_PACKAGE_XBMC_GL
+config BR2_PACKAGE_XBMC_RSXS
+ bool "rsxs screensaver"
+ depends on BR2_PACKAGE_XBMC_GL
+ help
+ Enable goom screensaver
+
+comment "rsxs needs an OpenGL backend"
+ depends on !BR2_PACKAGE_XBMC_GL
+
config BR2_PACKAGE_XBMC_LIBCEC
bool "hdmi cec"
depends on !BR2_PREFER_STATIC_LIB # libcec
diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk
index bdd634e1b2..b3c5023bc0 100644
--- a/package/xbmc/xbmc.mk
+++ b/package/xbmc/xbmc.mk
@@ -88,6 +88,7 @@ ifeq ($(BR2_PACKAGE_XBMC_GL),y)
XBMC_DEPENDENCIES += libglew libglu libgl sdl_image xlib_libX11 xlib_libXext \
xlib_libXmu xlib_libXrandr xlib_libXt
XBMC_CONF_OPT += --enable-gl --enable-sdl --enable-x11 --enable-xrandr --disable-gles
+ifeq ($(BR2_PACKAGE_XBMC_RSXS),y)
# fix rsxs compile
# make sure target libpng-config is used, options taken from rsxs-0.9/acinclude.m4
XBMC_CONF_ENV += \
@@ -99,6 +100,9 @@ XBMC_CONF_ENV += \
mac_cv_pkg_libs="`$(STAGING_DIR)/usr/bin/libpng-config --libs`"
XBMC_CONF_OPT += --enable-rsxs
else
+XBMC_CONF_OPT += --disable-rsxs
+endif
+else
XBMC_CONF_OPT += --disable-gl --disable-rsxs --disable-sdl --disable-x11 --disable-xrandr
ifeq ($(BR2_PACKAGE_XBMC_EGL_GLES),y)
XBMC_DEPENDENCIES += libegl libgles
OpenPOWER on IntegriCloud