1 |
commit: be923f59cb9d22532d382767d82bb73e14f3d451 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 16 16:35:07 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 16 17:05:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be923f59 |
7 |
|
8 |
media-libs/libaom: EAPI-7 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.60, Repoman-2.3.12 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-libs/libaom/libaom-9999.ebuild | 23 ++++++++++------------- |
14 |
1 file changed, 10 insertions(+), 13 deletions(-) |
15 |
|
16 |
diff --git a/media-libs/libaom/libaom-9999.ebuild b/media-libs/libaom/libaom-9999.ebuild |
17 |
index 18d07c79973..67f5b2163dd 100644 |
18 |
--- a/media-libs/libaom/libaom-9999.ebuild |
19 |
+++ b/media-libs/libaom/libaom-9999.ebuild |
20 |
@@ -1,7 +1,8 @@ |
21 |
# Copyright 1999-2019 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=6 |
25 |
+EAPI=7 |
26 |
+ |
27 |
inherit cmake-multilib |
28 |
|
29 |
if [[ ${PV} == *9999* ]]; then |
30 |
@@ -28,8 +29,12 @@ IUSE="doc examples" |
31 |
IUSE="${IUSE} cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_avx cpu_flags_x86_avx2" |
32 |
IUSE="${IUSE} cpu_flags_arm_neon" |
33 |
|
34 |
-RDEPEND="" |
35 |
-DEPEND="abi_x86_32? ( dev-lang/yasm ) |
36 |
+REQUIRED_USE=" |
37 |
+ cpu_flags_x86_sse2? ( cpu_flags_x86_mmx ) |
38 |
+ cpu_flags_x86_ssse3? ( cpu_flags_x86_sse2 ) |
39 |
+" |
40 |
+ |
41 |
+BDEPEND="abi_x86_32? ( dev-lang/yasm ) |
42 |
abi_x86_64? ( dev-lang/yasm ) |
43 |
abi_x86_x32? ( dev-lang/yasm ) |
44 |
x86-fbsd? ( dev-lang/yasm ) |
45 |
@@ -37,11 +42,6 @@ DEPEND="abi_x86_32? ( dev-lang/yasm ) |
46 |
doc? ( app-doc/doxygen ) |
47 |
" |
48 |
|
49 |
-REQUIRED_USE=" |
50 |
- cpu_flags_x86_sse2? ( cpu_flags_x86_mmx ) |
51 |
- cpu_flags_x86_ssse3? ( cpu_flags_x86_sse2 ) |
52 |
-" |
53 |
- |
54 |
PATCHES=( "${FILESDIR}/pthread_lib2.patch" ) |
55 |
|
56 |
multilib_src_configure() { |
57 |
@@ -63,16 +63,13 @@ multilib_src_configure() { |
58 |
-DENABLE_SSE4_1=$(usex cpu_flags_x86_sse4_1 ON OFF) |
59 |
-DENABLE_AVX=$(usex cpu_flags_x86_avx ON OFF) |
60 |
-DENABLE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF) |
61 |
- |
62 |
- -DBUILD_SHARED_LIBS=ON |
63 |
) |
64 |
cmake-utils_src_configure |
65 |
} |
66 |
|
67 |
multilib_src_install() { |
68 |
- cmake-utils_src_install |
69 |
if multilib_is_native_abi && use doc ; then |
70 |
- docinto html |
71 |
- dodoc docs/html/* |
72 |
+ local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. ) |
73 |
fi |
74 |
+ cmake-utils_src_install |
75 |
} |