@@ -73,8 +73,6 @@ menuconfig BR2_PACKAGE_KODI
select BR2_PACKAGE_LIBGCRYPT
select BR2_PACKAGE_LIBPLIST
select BR2_PACKAGE_LIBSAMPLERATE
- select BR2_PACKAGE_LIBXML2
- select BR2_PACKAGE_LIBXSLT
select BR2_PACKAGE_LZO
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_OPENSSL
@@ -36,8 +36,6 @@ KODI_DEPENDENCIES = \
libgcrypt \
libplist \
libsamplerate \
- libxml2 \
- libxslt \
lzo \
ncurses \
openssl \
@@ -124,6 +122,13 @@ else
KODI_CONF_OPTS += --disable-libcap
endif
+ifeq ($(BR2_PACKAGE_LIBXSLT),y)
+KODI_CONF_OPTS += --enable-libxslt
+KODI_DEPENDENCIES += libxslt
+else
+KODI_CONF_OPTS += --disable-libxslt
+endif
+
ifeq ($(BR2_PACKAGE_KODI_BLUEZ),y)
KODI_CONF_OPTS += --enable-libbluetooth
KODI_DEPENDENCIES += bluez5_utils
After this commit https://github.com/xbmc/xbmc/commit/bad3902b4a2538a433f858c97b2cf91c44c7feff libxslt is an optional package Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> --- package/kodi/Config.in | 2 -- package/kodi/kodi.mk | 9 +++++++-- 2 files changed, 7 insertions(+), 4 deletions(-)