summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2021-02-01 11:02:42 -0500
committerCraig Andrews <candrews@gentoo.org>2021-02-01 11:07:22 -0500
commite95f6800dc9b70a7b83ad57ae65b4b9281e567e2 (patch)
tree42f8667b8cfaa76f8bb13ba7bfba0bb1515f6cb3 /media-tv
parentmedia-tv/kodi: fixed defines (diff)
downloadgentoo-e95f6800dc9b70a7b83ad57ae65b4b9281e567e2.tar.gz
gentoo-e95f6800dc9b70a7b83ad57ae65b4b9281e567e2.tar.bz2
gentoo-e95f6800dc9b70a7b83ad57ae65b4b9281e567e2.zip
media-tv/kodi: made dav1d optional
dav1d is an option lib for Kodi. Added USE flag and fixed dependencies. Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Evgeny Grin <k2k@narod.ru> Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/kodi/kodi-9999.ebuild6
-rw-r--r--media-tv/kodi/metadata.xml1
2 files changed, 4 insertions, 3 deletions
diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild
index 9c046b5a760a..7a4496c95048 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 dbus dvd gbm gles lcms libressl libusb lirc mariadb mysql nfs +opengl power-control pulseaudio raspberry-pi samba systemd +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf"
+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 systemd +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
|| ( gles opengl )
@@ -89,17 +89,17 @@ COMMON_DEPEND="${PYTHON_DEPS}
libusb? ( virtual/libusb:1 )
virtual/ttf-fonts
media-fonts/roboto
- media-libs/dav1d
>=media-libs/fontconfig-2.13.1
>=media-libs/freetype-2.10.1
>=media-libs/libass-0.13.4
!raspberry-pi? ( media-libs/mesa[egl] )
>=media-libs/taglib-1.11.1
system-ffmpeg? (
- >=media-video/ffmpeg-${FFMPEG_VERSION}:=[dav1d,encode,postproc]
+ >=media-video/ffmpeg-${FFMPEG_VERSION}:=[dav1d?,encode,postproc]
libressl? ( media-video/ffmpeg[libressl,-openssl] )
!libressl? ( media-video/ffmpeg[-libressl,openssl] )
)
+ !system-ffmpeg? ( dav1d? ( media-libs/dav1d ) )
mysql? ( dev-db/mysql-connector-c:= )
mariadb? ( dev-db/mariadb-connector-c:= )
>=net-misc/curl-7.68.0[http2]
diff --git a/media-tv/kodi/metadata.xml b/media-tv/kodi/metadata.xml
index f84adbed50be..07f7b8ff46c3 100644
--- a/media-tv/kodi/metadata.xml
+++ b/media-tv/kodi/metadata.xml
@@ -13,6 +13,7 @@
<flag name="gles">Enable support for GLES</flag>
<flag name="lirc">Enable support for controlling Totem with a remote control using <pkg>app-misc/lirc</pkg></flag>
<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="dvd">Enable optical (CD/DVD drive) support</flag>
<flag name="power-control">Enable control of shutdown, reboot, suspend, and hibernate</flag>