package/kodi-screensaver-rsxs: needs xlib_libXmu
authorBernd Kuhls <bernd.kuhls@t-online.de>
Tue, 10 May 2016 18:40:21 +0000 (20:40 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 11 May 2016 14:04:49 +0000 (16:04 +0200)
Fixes

/home/bernd/buildroot/output/build/kodi-screensaver-rsxs-195e0ec3fbbcb2ee2012cd560e42d05167f0f259/lib/rsxs-1.0/src/common.cc:42:27:
 fatal error: X11/Xmu/StdCmap.h: No such file or directory

X11/Xmu/StdCmap.h is included here:
https://github.com/notspiff/screensavers.rsxs/blob/master/lib/rsxs-1.0/src/common.cc#L48

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kodi-screensaver-rsxs/Config.in
package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.mk

index b489303b51c05a8f26b5b243c898b5817ed1ed0e..0698c7dd817d20698b34168597fd4e62c04f413a 100644 (file)
@@ -1,10 +1,12 @@
 config BR2_PACKAGE_KODI_SCREENSAVER_RSXS
        bool "kodi-screensaver-rsxs"
        depends on BR2_PACKAGE_KODI_GL # libglu
+       depends on BR2_PACKAGE_XORG7 # xlib_libXmu
+       select BR2_PACKAGE_XLIB_LIBXMU
        help
          RSXS screensaver add-ons for Kodi
 
          https://github.com/notspiff/screensavers.rsxs
 
-comment "kodi-screensaver-rsxs needs OpenGL"
-       depends on !BR2_PACKAGE_KODI_GL
+comment "kodi-screensaver-rsxs depends on X.org and needs OpenGL"
+       depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_GL
index c76e9da954372e79134f921856e4e7e8e347a830..7df6c22cef0df3718a13cd1dad3d13024550e259 100644 (file)
@@ -9,6 +9,6 @@ KODI_SCREENSAVER_RSXS_SITE = $(call github,notspiff,screensavers.rsxs,$(KODI_SCR
 KODI_SCREENSAVER_RSXS_LICENSE = GPLv3
 KODI_SCREENSAVER_RSXS_LICENSE_FILES = lib/rsxs-1.0/COPYING
 
-KODI_SCREENSAVER_RSXS_DEPENDENCIES = kodi
+KODI_SCREENSAVER_RSXS_DEPENDENCIES = kodi xlib_libXmu
 
 $(eval $(cmake-package))