package/kodi: Add suboption to control UPnP support

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls 2016-07-11 20:08:57 +02:00 committed by Thomas Petazzoni
parent 632b5aa9ab
commit 29ad494654
2 changed files with 11 additions and 0 deletions

View 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

View 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