diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-10-03 22:55:38 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-10-03 22:59:44 +0200 |
commit | 0f8e8b29e14d9fcdcd63aa7262f8dff8dbbec6aa (patch) | |
tree | 4132894f264ed7505b28127b51165980ea8e5435 /media-libs | |
parent | media-libs/faac: Removed old. (diff) | |
download | gentoo-0f8e8b29e14d9fcdcd63aa7262f8dff8dbbec6aa.tar.gz gentoo-0f8e8b29e14d9fcdcd63aa7262f8dff8dbbec6aa.tar.bz2 gentoo-0f8e8b29e14d9fcdcd63aa7262f8dff8dbbec6aa.zip |
media-libs/faad2: Bump to version 2.8.5
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/faad2/Manifest | 1 | ||||
-rw-r--r-- | media-libs/faad2/faad2-2.8.5.ebuild | 52 | ||||
-rw-r--r-- | media-libs/faad2/files/faad2-2.8.5-libmp4ff-shared-lib.patch | 25 |
3 files changed, 78 insertions, 0 deletions
diff --git a/media-libs/faad2/Manifest b/media-libs/faad2/Manifest index 476a3adb6aac..7a2d71818f82 100644 --- a/media-libs/faad2/Manifest +++ b/media-libs/faad2/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/media-libs/faad2/faad2-2.8.5.ebuild b/media-libs/faad2/faad2-2.8.5.ebuild new file mode 100644 index 000000000000..3429665fa71f --- /dev/null +++ b/media-libs/faad2/faad2-2.8.5.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 new file mode 100644 index 000000000000..944b5f8bd610 --- /dev/null +++ b/media-libs/faad2/files/faad2-2.8.5-libmp4ff-shared-lib.patch @@ -0,0 +1,25 @@ +--- faad2-2.8.5/common/mp4ff/Makefile.am ++++ faad2-2.8.5/common/mp4ff/Makefile.am +@@ -1,7 +1,8 @@ +-noinst_LIBRARIES = libmp4ff.a +-noinst_HEADERS = mp4ff.h mp4ffint.h ++lib_LTLIBRARIES = libmp4ff.la ++include_HEADERS = mp4ff.h mp4ffint.h + +-libmp4ff_a_CFLAGS = -DUSE_TAGGING=1 ++AM_CFLAGS = -DUSE_TAGGING=1 + +-libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \ ++libmp4ff_la_LDFLAGS = -version-info 0:0:0 ++libmp4ff_la_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \ + mp4tagupdate.c mp4ff.h mp4ffint.h +--- faad2-2.8.5/frontend/Makefile.am ++++ faad2-2.8.5/frontend/Makefile.am +@@ -4,6 +4,7 @@ + AM_CPPFLAGS = -I$(top_srcdir)/include + + 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 + |