commit:     f6b58c711fe9c1e972b9f35d5b84d1c9ed4aa556
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 14 19:17:39 2016 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Mon Mar 14 20:07:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6b58c71

media-libs/libvpx: added USE=svc to 1.5.0 to expose experimental spatial-svc 
support

Spatial-svc support is needed to allow chromium-49 and firefox-46 and above to 
use system libvpx.
Note that libvpx-1.3.0 seems to already expose this, however libvpx-1.4.0 fails 
to build.

Committed with a nod from floppym

Package-Manager: portage-2.2.26

 media-libs/libvpx/libvpx-1.5.0.ebuild | 3 ++-
 media-libs/libvpx/metadata.xml        | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-libs/libvpx/libvpx-1.5.0.ebuild 
b/media-libs/libvpx/libvpx-1.5.0.ebuild
index 1f1c669..a01a255 100644
--- a/media-libs/libvpx/libvpx-1.5.0.ebuild
+++ b/media-libs/libvpx/libvpx-1.5.0.ebuild
@@ -27,7 +27,7 @@ HOMEPAGE="http://www.webmproject.org";
 
 LICENSE="BSD"
 SLOT="0/3"
-IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 doc cpu_flags_x86_mmx postproc 
cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 
cpu_flags_x86_sse4_1 static-libs test +threads"
+IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 doc cpu_flags_x86_mmx postproc 
cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 
cpu_flags_x86_sse4_1 static-libs svc test +threads"
 
 RDEPEND="abi_x86_32? ( !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] 
)"
 DEPEND="abi_x86_32? ( dev-lang/yasm )
@@ -100,6 +100,7 @@ multilib_src_configure() {
                $(use_enable cpu_flags_x86_sse3 sse3) \
                $(use_enable cpu_flags_x86_sse4_1 sse4_1) \
                $(use_enable cpu_flags_x86_ssse3 ssse3) \
+               $(use_enable svc experimental) $(use_enable svc spatial-svc) \
                $(use_enable static-libs static) \
                $(use_enable test unit-tests) \
                $(use_enable threads multithread) \

diff --git a/media-libs/libvpx/metadata.xml b/media-libs/libvpx/metadata.xml
index c0c071d..59589fd 100644
--- a/media-libs/libvpx/metadata.xml
+++ b/media-libs/libvpx/metadata.xml
@@ -10,6 +10,7 @@
        </maintainer>
        <use>
                <flag name="postproc">Enable additional post processing 
filters</flag>
+               <flag name="svc">Enable spatial-svc support 
(experimental)</flag>
        </use>
        <upstream>
                <remote-id type="google-code">webm</remote-id>

Reply via email to