[Buildroot] [PATCH v2 17/38] package/kodi: add optional support for lcms2

Bernd Kuhls bernd.kuhls at t-online.de
Fri Feb 3 16:20:11 UTC 2017


Added by
https://github.com/xbmc/xbmc/commit/4a635240ae5a6a3a03750efba0f30b65b5de7c2d

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
 package/kodi/Config.in | 6 ++++++
 package/kodi/kodi.mk   | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index ed51833f9..6f8e9a1cc 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -134,6 +134,12 @@ config BR2_PACKAGE_KODI_DBUS
 	help
 	  Enable D-Bus support
 
+config BR2_PACKAGE_KODI_LCMS2
+	bool "lcms2"
+	select BR2_PACKAGE_LCMS2
+	help
+	  Enable lcms2 support
+
 config BR2_PACKAGE_KODI_LIBBLURAY
 	bool "blu-ray"
 	select BR2_PACKAGE_LIBBLURAY
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index 28d58bfe3..08ed68b14 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -198,6 +198,13 @@ else
 KODI_CONF_OPTS += --disable-nfs
 endif
 
+ifeq ($(BR2_PACKAGE_KODI_LCMS2),y)
+KODI_DEPENDENCIES += lcms2
+KODI_CONF_OPTS += --enable-lcms2
+else
+KODI_CONF_OPTS += --disable-lcms2
+endif
+
 ifeq ($(BR2_PACKAGE_KODI_LIBBLURAY),y)
 KODI_DEPENDENCIES += libbluray
 KODI_CONF_OPTS += --enable-libbluray
-- 
2.11.0




More information about the buildroot mailing list