commit: c691d99a40c6306d0f7097cac9465517e9caa0a1
Author: Karlson2k (Evgeny Grin) <k2k <AT> narod <DOT> ru>
AuthorDate: Tue Feb 9 19:03:26 2021 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu Feb 18 14:43:26 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c691d99a
media-tv/kodi: control ISO9660 support with 'optical' flag
Both 'ENABLE_OPTICAL' and 'ENABLE_ISO9660PP' are based on libcdio.
It makes sense to sync their usage, as both are required to read optical
disks.
Signed-off-by: Karlson2k (Evgeny Grin) <k2k <AT> narod.ru>
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
media-tv/kodi/kodi-9999.ebuild | 2 +-
media-tv/kodi/metadata.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild
index 8d558c9a915..9ecb4dff66c 100644
--- a/media-tv/kodi/kodi-9999.ebuild
+++ b/media-tv/kodi/kodi-9999.ebuild
@@ -261,7 +261,7 @@ src_configure() {
-DENABLE_CLANGFORMAT=OFF
-DENABLE_CLANGTIDY=OFF
-DENABLE_CPPCHECK=OFF
- -DENABLE_ISO9660PP=ON
+ -DENABLE_ISO9660PP=$(usex optical)
-DENABLE_CEC=$(usex cec)
-DENABLE_DBUS=$(usex dbus)
-DENABLE_DVDCSS=$(usex css)
diff --git a/media-tv/kodi/metadata.xml b/media-tv/kodi/metadata.xml
index 8ce883523a2..de1e8c49260 100644
--- a/media-tv/kodi/metadata.xml
+++ b/media-tv/kodi/metadata.xml
@@ -16,7 +16,7 @@
<flag name="mariadb">Add MariaDB support</flag>
<flag name="dav1d">Enables AV1 decoding via
<pkg>media-libs/dav1d</pkg></flag>
<flag name="nfs">Enable NFS client support</flag>
- <flag name="optical">Enable Audio CD playback and optical disks
detection and reading</flag>
+ <flag name="optical">Enable Audio CD playback, optical disks
detection and reading (CD-ROM, Video CD, and others), and ISO optical disk
images direct reading. DVD disks may require additional 'udf' flag.</flag>
<flag name="power-control">Enable control of shutdown, reboot,
suspend, and hibernate</flag>
<flag name="raspberry-pi">Enable support for the Raspberry
Pi</flag>
<flag name="system-ffmpeg">Use system ffmpeg instead of the
bundled one</flag>