media-video/ffmpeg: add cpu_flags_ppc_vsx to live ebuild
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Mon, 16 Mar 2020 02:23:36 +0000 (19:23 -0700)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Wed, 25 Mar 2020 05:23:17 +0000 (22:23 -0700)
on behalf of ppc64 team

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
media-video/ffmpeg/ffmpeg-9999.ebuild

index bbe26ea07988c8312538fc60e36373642de2e283..9328f10bb9b6ecbc0d9d1445a6a691b9b5d72d36 100644 (file)
@@ -127,7 +127,8 @@ ARM_CPU_REQUIRED_USE="
        cpu_flags_arm_v6? ( cpu_flags_arm_thumb )
 "
 MIPS_CPU_FEATURES=( mipsdspr1:mipsdsp mipsdspr2 mipsfpu )
-PPC_CPU_FEATURES=( cpu_flags_ppc_altivec:altivec )
+PPC_CPU_FEATURES=( cpu_flags_ppc_altivec:altivec cpu_flags_ppc_vsx:vsx )
+PPC_CPU_REQUIRED_USE="cpu_flags_ppc_vsx? ( cpu_flags_ppc_altivec )"
 X86_CPU_FEATURES_RAW=( 3dnow:amd3dnow 3dnowext:amd3dnowext aes:aesni avx:avx avx2:avx2 fma3:fma3 fma4:fma4 mmx:mmx mmxext:mmxext sse:sse sse2:sse2 sse3:sse3 ssse3:ssse3 sse4_1:sse4 sse4_2:sse42 xop:xop )
 X86_CPU_FEATURES=( ${X86_CPU_FEATURES_RAW[@]/#/cpu_flags_x86_} )
 X86_CPU_REQUIRED_USE="
@@ -159,6 +160,7 @@ IUSE="${IUSE}
 
 CPU_REQUIRED_USE="
        ${ARM_CPU_REQUIRED_USE}
+       ${PPC_CPU_REQUIRED_USE}
        ${X86_CPU_REQUIRED_USE}
 "