summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-09 22:49:34 +0000
committerSam James <sam@gentoo.org>2021-03-09 22:49:44 +0000
commit7209e33f93a917c7ff0ffeba5c25103737a3f3cf (patch)
treea540f55791e9e80b321e023a43c8c375790e2ee1
parentapp-crypt/libmd: rename live ebuild (diff)
downloadgentoo-7209e33f93a917c7ff0ffeba5c25103737a3f3cf.tar.gz
gentoo-7209e33f93a917c7ff0ffeba5c25103737a3f3cf.tar.bz2
gentoo-7209e33f93a917c7ff0ffeba5c25103737a3f3cf.zip
media-libs/libaacplus: update EAPI 6 -> 7
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-libs/libaacplus/libaacplus-2.0.2-r3.ebuild18
1 files changed, 12 insertions, 6 deletions
diff --git a/media-libs/libaacplus/libaacplus-2.0.2-r3.ebuild b/media-libs/libaacplus/libaacplus-2.0.2-r3.ebuild
index 5cc97a7bfb8..6db52835873 100644
--- a/media-libs/libaacplus/libaacplus-2.0.2-r3.ebuild
+++ b/media-libs/libaacplus/libaacplus-2.0.2-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit autotools eutils ltprune multilib-minimal
+inherit autotools multilib-minimal
# This file cannot be mirrored.
# See the notes at http://tipok.org.ua/node/17
@@ -26,9 +26,11 @@ RESTRICT="bindist mirror"
RDEPEND="
!media-sound/aacplusenc
fftw? ( >=sci-libs/fftw-3.3.3-r2:3.0[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
app-arch/unzip
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
PATCHES=(
"${FILESDIR}/${P}-clang-inline-redefinition.patch"
@@ -36,11 +38,15 @@ PATCHES=(
src_prepare() {
default
+
sed \
-e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' \
-i configure.ac || die
+
eautoreconf
+
cp "${DISTDIR}/${TGPPDIST}" src/ || die
+
multilib_copy_sources
}
@@ -55,6 +61,6 @@ multilib_src_compile() {
}
multilib_src_install_all() {
- prune_libtool_files --all
+ find "${ED}" -name '*.la' -delete || die
einstalldocs
}