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.3.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/media-libs/faac/Manifest b/media-libs/faac/Manifest
index 501a1fbaaa91..5e9639743f87 100644
--- a/media-libs/faac/Manifest
+++ b/media-libs/faac/Manifest
@@ -2,3 +2,4 @@ DIST faac-1.28.tar.gz 678891 SHA256 c5141199f4cfb17d749c36ba8cfe4b25f838da67c22f
DIST faac-1.29.4.tar.gz 493035 SHA256 0481d0500bc9ac7c851d0942f2c1a61c81144e1d43ebe402db39aa153d3a7416 SHA512 0e2aa631d6f9fb029b5298c456ffc598a9f77b9d47b60e908c8724fdebec9af295827bbf0954b4eedbbf512dad7698cd6fde62ef9a367763217042cd504e02f5 WHIRLPOOL 173da68d92349d584c07b1b909d6fb11d20f1f7941eacad20d6e5ba2fb87676663e34708bdc31afa8045e29b9581c0fcef2d5cdbcb36415a60aaba04a5b85705
DIST faac-1.29.6.2.tar.gz 494674 SHA256 8beffc640893c765719721354ea915286f914e3e0de265afc2fa730255126692 SHA512 0065def77e90c2343bc57e5b2e78987806ff8ef03a8f600bc5ceaa1ddecd4ffd0f23839498e311e7e6f25517fbcd6d86c6b8f2fe2daf14f81b05097968e4005d WHIRLPOOL e343e045d53b19d1ec0c3ba63c78c6c7edce3f757d2bfebe952242ba62b6a3018e9bb21a03a19797e1201e005cbba7645a36a90dc9dde2d9bc7939536bc020ee
DIST faac-1.29.6.tar.gz 494651 SHA256 632ac9b5b66a702c49769f18a039b147307e34d2931a0a9203f93b2a174e4514 SHA512 83665ead66268dba152271a282a26e22a0f17331d512a5b5e5a40f25ea706e809353ddfbfdc786c944fd2acc072b5494daef7b15fd9f2650b3c45dc17bbf809a WHIRLPOOL 936af26b7d9c90a8dca29b931bc99cf1b3fd088bee02449946f761f7f12afe8886c994d48b67eb2597ca8fd693ca6a981bf64f00954829a8eda06426aa0f5663
+DIST faac-1.29.7.3.tar.gz 497155 SHA256 39a8c2b622b6374362a5e5d2481fdef208f732f4ba4b84038a2c20029e39beb6 SHA512 265aff7d02ec4a9fcc96831ad4f4da943f0bbfc0b08975ad8bd6fca420b1747edb1231f9f29a1dc483e82050351ac5fa464e06b4d03feeb7e8a226b4ea892e0f WHIRLPOOL 3277e058804f6a16d5a11ccfd380269e80eec78d3ca8530ca306481ec15d132dcc8912bf7cbd427470d295fc14a4c8da308ecc1e4ceae9cfade546a0ef61b953
diff --git a/media-libs/faac/faac-1.29.7.3.ebuild b/media-libs/faac/faac-1.29.7.3.ebuild
new file mode 100644
index 000000000000..cd62caf3d01c
--- /dev/null
+++ b/media-libs/faac/faac-1.29.7.3.ebuild
@@ -0,0 +1,55 @@
+# 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
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ docinto html
+ dodoc docs/*.html
+ insinto /usr/share/doc/${PF}/pdf
+ doins docs/libfaac.pdf
+}