summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/vlc/vlc-9999.ebuild')
-rw-r--r--media-video/vlc/vlc-9999.ebuild19
1 files changed, 14 insertions, 5 deletions
diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild
index ce61f74a3234..c86292213343 100644
--- a/media-video/vlc/vlc-9999.ebuild
+++ b/media-video/vlc/vlc-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 )
@@ -231,6 +232,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)