1 |
commit: 0873ae4038ab53d3372c66ec5adae1f4e585d03c |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 1 20:31:54 2021 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 1 20:31:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0873ae40 |
7 |
|
8 |
media-tv/kodi: make libcdio optional |
9 |
|
10 |
Libcdio is an optional Kodi dependency. |
11 |
Added USE flag to enable/disable it. |
12 |
|
13 |
Signed-off-by: Evgeny Grin <k2k <AT> narod.ru> |
14 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
15 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
16 |
|
17 |
media-tv/kodi/kodi-9999.ebuild | 5 +++-- |
18 |
media-tv/kodi/metadata.xml | 1 + |
19 |
2 files changed, 4 insertions(+), 2 deletions(-) |
20 |
|
21 |
diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild |
22 |
index 51e6fec3a0f..6d2b8987394 100644 |
23 |
--- a/media-tv/kodi/kodi-9999.ebuild |
24 |
+++ b/media-tv/kodi/kodi-9999.ebuild |
25 |
@@ -39,7 +39,7 @@ SLOT="0" |
26 |
# use flag is called libusb so that it doesn't fool people in thinking that |
27 |
# it is _required_ for USB support. Otherwise they'll disable udev and |
28 |
# that's going to be worse. |
29 |
-IUSE="airplay alsa bluetooth bluray caps cec +css dav1d dbus dvd gbm gles lcms libressl libusb lirc mariadb mysql nfs +opengl power-control pulseaudio raspberry-pi samba +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf" |
30 |
+IUSE="airplay alsa bluetooth bluray caps cdio cec +css dav1d dbus dvd gbm gles lcms libressl libusb lirc mariadb mysql nfs +opengl power-control pulseaudio raspberry-pi samba +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf" |
31 |
IUSE="${IUSE} cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_arm_neon" |
32 |
REQUIRED_USE=" |
33 |
${PYTHON_REQUIRED_USE} |
34 |
@@ -79,7 +79,7 @@ COMMON_DEPEND="${PYTHON_DEPS} |
35 |
dev-python/pillow[${PYTHON_MULTI_USEDEP}] |
36 |
dev-python/pycryptodome[${PYTHON_MULTI_USEDEP}] |
37 |
') |
38 |
- >=dev-libs/libcdio-2.1.0 |
39 |
+ cdio? ( >=dev-libs/libcdio-2.1.0 ) |
40 |
>=dev-libs/libfmt-6.1.2 |
41 |
dev-libs/libfstrcmp |
42 |
gbm? ( media-libs/mesa[gbm] ) |
43 |
@@ -242,6 +242,7 @@ src_configure() { |
44 |
-DENABLE_BLUETOOTH=$(usex bluetooth) |
45 |
-DENABLE_BLURAY=$(usex bluray) |
46 |
-DENABLE_CCACHE=OFF |
47 |
+ -DENABLE_ISO9660PP=$(usex cdio) |
48 |
-DENABLE_CEC=$(usex cec) |
49 |
-DENABLE_DBUS=$(usex dbus) |
50 |
-DENABLE_DVDCSS=$(usex css) |
51 |
|
52 |
diff --git a/media-tv/kodi/metadata.xml b/media-tv/kodi/metadata.xml |
53 |
index 6ccc882a7d4..ea03825425c 100644 |
54 |
--- a/media-tv/kodi/metadata.xml |
55 |
+++ b/media-tv/kodi/metadata.xml |
56 |
@@ -9,6 +9,7 @@ |
57 |
<flag name="airplay">enable AirPlay support</flag> |
58 |
<flag name="bluray">Enable playback of Blu-ray filesystems</flag> |
59 |
<flag name="caps">Use <pkg>sys-libs/libcap</pkg> to bind to privileged ports as non-root</flag> |
60 |
+ <flag name="cdio">Enable reading of Audio-CD, Video-CD, and CD-ROM disks and images by <pkg>dev-libs/libcdio</pkg></flag> |
61 |
<flag name="cec">Enable support for HDMI-CEC devices via libcec</flag> |
62 |
<flag name="gbm">Use the Graphics Buffer Manager for EGL on KMS.</flag> |
63 |
<flag name="gles">Enable support for GLES</flag> |