package/kodi-screensaver-asteroids: new package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 22 Jul 2015 20:30:59 +0000 (22:30 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 30 Jul 2015 07:44:08 +0000 (09:44 +0200)
[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>
package/kodi-screensaver-asteroids/Config.in [new file with mode: 0644]
package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.mk [new file with mode: 0644]
package/kodi/Config.in

diff --git a/package/kodi-screensaver-asteroids/Config.in b/package/kodi-screensaver-asteroids/Config.in
new file mode 100644 (file)
index 0000000..d5d92c6
--- /dev/null
@@ -0,0 +1,10 @@
+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
diff --git a/package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.mk b/package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.mk
new file mode 100644 (file)
index 0000000..dce8fb6
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# 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))
index af6aec71ba6557c14152bd484ca662ba164a5e17..ac6c6fc30b1db59fad5140e80393aa1d2e3bf771 100644 (file)
@@ -286,4 +286,8 @@ menu "PVR addons"
        source "package/kodi-pvr-wmc/Config.in"
 endmenu
 
+menu "Screensavers"
+       source "package/kodi-screensaver-asteroids/Config.in"
+endmenu
+
 endif # BR2_PACKAGE_KODI