package/xbmc: add option to enable RSXS screensaver

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Yann E. MORIN 2014-09-01 18:31:41 +02:00 committed by Peter Korsgaard
parent 032893b7a6
commit 9266ac12d2
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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