summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatoro Mahri <matoro_gentoo@matoro.tk>2023-12-18 20:06:31 -0500
committerSam James <sam@gentoo.org>2023-12-19 05:22:27 +0000
commitd3bf2067f999bae6d29f7e9c63c0a6588104701f (patch)
tree3dad8559267913c0e32237ca874a0940724aa869
parentmedia-libs/kvazaar: add patch to fix tests on big-endian (diff)
downloadgentoo-d3bf2067f999bae6d29f7e9c63c0a6588104701f.tar.gz
gentoo-d3bf2067f999bae6d29f7e9c63c0a6588104701f.tar.bz2
gentoo-d3bf2067f999bae6d29f7e9c63c0a6588104701f.zip
media-libs/libaom: backport cpu_flags_ppc_vsx to 3.6.1
Backport of https://github.com/gentoo/gentoo/commit/e568fd7b95d5d6402883a57505f8bf5e31458fe6 Bug: https://bugs.gentoo.org/908139 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/34361 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-libs/libaom/libaom-3.6.1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/media-libs/libaom/libaom-3.6.1.ebuild b/media-libs/libaom/libaom-3.6.1.ebuild
index f373f7767dca..b0a0ffbf1d9b 100644
--- a/media-libs/libaom/libaom-3.6.1.ebuild
+++ b/media-libs/libaom/libaom-3.6.1.ebuild
@@ -36,7 +36,7 @@ SLOT="0/3"
IUSE="doc +examples test"
IUSE="${IUSE} cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3"
IUSE="${IUSE} cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2"
-IUSE="${IUSE} cpu_flags_arm_neon"
+IUSE="${IUSE} cpu_flags_arm_neon cpu_flags_ppc_vsx"
RESTRICT="!test? ( test )"
REQUIRED_USE="
@@ -84,6 +84,8 @@ multilib_src_configure() {
-DENABLE_SSE4_2=$(usex cpu_flags_x86_sse4_2 ON OFF)
-DENABLE_AVX=$(usex cpu_flags_x86_avx ON OFF)
-DENABLE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF)
+
+ -DENABLE_VSX=$(usex cpu_flags_ppc_vsx ON OFF)
)
# For 32-bit multilib builds, force some intrinsics on to work around