package/kodi-peripheral-joystick: new package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 7 May 2017 11:32:03 +0000 (13:32 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 16 Jul 2017 14:09:03 +0000 (16:09 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kodi-peripheral-joystick/Config.in [new file with mode: 0644]
package/kodi-peripheral-joystick/kodi-peripheral-joystick.hash [new file with mode: 0644]
package/kodi-peripheral-joystick/kodi-peripheral-joystick.mk [new file with mode: 0644]
package/kodi/Config.in

diff --git a/package/kodi-peripheral-joystick/Config.in b/package/kodi-peripheral-joystick/Config.in
new file mode 100644 (file)
index 0000000..f257710
--- /dev/null
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_KODI_PERIPHERAL_JOYSTICK
+       bool "kodi-peripheral-joystick"
+       depends on BR2_PACKAGE_HAS_UDEV
+       select BR2_PACKAGE_KODI_PLATFORM
+       help
+         Kodi joystick support (drivers and button maps)
+
+         https://github.com/xbmc/peripheral.joystick
+
+comment "kodi-peripheral-joystick needs udev /dev management"
+       depends on !BR2_PACKAGE_HAS_UDEV
diff --git a/package/kodi-peripheral-joystick/kodi-peripheral-joystick.hash b/package/kodi-peripheral-joystick/kodi-peripheral-joystick.hash
new file mode 100644 (file)
index 0000000..ca2bdc3
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 c2025c4ec280b44b5d8bb1c34185a94cc105f66f0b762087804bb7d2d633d999  kodi-peripheral-joystick-v1.3.2.tar.gz
diff --git a/package/kodi-peripheral-joystick/kodi-peripheral-joystick.mk b/package/kodi-peripheral-joystick/kodi-peripheral-joystick.mk
new file mode 100644 (file)
index 0000000..f0cad13
--- /dev/null
@@ -0,0 +1,15 @@
+################################################################################
+#
+# kodi-peripheral-joystick
+#
+################################################################################
+
+# This cset is on the branch 'Krypton'
+# When Kodi is updated, then this should be updated to the corresponding branch
+KODI_PERIPHERAL_JOYSTICK_VERSION = v1.3.2
+KODI_PERIPHERAL_JOYSTICK_SITE = $(call github,xbmc,peripheral.joystick,$(KODI_PERIPHERAL_JOYSTICK_VERSION))
+KODI_PERIPHERAL_JOYSTICK_LICENSE = GPL-2.0+
+KODI_PERIPHERAL_JOYSTICK_LICENSE_FILES = src/addon.cpp
+KODI_PERIPHERAL_JOYSTICK_DEPENDENCIES = kodi-platform udev
+
+$(eval $(cmake-package))
index 658670139316695d9ab6d1a702d67f25fa96c3a8..efb613ae0629f37bafd719aac17a761d52566f4c 100644 (file)
@@ -293,6 +293,10 @@ menu "Audio encoder addons"
        source "package/kodi-audioencoder-wav/Config.in"
 endmenu
 
+menu "Peripheral addons"
+       source "package/kodi-peripheral-joystick/Config.in"
+endmenu
+
 menu "PVR addons"
        source "package/kodi-pvr-argustv/Config.in"
        source "package/kodi-pvr-dvblink/Config.in"