From 26faadbb0b707fec5c875279b458920c271da617 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Fri, 13 Oct 2017 15:15:01 +0200 Subject: media-libs/faad2: Bump to version 2.8.6 Package-Manager: Portage-2.3.11, Repoman-2.3.3 --- media-libs/faad2/Manifest | 1 + media-libs/faad2/faad2-2.8.6.ebuild | 52 ++++++++++++++++++++++ .../files/faad2-2.8.5-libmp4ff-shared-lib.patch | 6 ++- 3 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 media-libs/faad2/faad2-2.8.6.ebuild (limited to 'media-libs/faad2') diff --git a/media-libs/faad2/Manifest b/media-libs/faad2/Manifest index 7a2d71818f82..d21a026eb476 100644 --- a/media-libs/faad2/Manifest +++ b/media-libs/faad2/Manifest @@ -1,3 +1,4 @@ DIST faad2-2.7.tar.gz 1137407 SHA256 ee26ed1e177c0cd8fa8458a481b14a0b24ca0b51468c8b4c8b676fd3ceccd330 SHA512 8135370497dfcfee09094a03a4a9545ebc58b9e532b89c5d6e5037042549e12ddb75f8903aa05866afac9fa28df96320f1ed2eebffc0660578e54392a51c1161 WHIRLPOOL 6e30d466e47de0e06751718005573a632c5aa0cd209445c56c25d859f917265452676ce897ac5ad1cd308d411911aaf232bfc50904469f9434b2cc95b6ae928f DIST faad2-2.8.1.tar.gz 802453 SHA256 133270a9be0c9ab8fea18017703ab4a94f9eddbb45a8aa6a511a1469fa413591 SHA512 102271e72b3d2f7f043f89d503ff8bf32c276001510055d8db5d9242fe51004ba727b33180134773fc77b2498ee61fe84a1a8db45705200ce79e4aa06b9da9ee WHIRLPOOL 5303692dcdac21d64ae6db0aa71c5ecbac7550a8227d5ea163374f15ee0433f7221ccb683f67ffa2ffe4dbbe3b8f0bad226cec7a99e264cd8a1022896d60915e DIST faad2-2.8.5.tar.gz 1025674 SHA256 ba7364ba8ff9256abb8aa4af8736f27d0b7eaab51c14ff828cc86aabff33ec65 SHA512 bb3445aa82b18688b32d7ac9983e5fbf47b6c717486e58c711483967cbf3887540e8a57840a76e686eb990eae341496457ec39278f1c62256708b2d5ef4587ae WHIRLPOOL dc5023eee9f6d4c6e55ef7697a2e27c7282bbc48ddf9b8643be975067093f452050534eb8dc041cc03da9c97b4a5020002fab96eff52dfe0284adcb579745ff0 +DIST faad2-2.8.6.tar.gz 1025654 SHA256 654977adbf62eb81f4fca00152aca58ce3b6dd157181b9edd7bed687a7c73f21 SHA512 9b6d7e0277ae6c93a8a799f75e7fa9b9cde6419d61533a4c5ab4335382d0cb01aa0aa2fe0fe727bb94d66fafcfeb1b6871141ab5d8dff49600775ffde5b239b8 WHIRLPOOL fcecff8d68c6493c3fd708f3d553884891ba6ac6e7051cee56773dabcf19dca124863ae3195550fc51812445bb5a154bcda561ab6419553c4e7d3cd3e08963e4 diff --git a/media-libs/faad2/faad2-2.8.6.ebuild b/media-libs/faad2/faad2-2.8.6.ebuild new file mode 100644 index 000000000000..3429665fa71f --- /dev/null +++ b/media-libs/faad2/faad2-2.8.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools ltprune multilib-minimal + +DESCRIPTION="AAC audio decoding library" +HOMEPAGE="http://www.audiocoding.com/faad2.html" +SRC_URI="mirror://sourceforge/faac/${P}.tar.gz" + +LICENSE="GPL-2+" +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" +DOCS=( AUTHORS ChangeLog NEWS README TODO ) +RDEPEND="" +DEPEND="" + +PATCHES=( + "${FILESDIR}"/${PN}-2.8.5-libmp4ff-shared-lib.patch +) + +src_prepare() { + default + + sed -i -e 's:iquote :I:' libfaad/Makefile.am || die + + # bug 466986 + sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die + + eautoreconf +} + +multilib_src_configure() { + local myconf=( + --without-xmms + $(use_with 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_all() { + prune_libtool_files --all + einstalldocs +} diff --git a/media-libs/faad2/files/faad2-2.8.5-libmp4ff-shared-lib.patch b/media-libs/faad2/files/faad2-2.8.5-libmp4ff-shared-lib.patch index 944b5f8bd610..00ae46c0467f 100644 --- a/media-libs/faad2/files/faad2-2.8.5-libmp4ff-shared-lib.patch +++ b/media-libs/faad2/files/faad2-2.8.5-libmp4ff-shared-lib.patch @@ -15,10 +15,12 @@ mp4tagupdate.c mp4ff.h mp4ffint.h --- faad2-2.8.5/frontend/Makefile.am +++ faad2-2.8.5/frontend/Makefile.am -@@ -4,6 +4,7 @@ +@@ -3,7 +3,8 @@ + AM_CPPFLAGS = -I$(top_srcdir)/include - faad_LDADD = $(top_builddir)/libfaad/libfaad.la +-faad_LDADD = $(top_builddir)/libfaad/libfaad.la ++faad_LDADD = $(top_builddir)/libfaad/libfaad.la \ + $(top_builddir)/common/mp4ff/libmp4ff.la faad_SOURCES = mp4read.c audio.c main.c audio.h mp4read.h -- cgit v1.2.3-65-gdbad