1 |
commit: 132ec2330862d4305e3d450e08325862a88451b2 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 24 15:12:10 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 24 20:23:51 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=132ec233 |
7 |
|
8 |
media-libs/x265: add USE=cpu_flags_ppc_altivec |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
media-libs/x265/x265-3.3.ebuild | 9 ++++++--- |
14 |
1 file changed, 6 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/media-libs/x265/x265-3.3.ebuild b/media-libs/x265/x265-3.3.ebuild |
17 |
index f5c4fee6d97..a8595e79d05 100644 |
18 |
--- a/media-libs/x265/x265-3.3.ebuild |
19 |
+++ b/media-libs/x265/x265-3.3.ebuild |
20 |
@@ -19,7 +19,7 @@ HOMEPAGE="http://x265.org/ https://bitbucket.org/multicoreware/x265/wiki/Home" |
21 |
LICENSE="GPL-2" |
22 |
# subslot = libx265 soname |
23 |
SLOT="0/188" |
24 |
-IUSE="+asm +10bit +12bit cpu_flags_arm_neon numa pic power8 test" |
25 |
+IUSE="+asm +10bit +12bit cpu_flags_arm_neon cpu_flags_ppc_altivec numa pic power8 test" |
26 |
|
27 |
# Test suite requires assembly support and is known to be broken |
28 |
RESTRICT="test" |
29 |
@@ -128,8 +128,6 @@ multilib_src_configure() { |
30 |
local myabicmakeargs=( |
31 |
$(multilib_is_native_abi || echo "-DENABLE_CLI=OFF") |
32 |
-DENABLE_LIBNUMA=$(usex numa ON OFF) |
33 |
- -DCPU_POWER8=$(usex power8 ON OFF) |
34 |
- -DENABLE_ALTIVEC=$(usex power8 ON OFF) |
35 |
-DLIB_INSTALL_DIR="$(get_libdir)" |
36 |
) |
37 |
|
38 |
@@ -156,6 +154,11 @@ multilib_src_configure() { |
39 |
elif use asm ; then |
40 |
supports_asm=no |
41 |
fi |
42 |
+ elif [[ ${ABI} = ppc* ]] ; then |
43 |
+ myabicmakeargs+=( |
44 |
+ -DCPU_POWER8=$(usex power8 ON OFF) |
45 |
+ -DENABLE_ALTIVEC=$(usex cpu_flags_ppc_altivec ON OFF) |
46 |
+ ) |
47 |
fi |
48 |
|
49 |
if [[ "${supports_asm}" = yes ]] && use asm ; then |