summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-07-03 01:52:28 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-07-03 01:52:36 +0200
commitd9c9fa0e2726816884316dbd597736d3cb6af7a4 (patch)
tree9c79812c201bc16f59cdb4dc49de0c5ca05dc18b /media-libs/faac
parentgames-util/slade: Add missing gstreamer flag on wxGTK dep (diff)
downloadgentoo-d9c9fa0e2726816884316dbd597736d3cb6af7a4.tar.gz
gentoo-d9c9fa0e2726816884316dbd597736d3cb6af7a4.tar.bz2
gentoo-d9c9fa0e2726816884316dbd597736d3cb6af7a4.zip
media-libs/faac: Bump to version 1.30
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/faac')
-rw-r--r--media-libs/faac/Manifest1
-rw-r--r--media-libs/faac/faac-1.30.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/media-libs/faac/Manifest b/media-libs/faac/Manifest
index 95a79b6be69d..da164472f3ca 100644
--- a/media-libs/faac/Manifest
+++ b/media-libs/faac/Manifest
@@ -1 +1,2 @@
DIST faac-1.29.9.2.tar.gz 483826 BLAKE2B f845e75ec640f2a6ac41ad10dfdf1dbc6a6ddef3cb8cc3fe63450515f888343126cb2ec1df4c4eaaefed3d7d5d56249078f14363fcb9d9484228e9b1754a8b99 SHA512 71aaf060d087e866700a3a7c7d447e85709f65709e148610c4b34f5a3e095fa4a5c19f49450610949fd7db12345422b8a116a1d061899c127ad9a1bc30e79c7c
+DIST faac-1_30.tar.gz 241750 BLAKE2B ee3cf1ad44c14ec289036c9a6f087df3a1cf81c9b0f60b6a2121f5badba3f3cab983001437bb6051ab2306c0e5e14ee8e3c9439116bd82c370f808d912ce2c13 SHA512 8582cd580dba2a347d15dc4fab42020d7120d0552c54ab74cfaf59ba1b270abb94c67e39d42459a14cbc6e98f3fd00cbda589e1b4f0c7278e41bdef6ae7b6554
diff --git a/media-libs/faac/faac-1.30.ebuild b/media-libs/faac/faac-1.30.ebuild
new file mode 100644
index 000000000000..25180e0e80f6
--- /dev/null
+++ b/media-libs/faac/faac-1.30.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools multilib-minimal
+
+MY_PV="$(ver_rs 1 _)"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Free MPEG-4 audio codecs by AudioCoding.com"
+HOMEPAGE="https://www.audiocoding.com"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1 MPEG-4"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+ sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466984
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf --disable-static
+
+ # do not build the frontend for non-native abis
+ if ! multilib_is_native_abi; then
+ sed -i -e 's/frontend//' Makefile || die
+ fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ # no static archives
+ find "${ED}" -type f -name '*.la' -delete || die
+}