package/kodi: add optional support for event clients
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 29 Apr 2017 08:37:45 +0000 (10:37 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 29 Apr 2017 10:06:10 +0000 (12:06 +0200)
For details read
https://github.com/xbmc/xbmc/blob/master/tools/EventClients/README.txt

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

index cd58cf29019068a0ebbc90b4c510031acb0a80d0..36d25637b72772c73db8d654e845819f1d81ae80 100644 (file)
@@ -126,6 +126,13 @@ config BR2_PACKAGE_KODI_DBUS
        help
          Enable D-Bus support
 
+config BR2_PACKAGE_KODI_EVENTCLIENTS
+       bool "eventclients"
+       help
+         Enable event clients support
+
+         https://github.com/xbmc/xbmc/blob/master/tools/EventClients/README.txt
+
 config BR2_PACKAGE_KODI_LIBBLURAY
        bool "blu-ray"
        select BR2_PACKAGE_LIBBLURAY
index 4c7a2e808830c5ab363f0f2c093e37078a74a486..35219991331144a0547741da9a5551d577a44eb1 100644 (file)
@@ -202,6 +202,12 @@ else
 KODI_CONF_OPTS += -DENABLE_DBUS=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_KODI_EVENTCLIENTS),y)
+KODI_CONF_OPTS += -DENABLE_EVENTCLIENTS=ON
+else
+KODI_CONF_OPTS += -DENABLE_EVENTCLIENTS=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_KODI_ALSA_LIB),y)
 KODI_CONF_OPTS += -DENABLE_ALSA=ON
 KODI_DEPENDENCIES += alsa-lib