package/kodi: fix libudfread dependency

Buildroot c619346111 commit added a broken
dependency to libudfread. In fact libudfread is still an optional
dependency, just the configure options changes due to upstream
commit 5f9b9cfa26

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Bernd Kuhls
2024-05-11 14:58:29 +02:00
committed by Yann E. MORIN
parent 5cfda60060
commit 76e473154d
2 changed files with 7 additions and 2 deletions

View File

@@ -166,7 +166,6 @@ config BR2_PACKAGE_KODI_EVENTCLIENTS
config BR2_PACKAGE_KODI_LIBBLURAY config BR2_PACKAGE_KODI_LIBBLURAY
bool "blu-ray" bool "blu-ray"
select BR2_PACKAGE_LIBBLURAY select BR2_PACKAGE_LIBBLURAY
select BR2_PACKAGE_LIBUDFREAD
help help
Enable Blu-ray input support. Enable Blu-ray input support.
Select this if you want to play back Blu-ray content. Select this if you want to play back Blu-ray content.

View File

@@ -45,7 +45,6 @@ KODI_DEPENDENCIES = \
libfribidi \ libfribidi \
libplist \ libplist \
libpng \ libpng \
libudfread \
lzo \ lzo \
openssl \ openssl \
pcre \ pcre \
@@ -388,6 +387,13 @@ else
KODI_CONF_OPTS += -DENABLE_PULSEAUDIO=OFF KODI_CONF_OPTS += -DENABLE_PULSEAUDIO=OFF
endif endif
ifeq ($(BR2_PACKAGE_LIBUDFREAD),y)
KODI_CONF_OPTS += -DENABLE_UDFREAD=ON
KODI_DEPENDENCIES += libudfread
else
KODI_CONF_OPTS += -DENABLE_UDFREAD=OFF
endif
# Remove versioncheck addon, updating Kodi is done by building a new # Remove versioncheck addon, updating Kodi is done by building a new
# buildroot image. # buildroot image.
KODI_ADDON_MANIFEST = $(TARGET_DIR)/usr/share/kodi/system/addon-manifest.xml KODI_ADDON_MANIFEST = $(TARGET_DIR)/usr/share/kodi/system/addon-manifest.xml