summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNP-Hardass <NP-Hardass@gentoo.org>2018-03-01 15:51:02 -0500
committerNP-Hardass <NP-Hardass@gentoo.org>2018-03-01 15:51:02 -0500
commit232f954250b035d44fc0c8a4df5785575b46587a (patch)
tree269379c66c19591e8d72a0bb356e56716e3ab561 /media-video
parentprofiles: arch/{arm,powerpc}/package.use.mask mask microdns for media-video/v... (diff)
downloadgentoo-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')
-rw-r--r--media-video/vlc/metadata.xml1
-rw-r--r--media-video/vlc/vlc-3.0.0-r3.ebuild (renamed from media-video/vlc/vlc-3.0.0-r2.ebuild)19
-rw-r--r--media-video/vlc/vlc-3.0.9999.ebuild19
-rw-r--r--media-video/vlc/vlc-9999.ebuild19
4 files changed, 43 insertions, 15 deletions
diff --git a/media-video/vlc/metadata.xml b/media-video/vlc/metadata.xml
index 318f173252f5..474155e11444 100644
--- a/media-video/vlc/metadata.xml
+++ b/media-video/vlc/metadata.xml
@@ -41,6 +41,7 @@
<flag name="macosx-quartztext">Enable Mac OS X quartz text module</flag>
<flag name="macosx-qtkit">Enable Mac OS X qtkit module: qtcapture (video) and qtsound (audio) module</flag>
<flag name="matroska">Enable matroska support using reference libraries (fallback on other existing matroska support if disabled, i.e., matroska enabled FFmpeg)</flag>
+ <flag name="microdns">Enable Chromecast auto-detection using <pkg>net-libs/microdns</pkg></flag>
<flag name="mpeg">Add libmpeg2 support for mpeg-1 and mpeg-2 video streams</flag>
<flag name="nfs">Enable support for nfs protocol via <pkg>net-fs/libnfs</pkg></flag>
<flag name="omxil">Enable OpenMAX Integration Layer codec module</flag>
diff --git a/media-video/vlc/vlc-3.0.0-r2.ebuild b/media-video/vlc/vlc-3.0.0-r3.ebuild
index 248cb95f3cda..3793d2b5b099 100644
--- a/media-video/vlc/vlc-3.0.0-r2.ebuild
+++ b/media-video/vlc/vlc-3.0.0-r3.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="
bidi? ( truetype )
@@ -126,6 +126,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 )
@@ -226,6 +227,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
@@ -320,6 +328,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)
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)
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)