1 |
commit: 0597ad045c450eb468c4500d9ddb05584de70c3d |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 23 15:25:04 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 23 15:25:04 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0597ad04 |
7 |
|
8 |
media-libs/faac: Port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.82, Repoman-2.3.20 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
media-libs/faac/faac-1.29.9.2.ebuild | 27 +++++++++------------------ |
14 |
1 file changed, 9 insertions(+), 18 deletions(-) |
15 |
|
16 |
diff --git a/media-libs/faac/faac-1.29.9.2.ebuild b/media-libs/faac/faac-1.29.9.2.ebuild |
17 |
index 58776bbdaad..8b790a669fc 100644 |
18 |
--- a/media-libs/faac/faac-1.29.9.2.ebuild |
19 |
+++ b/media-libs/faac/faac-1.29.9.2.ebuild |
20 |
@@ -1,9 +1,9 @@ |
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 autotools epunt-cxx multilib-minimal |
28 |
+inherit autotools multilib-minimal |
29 |
|
30 |
DESCRIPTION="Free MPEG-4 audio codecs by AudioCoding.com" |
31 |
HOMEPAGE="https://www.audiocoding.com" |
32 |
@@ -12,34 +12,25 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
33 |
LICENSE="LGPL-2.1 MPEG-4" |
34 |
SLOT="0" |
35 |
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
36 |
-IUSE="static-libs" |
37 |
- |
38 |
-DEPEND="${RDEPEND}" |
39 |
-DOCS=( AUTHORS ChangeLog NEWS README TODO ) |
40 |
|
41 |
src_prepare() { |
42 |
default |
43 |
- |
44 |
sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466984 |
45 |
- |
46 |
eautoreconf |
47 |
- epunt_cxx |
48 |
} |
49 |
|
50 |
multilib_src_configure() { |
51 |
- local myconf=( |
52 |
- $(use_enable static-libs static) |
53 |
- ) |
54 |
+ ECONF_SOURCE="${S}" econf --disable-static |
55 |
|
56 |
- ECONF_SOURCE="${S}" econf ${myconf[@]} |
57 |
- |
58 |
- # do not build the frontend for non default abis |
59 |
- if [ "${ABI}" != "${DEFAULT_ABI}" ] ; then |
60 |
+ # do not build the frontend for non-native abis |
61 |
+ if ! multilib_is_native_abi; then |
62 |
sed -i -e 's/frontend//' Makefile || die |
63 |
fi |
64 |
} |
65 |
|
66 |
-multilib_src_install() { |
67 |
- emake DESTDIR="${D}" install |
68 |
+multilib_src_install_all() { |
69 |
+ einstalldocs |
70 |
+ |
71 |
+ # no static archives |
72 |
find "${D}" -name '*.la' -delete || die |
73 |
} |