package/kodi: New option to enable support for optical drives

This also enables dvdcss support, provided by an internal library.

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 2014-12-23 18:46:36 +01:00 committed by Thomas Petazzoni
parent 7881cbc295
commit 25dc51caef
2 changed files with 11 additions and 1 deletions

View File

@ -235,6 +235,11 @@ config BR2_PACKAGE_KODI_WAVPACK
Enable WAV input support. Enable WAV input support.
Select this if you want to play back WV files. Select this if you want to play back WV files.
config BR2_PACKAGE_KODI_OPTICALDRIVE
bool "optical drive"
help
Enable support for optical drives
comment "Kodi addons" comment "Kodi addons"
source "package/kodi-addon-xvdr/Config.in" source "package/kodi-addon-xvdr/Config.in"

View File

@ -37,7 +37,6 @@ KODI_CONF_OPTS += \
--disable-joystick \ --disable-joystick \
--disable-mysql \ --disable-mysql \
--disable-openmax \ --disable-openmax \
--disable-optical-drive \
--disable-projectm \ --disable-projectm \
--disable-pulse \ --disable-pulse \
--disable-ssh \ --disable-ssh \
@ -189,6 +188,12 @@ else
KODI_CONF_OPTS += --disable-vaapi KODI_CONF_OPTS += --disable-vaapi
endif endif
ifeq ($(BR2_PACKAGE_KODI_OPTICALDRIVE),y)
KODI_CONF_OPTS += --enable-optical-drive --enable-dvdcss
else
KODI_CONF_OPTS += --disable-optical-drive --disable-dvdcss
endif
# Add HOST_DIR to PATH for codegenerator.mk to find swig # Add HOST_DIR to PATH for codegenerator.mk to find swig
define KODI_BOOTSTRAP define KODI_BOOTSTRAP
cd $(@D) && PATH=$(BR_PATH) ./bootstrap cd $(@D) && PATH=$(BR_PATH) ./bootstrap