summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/faac')
-rw-r--r--media-libs/faac/Manifest1
-rw-r--r--media-libs/faac/faac-1.29.7.7.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/media-libs/faac/Manifest b/media-libs/faac/Manifest
index 183b4473855d..88df30f2da9a 100644
--- a/media-libs/faac/Manifest
+++ b/media-libs/faac/Manifest
@@ -1,3 +1,4 @@
DIST faac-1.28.tar.gz 678891 SHA256 c5141199f4cfb17d749c36ba8cfe4b25f838da67c22f0fec40228b6b9c3d19df SHA512 0ef721ad28835e95cad41afc0cb6130e1ebb634cb6dd4b40f649bc2269b7bb5bf2887f6d8f023c74628d521f8bdf55b4dd070f972ecff162a5fe0384e026235b WHIRLPOOL fe56f3c2b40670f03e0c1880b253d7f0cc6e318c0b407f4e57fb7eaeac8692c6de9829402e670ddc0f397396935131ade0f8dadfc89b88fcdedecbf404e1b54e
DIST faac-1.29.7.3.tar.gz 497155 SHA256 39a8c2b622b6374362a5e5d2481fdef208f732f4ba4b84038a2c20029e39beb6 SHA512 265aff7d02ec4a9fcc96831ad4f4da943f0bbfc0b08975ad8bd6fca420b1747edb1231f9f29a1dc483e82050351ac5fa464e06b4d03feeb7e8a226b4ea892e0f WHIRLPOOL 3277e058804f6a16d5a11ccfd380269e80eec78d3ca8530ca306481ec15d132dcc8912bf7cbd427470d295fc14a4c8da308ecc1e4ceae9cfade546a0ef61b953
DIST faac-1.29.7.4.tar.gz 488685 SHA256 374e0a2c166e4c67cc049e6b76b0158ba881156b9c428142104340fb7fcf6abc SHA512 b9f812cf4075ce7ad11833dff19bf6a8ebed5a0d73e0472b1d9798e2764b43e19a55689a6ec0fca86742bb3f62ca1bde21747386816d3d4c45f08e3c558b69d4 WHIRLPOOL 027f919f85d354f7991e778377dafcbad517d45b6599a1fded0a814a4578162e6f21019b58826cbf2a6767d15f3994a68ad2d11b44c006e77880c139e64792d1
+DIST faac-1.29.7.7.tar.gz 477124 SHA256 b898fcf55e7b52f964ee62d077f56fe9b3b35650e228f006fbef4ce903b4d731 SHA512 4461e5ee8dc3e6045e348a1ce50aa2df878aceffdc242fe256853f11f22e4895236bc64e3bbe89aad9c5a806d27368ed9e134699ee739225f407846ff2ebe2b8 WHIRLPOOL 496cc5a1e4f1955d4cd39255f4967ac263724800643eb7bb949b563c44d8ca137db1e2a34a6ce5f53c88566c9494027ed9936804e01cf71e18ba993e9a18b12a
diff --git a/media-libs/faac/faac-1.29.7.7.ebuild b/media-libs/faac/faac-1.29.7.7.ebuild
new file mode 100644
index 000000000000..4dfb024938ef
--- /dev/null
+++ b/media-libs/faac/faac-1.29.7.7.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+# eutils for einstalldocs
+inherit autotools epatch epunt-cxx eutils ltprune multilib-minimal
+
+DESCRIPTION="Free MPEG-4 audio codecs by AudioCoding.com"
+HOMEPAGE="http://www.audiocoding.com"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1 MPEG-4"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="digitalradio static-libs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_prepare() {
+ default
+
+ sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466984
+
+ eautoreconf
+ epunt_cxx
+}
+
+multilib_src_configure() {
+ local myconf=(
+ $(use_enable digitalradio drm)
+ $(use_enable static-libs static)
+ )
+
+ ECONF_SOURCE="${S}" econf ${myconf[@]}
+
+ # do not build the frontend for non default abis
+ if [ "${ABI}" != "${DEFAULT_ABI}" ] ; then
+ sed -i -e 's/frontend//' Makefile || die
+ fi
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+ prune_libtool_files
+}