diff options
author | NP-Hardass <NP-Hardass@gentoo.org> | 2018-03-01 15:51:02 -0500 |
---|---|---|
committer | NP-Hardass <NP-Hardass@gentoo.org> | 2018-03-01 15:51:02 -0500 |
commit | 232f954250b035d44fc0c8a4df5785575b46587a (patch) | |
tree | 269379c66c19591e8d72a0bb356e56716e3ab561 /media-video/vlc/vlc-3.0.9999.ebuild | |
parent | profiles: arch/{arm,powerpc}/package.use.mask mask microdns for media-video/v... (diff) | |
download | gentoo-232f954250b035d44fc0c8a4df5785575b46587a.tar.gz gentoo-232f954250b035d44fc0c8a4df5785575b46587a.tar.bz2 gentoo-232f954250b035d44fc0c8a4df5785575b46587a.zip |
media-video/vlc: Fix chromecast auto-detection
Chromecasts will now be autodetected when using USE=microdns to provide
Chromecast mdns support. Autodetected Chromecasts display in the
Playback->Renderer submenu.
Closes: https://bugs.gentoo.org/647668
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-video/vlc/vlc-3.0.9999.ebuild')
-rw-r--r-- | media-video/vlc/vlc-3.0.9999.ebuild | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/media-video/vlc/vlc-3.0.9999.ebuild b/media-video/vlc/vlc-3.0.9999.ebuild index 5fca81c28a22..afb90b0cb92b 100644 --- a/media-video/vlc/vlc-3.0.9999.ebuild +++ b/media-video/vlc/vlc-3.0.9999.ebuild @@ -33,11 +33,11 @@ IUSE="a52 alsa altivec aom archive bidi bluray cddb chromaprint chromecast dbus debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac fluidsynth fontconfig +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate libass libav libcaca libnotify +libsamplerate libtar libtiger linsys lirc live lua macosx-notifications - macosx-qtkit matroska modplug mp3 mpeg mtp musepack ncurses neon nfs ogg omxil opencv - optimisememory opus png postproc projectm pulseaudio +qt5 rdp rtsp run-as-root - samba schroedinger sdl-image sftp shout sid skins speex ssl svg taglib theora tremor - truetype twolame udev upnp vaapi v4l vcd vdpau vnc vorbis vpx wayland wma-fixed +X - x264 x265 xml zeroconf zvbi cpu_flags_x86_mmx cpu_flags_x86_sse + macosx-qtkit matroska microdns modplug mp3 mpeg mtp musepack ncurses neon nfs ogg + omxil opencv optimisememory opus png postproc projectm pulseaudio +qt5 rdp rtsp + run-as-root samba schroedinger sdl-image sftp shout sid skins speex ssl svg taglib + theora tremor truetype twolame udev upnp vaapi v4l vcd vdpau vnc vorbis vpx wayland + wma-fixed +X x264 x265 xml zeroconf zvbi cpu_flags_x86_mmx cpu_flags_x86_sse " REQUIRED_USE=" chromecast? ( encode ) @@ -130,6 +130,7 @@ RDEPEND=" dev-libs/libebml:0= media-libs/libmatroska:0= ) + microdns? ( >=net-libs/libmicrodns-0.0.9:= ) modplug? ( media-libs/libmodplug:0 ) mp3? ( media-libs/libmad:0 ) mpeg? ( media-libs/libmpeg2:0 ) @@ -230,6 +231,13 @@ DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt ) S="${WORKDIR}/${MY_P}" +pkg_pretend() { + # https://bugs.gentoo.org/647668 + if use chromecast && ! use microdns; then + einfo "USE=microdns is required for Chromecast autodetection support" + fi +} + src_prepare() { default @@ -325,6 +333,7 @@ src_configure() { $(use_enable lua) $(use_enable macosx-notifications osx-notifications) $(use_enable macosx-qtkit) + $(use_enable microdns) $(use_enable modplug mod) $(use_enable mp3 mad) $(use_enable mpeg libmpeg2) |