diff options
author | Craig Andrews <candrews@gentoo.org> | 2021-02-01 15:31:54 -0500 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2021-02-01 15:31:54 -0500 |
commit | 0873ae4038ab53d3372c66ec5adae1f4e585d03c (patch) | |
tree | 50bcad737dffb52324bddc1dbaea5622755a966f /media-tv/kodi | |
parent | media-tv/kodi: dropped unused 'systemd' USE flag (diff) | |
download | gentoo-0873ae4038ab53d3372c66ec5adae1f4e585d03c.tar.gz gentoo-0873ae4038ab53d3372c66ec5adae1f4e585d03c.tar.bz2 gentoo-0873ae4038ab53d3372c66ec5adae1f4e585d03c.zip |
media-tv/kodi: make libcdio optional
Libcdio is an optional Kodi dependency.
Added USE flag to enable/disable it.
Signed-off-by: Evgeny Grin <k2k@narod.ru>
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-tv/kodi')
-rw-r--r-- | media-tv/kodi/kodi-9999.ebuild | 5 | ||||
-rw-r--r-- | media-tv/kodi/metadata.xml | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild index 51e6fec3a0f4..6d2b89873941 100644 --- a/media-tv/kodi/kodi-9999.ebuild +++ b/media-tv/kodi/kodi-9999.ebuild @@ -39,7 +39,7 @@ SLOT="0" # use flag is called libusb so that it doesn't fool people in thinking that # it is _required_ for USB support. Otherwise they'll disable udev and # that's going to be worse. -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" +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" 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" REQUIRED_USE=" ${PYTHON_REQUIRED_USE} @@ -79,7 +79,7 @@ COMMON_DEPEND="${PYTHON_DEPS} dev-python/pillow[${PYTHON_MULTI_USEDEP}] dev-python/pycryptodome[${PYTHON_MULTI_USEDEP}] ') - >=dev-libs/libcdio-2.1.0 + cdio? ( >=dev-libs/libcdio-2.1.0 ) >=dev-libs/libfmt-6.1.2 dev-libs/libfstrcmp gbm? ( media-libs/mesa[gbm] ) @@ -242,6 +242,7 @@ src_configure() { -DENABLE_BLUETOOTH=$(usex bluetooth) -DENABLE_BLURAY=$(usex bluray) -DENABLE_CCACHE=OFF + -DENABLE_ISO9660PP=$(usex cdio) -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 6ccc882a7d45..ea03825425ce 100644 --- a/media-tv/kodi/metadata.xml +++ b/media-tv/kodi/metadata.xml @@ -9,6 +9,7 @@ <flag name="airplay">enable AirPlay support</flag> <flag name="bluray">Enable playback of Blu-ray filesystems</flag> <flag name="caps">Use <pkg>sys-libs/libcap</pkg> to bind to privileged ports as non-root</flag> + <flag name="cdio">Enable reading of Audio-CD, Video-CD, and CD-ROM disks and images by <pkg>dev-libs/libcdio</pkg></flag> <flag name="cec">Enable support for HDMI-CEC devices via libcec</flag> <flag name="gbm">Use the Graphics Buffer Manager for EGL on KMS.</flag> <flag name="gles">Enable support for GLES</flag> |