commit:     7f32a830078869a0a595f044d4bb004b5537a81d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 22 15:52:08 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 22 15:54:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f32a830

media-video/vlc: Add USE=soxr

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-video/vlc/metadata.xml                                 |  1 +
 media-video/vlc/{vlc-3.0.9999.ebuild => vlc-3.0.1-r1.ebuild} | 10 ++++++----
 media-video/vlc/vlc-3.0.9999.ebuild                          |  8 +++++---
 media-video/vlc/vlc-9999.ebuild                              |  8 +++++---
 4 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/media-video/vlc/metadata.xml b/media-video/vlc/metadata.xml
index dbc125d2a0d..9f898e2ac85 100644
--- a/media-video/vlc/metadata.xml
+++ b/media-video/vlc/metadata.xml
@@ -58,6 +58,7 @@
                <flag name="shout">Enable libshout output</flag>
                <flag name="sid">Adds support for playing C64 SID files through 
<pkg>media-libs/libsidplay</pkg>:2</flag>
                <flag name="skins">Enable support for the skins2 
interface</flag>
+               <flag name="soxr">Enable SoX Resampler support via 
<pkg>media-libs/soxr</pkg></flag>
                <flag name="swscale">Enable image scaling and conversion via 
libswscale (part of FFmpeg)</flag>
                <flag name="tremor">Enable tremor, a fixed-point version of the 
Ogg Vorbis decoder</flag>
                <flag name="twolame">Enable twolame support (MPEG Audio Layer 2 
encoder)</flag>

diff --git a/media-video/vlc/vlc-3.0.9999.ebuild 
b/media-video/vlc/vlc-3.0.1-r1.ebuild
similarity index 97%
copy from media-video/vlc/vlc-3.0.9999.ebuild
copy to media-video/vlc/vlc-3.0.1-r1.ebuild
index b8110319455..f0d7e7c11f2 100644
--- a/media-video/vlc/vlc-3.0.9999.ebuild
+++ b/media-video/vlc/vlc-3.0.1-r1.ebuild
@@ -35,9 +35,9 @@ IUSE="a52 alsa altivec aom archive bidi bluray cddb 
chromaprint chromecast dbus
        libnotify +libsamplerate libtar libtiger linsys lirc live lua 
macosx-notifications
        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
+       run-as-root samba schroedinger sdl-image sftp shout sid skins soxr 
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 )
@@ -170,6 +170,7 @@ RDEPEND="
                x11-libs/libXinerama:0
                x11-libs/libXpm:0
        )
+       soxr? ( media-libs/soxr )
        speex? (
                >=media-libs/speex-1.2.0:0
                media-libs/speexdsp:0
@@ -225,7 +226,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch # build system
        "${FILESDIR}"/${PN}-2.2.4-libav-11.7.patch # bug #593460
        "${FILESDIR}"/${PN}-2.2.8-freerdp-2.patch # bug 590164
-       "${FILESDIR}"/${PN}-3.0.1-qt-5.11.patch # TODO upstream
+       "${FILESDIR}"/${P}-qt-5.11.patch # TODO upstream
 )
 
 DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt )
@@ -363,6 +364,7 @@ src_configure() {
                $(use_enable shout)
                $(use_enable sid)
                $(use_enable skins skins2)
+               $(use_enable soxr)
                $(use_enable speex)
                $(use_enable ssl gnutls)
                $(use_enable svg)

diff --git a/media-video/vlc/vlc-3.0.9999.ebuild 
b/media-video/vlc/vlc-3.0.9999.ebuild
index b8110319455..8645501957e 100644
--- a/media-video/vlc/vlc-3.0.9999.ebuild
+++ b/media-video/vlc/vlc-3.0.9999.ebuild
@@ -35,9 +35,9 @@ IUSE="a52 alsa altivec aom archive bidi bluray cddb 
chromaprint chromecast dbus
        libnotify +libsamplerate libtar libtiger linsys lirc live lua 
macosx-notifications
        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
+       run-as-root samba schroedinger sdl-image sftp shout sid skins soxr 
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 )
@@ -170,6 +170,7 @@ RDEPEND="
                x11-libs/libXinerama:0
                x11-libs/libXpm:0
        )
+       soxr? ( media-libs/soxr )
        speex? (
                >=media-libs/speex-1.2.0:0
                media-libs/speexdsp:0
@@ -363,6 +364,7 @@ src_configure() {
                $(use_enable shout)
                $(use_enable sid)
                $(use_enable skins skins2)
+               $(use_enable soxr)
                $(use_enable speex)
                $(use_enable ssl gnutls)
                $(use_enable svg)

diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild
index c8629221334..e4501326f8a 100644
--- a/media-video/vlc/vlc-9999.ebuild
+++ b/media-video/vlc/vlc-9999.ebuild
@@ -35,9 +35,9 @@ IUSE="a52 alsa altivec aom archive bidi bluray cddb 
chromaprint chromecast dbus
        libnotify +libsamplerate libtar libtiger linsys lirc live lua 
macosx-notifications
        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
+       run-as-root samba schroedinger sdl-image sftp shout sid skins soxr 
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 )
@@ -170,6 +170,7 @@ RDEPEND="
                x11-libs/libXinerama:0
                x11-libs/libXpm:0
        )
+       soxr? ( media-libs/soxr )
        speex? (
                >=media-libs/speex-1.2.0:0
                media-libs/speexdsp:0
@@ -361,6 +362,7 @@ src_configure() {
                $(use_enable shout)
                $(use_enable sid)
                $(use_enable skins skins2)
+               $(use_enable soxr)
                $(use_enable speex)
                $(use_enable ssl gnutls)
                $(use_enable svg)

Reply via email to