Commit 25dc51ca authored by Bernd Kuhls's avatar Bernd Kuhls Committed by Thomas Petazzoni
Browse files

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



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

Signed-off-by: default avatarBernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 7881cbc2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -235,6 +235,11 @@ config BR2_PACKAGE_KODI_WAVPACK
	  Enable WAV input support.
	  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"

source "package/kodi-addon-xvdr/Config.in"
+6 −1
Original line number Diff line number Diff line
@@ -37,7 +37,6 @@ KODI_CONF_OPTS += \
	--disable-joystick \
	--disable-mysql \
	--disable-openmax \
	--disable-optical-drive \
	--disable-projectm \
	--disable-pulse \
	--disable-ssh \
@@ -189,6 +188,12 @@ else
KODI_CONF_OPTS += --disable-vaapi
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
define KODI_BOOTSTRAP
	cd $(@D) && PATH=$(BR_PATH) ./bootstrap