media-libs/libvpx: added USE=svc to 1.5.0 to expose experimental spatial-svc support
authorIan Stakenvicius <axs@gentoo.org>
Mon, 14 Mar 2016 19:17:39 +0000 (15:17 -0400)
committerIan Stakenvicius <axs@gentoo.org>
Mon, 14 Mar 2016 20:07:41 +0000 (16:07 -0400)
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
media-libs/libvpx/metadata.xml

index 1f1c669e2213db1ca2c49121e08b5db4834d76e2..a01a2550b063b1cb05e9b175963ba7dfa390b3b4 100644 (file)
@@ -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) \
index c0c071d55d60a6a4adedcd3e70d4b6e89ff19f5d..59589fd4c9269156ceb410c5c5c3e485844fa1c6 100644 (file)
@@ -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>