diff options
-rw-r--r-- | media-libs/x264/x264-0.0.20160712.ebuild | 4 | ||||
-rw-r--r-- | media-libs/x264/x264-9999.ebuild | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/media-libs/x264/x264-0.0.20160712.ebuild b/media-libs/x264/x264-0.0.20160712.ebuild index 859892752858..ee2a5490d74c 100644 --- a/media-libs/x264/x264-0.0.20160712.ebuild +++ b/media-libs/x264/x264-0.0.20160712.ebuild @@ -22,7 +22,7 @@ SONAME="148" SLOT="0/${SONAME}" LICENSE="GPL-2" -IUSE="10bit +interlaced opencl pic static-libs cpu_flags_x86_sse +threads" +IUSE="10bit altivec +interlaced opencl pic static-libs cpu_flags_x86_sse +threads" ASM_DEP=">=dev-lang/yasm-1.2.0" DEPEND="abi_x86_32? ( ${ASM_DEP} ) @@ -38,7 +38,7 @@ multilib_src_configure() { tc-export CC local asm_conf="" - if [[ ${ABI} == x86* ]] && { use pic || use !cpu_flags_x86_sse ; } || [[ ${ABI} == "x32" ]] || [[ ${CHOST} == armv5* ]]; then + if [[ ${ABI} == x86* ]] && { use pic || use !cpu_flags_x86_sse ; } || [[ ${ABI} == "x32" ]] || [[ ${CHOST} == armv5* ]] || [[ ${ABI} == ppc* ]] && { use !altivec ; }; then asm_conf=" --disable-asm" fi diff --git a/media-libs/x264/x264-9999.ebuild b/media-libs/x264/x264-9999.ebuild index ad54c5cdf91b..8cfe28afdd71 100644 --- a/media-libs/x264/x264-9999.ebuild +++ b/media-libs/x264/x264-9999.ebuild @@ -22,7 +22,7 @@ SONAME="148" SLOT="0/${SONAME}" LICENSE="GPL-2" -IUSE="10bit +interlaced opencl pic static-libs cpu_flags_x86_sse +threads" +IUSE="10bit altivec +interlaced opencl pic static-libs cpu_flags_x86_sse +threads" ASM_DEP=">=dev-lang/yasm-1.2.0" DEPEND="abi_x86_32? ( ${ASM_DEP} ) @@ -38,7 +38,7 @@ multilib_src_configure() { tc-export CC local asm_conf="" - if [[ ${ABI} == x86* ]] && { use pic || use !cpu_flags_x86_sse ; } || [[ ${ABI} == "x32" ]] || [[ ${CHOST} == armv5* ]]; then + if [[ ${ABI} == x86* ]] && { use pic || use !cpu_flags_x86_sse ; } || [[ ${ABI} == "x32" ]] || [[ ${CHOST} == armv5* ]] || [[ ${ABI} == ppc* ]] && { use !altivec ; }; then asm_conf=" --disable-asm" fi |