package/kodi: Add suboption to control UPnP support
authorBernd Kuhls <bernd.kuhls@t-online.de>
Mon, 11 Jul 2016 18:08:57 +0000 (20:08 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 17 Jul 2016 12:24:38 +0000 (14:24 +0200)
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 3d3ecfd8d82452a71f8f153a418121696436a7fa..a000e79a0b3a25b9bd5ad75512b1df68a97c5182 100644 (file)
@@ -227,6 +227,11 @@ config BR2_PACKAGE_KODI_LIBVA
        help
          Enable libva support.
 
+config BR2_PACKAGE_KODI_UPNP
+       bool "upnp"
+       help
+         Enable UPnP support
+
 config BR2_PACKAGE_KODI_OPTICALDRIVE
        bool
 
index 8a3b0bfc5fbe95b87e052af9b946ec6a7fe09f72..52593aa595d18ab73a423c44f6875b5477cf4d8f 100644 (file)
@@ -228,6 +228,12 @@ else
 KODI_CONF_OPTS += --disable-vaapi
 endif
 
+ifeq ($(BR2_PACKAGE_KODI_UPNP),y)
+KODI_CONF_OPTS += --enable-upnp
+else
+KODI_CONF_OPTS += --disable-upnp
+endif
+
 ifeq ($(BR2_PACKAGE_KODI_OPTICALDRIVE),y)
 KODI_CONF_OPTS += --enable-optical-drive --enable-dvdcss
 else