Lines 3-9
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/libvpx-1.4.0.ebuild,v 1.5 2015/05/25 04:16:08 jer Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/libvpx-1.4.0.ebuild,v 1.5 2015/05/25 04:16:08 jer Exp $ |
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=5 |
6 |
inherit eutils multilib toolchain-funcs multilib-minimal |
6 |
inherit eutils flag-o-matic multilib toolchain-funcs multilib-minimal |
7 |
|
7 |
|
8 |
LIBVPX_TESTDATA_VER=1.4.0 |
8 |
LIBVPX_TESTDATA_VER=1.4.0 |
9 |
|
9 |
|
Lines 27-33
Link Here
|
27 |
|
27 |
|
28 |
LICENSE="BSD" |
28 |
LICENSE="BSD" |
29 |
SLOT="0/2" |
29 |
SLOT="0/2" |
30 |
IUSE="altivec 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" |
30 |
IUSE="altivec 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 neon static-libs test +threads" |
31 |
|
31 |
|
32 |
RDEPEND="abi_x86_32? ( !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" |
32 |
RDEPEND="abi_x86_32? ( !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" |
33 |
DEPEND="abi_x86_32? ( dev-lang/yasm ) |
33 |
DEPEND="abi_x86_32? ( dev-lang/yasm ) |
Lines 88-98
Link Here
|
88 |
--enable-pic \ |
88 |
--enable-pic \ |
89 |
--enable-vp8 \ |
89 |
--enable-vp8 \ |
90 |
--enable-shared \ |
90 |
--enable-shared \ |
91 |
--extra-cflags="${CFLAGS}" \ |
91 |
--disable-optimizations \ |
92 |
$(use_enable altivec) \ |
92 |
$(use_enable altivec) \ |
93 |
$(use_enable cpu_flags_x86_avx avx) \ |
93 |
$(use_enable cpu_flags_x86_avx avx) \ |
94 |
$(use_enable cpu_flags_x86_avx2 avx2) \ |
94 |
$(use_enable cpu_flags_x86_avx2 avx2) \ |
95 |
$(use_enable cpu_flags_x86_mmx mmx) \ |
95 |
$(use_enable cpu_flags_x86_mmx mmx) \ |
|
|
96 |
$(use_enable neon) \ |
97 |
$(use_enable neon neon_asm) \ |
96 |
$(use_enable postproc) \ |
98 |
$(use_enable postproc) \ |
97 |
$(use cpu_flags_x86_sse2 && use_enable cpu_flags_x86_sse sse || echo --disable-sse) \ |
99 |
$(use cpu_flags_x86_sse2 && use_enable cpu_flags_x86_sse sse || echo --disable-sse) \ |
98 |
$(use_enable cpu_flags_x86_sse2 sse2) \ |
100 |
$(use_enable cpu_flags_x86_sse2 sse2) \ |