From: Yann E. MORIN Date: Mon, 1 Sep 2014 16:31:41 +0000 (+0200) Subject: package/xbmc: add option to enable RSXS screensaver X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9266ac12d274724aeb1f284db44a7945bc55a250;p=buildroot.git package/xbmc: add option to enable RSXS screensaver Signed-off-by: "Yann E. MORIN" Cc: Bernd Kuhls Acked-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- 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