[Thomas:
- do not pass -DCMAKE_MODULE_PATH, no longer needed.
- add dependency on KODI_GL, since it includes <GL/gl.h>.]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
--- /dev/null
+config BR2_PACKAGE_KODI_SCREENSAVER_ASTEROIDS
+ bool "kodi-screensaver-asteroids"
+ depends on BR2_PACKAGE_KODI_GL
+ help
+ Asteroids screensaver for Kodi
+
+ https://github.com/notspiff/screensaver.asteroids
+
+comment "kodi-screensaver-asteroids needs an OpenGL backend"
+ depends on !BR2_PACKAGE_KODI_GL
--- /dev/null
+################################################################################
+#
+# kodi-screensaver-asteroids
+#
+################################################################################
+
+KODI_SCREENSAVER_ASTEROIDS_VERSION = d4c2e3b499544ef55be364b34e5569d9c31c9615
+KODI_SCREENSAVER_ASTEROIDS_SITE = $(call github,notspiff,screensaver.asteroids,$(KODI_SCREENSAVER_ASTEROIDS_VERSION))
+KODI_SCREENSAVER_ASTEROIDS_LICENSE = GPLv2+
+KODI_SCREENSAVER_ASTEROIDS_LICENSE_FILES = src/main.cpp
+KODI_SCREENSAVER_ASTEROIDS_DEPENDENCIES = kodi
+
+$(eval $(cmake-package))
source "package/kodi-pvr-wmc/Config.in"
endmenu
+menu "Screensavers"
+ source "package/kodi-screensaver-asteroids/Config.in"
+endmenu
+
endif # BR2_PACKAGE_KODI