From: Craig Andrews Date: Thu, 16 Apr 2020 16:21:03 +0000 (-0400) Subject: media-tv/kodi: Add udf support X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7a4cd461c278d7e0f70d13dc71ca87a710f6c971;p=gentoo.git media-tv/kodi: Add udf support See: https://github.com/xbmc/xbmc/commit/9cd808e Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Craig Andrews --- diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild index fb8da11b53f7..d61653edb853 100644 --- a/media-tv/kodi/kodi-9999.ebuild +++ b/media-tv/kodi/kodi-9999.ebuild @@ -39,12 +39,13 @@ 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 pulseaudio raspberry-pi samba systemd +system-ffmpeg test +udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf" +IUSE="airplay alsa bluetooth bluray caps cec +css dbus dvd gbm gles lcms libressl libusb lirc mariadb mysql nfs +opengl 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 ) ^^ ( gbm raspberry-pi wayland X ) ?? ( mariadb mysql ) + bluray? ( udf ) udev? ( !libusb ) udisks? ( dbus ) upower? ( dbus ) @@ -110,6 +111,7 @@ COMMON_DEPEND="${PYTHON_DEPS} pulseaudio? ( media-sound/pulseaudio ) samba? ( >=net-fs/samba-3.4.6[smbclient(+)] ) >=sys-libs/zlib-1.2.11 + udf? ( >=dev-libs/libudfread-1.0.0 ) udev? ( virtual/udev ) vaapi? ( x11-libs/libva:= @@ -228,6 +230,7 @@ src_configure() { -DENABLE_INTERNAL_FFMPEG="$(usex !system-ffmpeg)" -DENABLE_INTERNAL_FSTRCMP=OFF -DENABLE_INTERNAL_GTEST=OFF + -DENABLE_INTERNAL_UDFREAD=OFF -DENABLE_CAP=$(usex caps) -DENABLE_LCMS2=$(usex lcms) -DENABLE_LIRCCLIENT=$(usex lirc) @@ -243,6 +246,7 @@ src_configure() { -DENABLE_SMBCLIENT=$(usex samba) -DENABLE_TESTING=$(usex test) -DENABLE_UDEV=$(usex udev) + -DENABLE_UDFREAD=$(usex udf) -DENABLE_UPNP=$(usex upnp) -DENABLE_VAAPI=$(usex vaapi) -DENABLE_VDPAU=$(usex vdpau) diff --git a/media-tv/kodi/metadata.xml b/media-tv/kodi/metadata.xml index 269b8bfc2c46..1fa46eccbfd6 100644 --- a/media-tv/kodi/metadata.xml +++ b/media-tv/kodi/metadata.xml @@ -18,6 +18,7 @@ Enable support for the Raspberry Pi Use system ffmpeg instead of the bundled one Use virtual/libusb for usb device hotplug support. This flag should only be enabled if you're running a non-Linux kernel or you don't want to use sys-fs/udev. + Enable UDF support. Required for playing blurays. Use sys-fs/udev rules to handle devices' permissions and hotplug support. Unless you know what you're doing do not disable this flag on Linux kernels. This is provided as an option for completeness. Enable internal webserver Enable XSLT support using dev-libs/libxslt