aboutsummaryrefslogtreecommitdiff
path: root/package/kodi-screensaver-asteroids
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2015-07-22 22:30:59 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-30 09:44:08 +0200
commit3e3078dec42e8a8d42120d803e83e6d1572987e1 (patch)
tree595a19e300af0917f46ca0088c7f49dc24bc6ce4 /package/kodi-screensaver-asteroids
parent05a2cbb1e73be4a1309fad4b215461d930f3991b (diff)
downloadbuildroot-3e3078dec42e8a8d42120d803e83e6d1572987e1.tar.gz
buildroot-3e3078dec42e8a8d42120d803e83e6d1572987e1.tar.bz2
package/kodi-screensaver-asteroids: new package
[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>
Diffstat (limited to 'package/kodi-screensaver-asteroids')
-rw-r--r--package/kodi-screensaver-asteroids/Config.in10
-rw-r--r--package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.mk13
2 files changed, 23 insertions, 0 deletions
diff --git a/package/kodi-screensaver-asteroids/Config.in b/package/kodi-screensaver-asteroids/Config.in
new file mode 100644
index 0000000000..d5d92c6e8e
--- /dev/null
+++ b/package/kodi-screensaver-asteroids/Config.in
@@ -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
index 0000000000..dce8fb6d8d
--- /dev/null
+++ b/package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.mk
@@ -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))