[v5,16/34] package/kodi: add optional support for lcms2

Submitted by Bernd Kuhls on April 17, 2017, 7:54 p.m.

Details

Message ID 20170417195433.26672-17-bernd.kuhls@t-online.de
State New
Headers show

Commit Message

Bernd Kuhls April 17, 2017, 7:54 p.m.
Support was added by https://github.com/xbmc/xbmc/pull/11846

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

Comments

Yann E. MORIN April 23, 2017, 8:46 a.m.
Bernd, All,

On 2017-04-17 21:54 +0200, Bernd Kuhls spake thusly:
> Support was added by https://github.com/xbmc/xbmc/pull/11846
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  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 013d343a4..cc8470319 100644
> --- a/package/kodi/Config.in
> +++ b/package/kodi/Config.in
> @@ -155,6 +155,12 @@ config BR2_PACKAGE_KODI_LIBCEC
>  comment "hdmi cec support needs udev /dev management"
>  	depends on !BR2_PACKAGE_HAS_UDEV
>  
> +config BR2_PACKAGE_KODI_LCMS2
> +	bool "lcms2"
> +	select BR2_PACKAGE_LCMS2
> +	help
> +	  Enable color management support.
> +
>  config BR2_PACKAGE_KODI_LIRC
>  	bool "lirc"
>  	help
> diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
> index a0fc4d992..2e8e047be 100644
> --- a/package/kodi/kodi.mk
> +++ b/package/kodi/kodi.mk
> @@ -298,6 +298,13 @@ else
>  KODI_CONF_OPTS += -DENABLE_CEC=OFF
>  endif
>  
> +ifeq ($(BR2_PACKAGE_KODI_LCMS2),y)
> +KODI_DEPENDENCIES += lcms2
> +KODI_CONF_OPTS += -DENABLE_LCMS2=ON
> +else
> +KODI_CONF_OPTS += -DENABLE_LCMS2=OFF
> +endif
> +
>  ifeq ($(BR2_PACKAGE_KODI_LIRC),y)
>  KODI_CONF_OPTS += -DENABLE_LIRC=ON
>  else
> -- 
> 2.11.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

Patch hide | download patch | download mbox

diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 013d343a4..cc8470319 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -155,6 +155,12 @@  config BR2_PACKAGE_KODI_LIBCEC
 comment "hdmi cec support needs udev /dev management"
 	depends on !BR2_PACKAGE_HAS_UDEV
 
+config BR2_PACKAGE_KODI_LCMS2
+	bool "lcms2"
+	select BR2_PACKAGE_LCMS2
+	help
+	  Enable color management support.
+
 config BR2_PACKAGE_KODI_LIRC
 	bool "lirc"
 	help
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index a0fc4d992..2e8e047be 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -298,6 +298,13 @@  else
 KODI_CONF_OPTS += -DENABLE_CEC=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_KODI_LCMS2),y)
+KODI_DEPENDENCIES += lcms2
+KODI_CONF_OPTS += -DENABLE_LCMS2=ON
+else
+KODI_CONF_OPTS += -DENABLE_LCMS2=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_KODI_LIRC),y)
 KODI_CONF_OPTS += -DENABLE_LIRC=ON
 else