summaryrefslogtreecommitdiffstats
path: root/package/kodi
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-04-29 10:37:42 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-29 12:02:09 +0200
commit43122d64e05a2831a96dabcbf149ba199726767f (patch)
tree1021a01d084f2dabfff4218986d567f0a5840ada /package/kodi
parent6c4fe5188d9ef69c4d0def3e05e59b76574e33a5 (diff)
downloadbuildroot-43122d64e05a2831a96dabcbf149ba199726767f.tar.gz
buildroot-43122d64e05a2831a96dabcbf149ba199726767f.zip
package/kodi: add optional support for bluez5
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [Thomas: add missing dependency on BR2_TOOLCHAIN_HAS_SYNC_4 from bluez5_utils.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/kodi')
-rw-r--r--package/kodi/Config.in9
-rw-r--r--package/kodi/kodi.mk7
2 files changed, 16 insertions, 0 deletions
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 7e1140291e..e8efd72bf5 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -113,6 +113,15 @@ config BR2_PACKAGE_KODI_AVAHI
Enable Avahi support.
Select this if you want Kodi to support Bonjour protocol.
+config BR2_PACKAGE_KODI_BLUEZ
+ bool "bluetooth"
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5_utils
+ depends on !BR2_PACKAGE_BLUEZ_UTILS # bluez5_utils
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5_utils
+ select BR2_PACKAGE_BLUEZ5_UTILS
+ help
+ Enable bluetooth support
+
config BR2_PACKAGE_KODI_DBUS
bool "dbus"
select BR2_PACKAGE_DBUS
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index c3576657e1..7341cc39df 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -183,6 +183,13 @@ else
KODI_CONF_OPTS += -DENABLE_CAP=OFF
endif
+ifeq ($(BR2_PACKAGE_KODI_BLUEZ),y)
+KODI_CONF_OPTS += -DENABLE_BLUETOOTH=ON
+KODI_DEPENDENCIES += bluez5_utils
+else
+KODI_CONF_OPTS += -DENABLE_BLUETOOTH=OFF
+endif
+
ifeq ($(BR2_PACKAGE_KODI_DBUS),y)
KODI_DEPENDENCIES += dbus
KODI_CONF_OPTS += -DENABLE_DBUS=ON
OpenPOWER on IntegriCloud