diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-07-03 00:28:16 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-07-03 00:28:24 +0200 |
commit | e81a0e49164be29dc46c1d67b410622642166367 (patch) | |
tree | 2422a6cee0eececcab0097791050b58c9893bf3e /media-libs | |
parent | net-im/telegram-desktop: bump to 2.1.17 (diff) | |
download | gentoo-e81a0e49164be29dc46c1d67b410622642166367.tar.gz gentoo-e81a0e49164be29dc46c1d67b410622642166367.tar.bz2 gentoo-e81a0e49164be29dc46c1d67b410622642166367.zip |
media-libs/faad2: Bump to version 2.9.2
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/faad2/Manifest | 1 | ||||
-rw-r--r-- | media-libs/faad2/faad2-2.9.2.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/faad2/Manifest b/media-libs/faad2/Manifest index 610d57b524cc..c4c43d53a9a5 100644 --- a/media-libs/faad2/Manifest +++ b/media-libs/faad2/Manifest @@ -1 +1,2 @@ DIST faad2-2.9.0.tar.gz 802390 BLAKE2B 8cd68f96a48fefcc4d75901ae67607ec4cc4c4a76efae490dcfb3330b384ff91049894af9fccae0b41ca9fd4ef22cdff35c36f11cea1baab4cc96fe1e54749ae SHA512 1756b2672f9e438a56b11160ddc77fc721d85860eaa325a3ff01b51a2524baf4c1c61068a97cbc4e99d47e7643f10e1d6afb997eede3295b44551fe4661fb5dc +DIST faad2-2.9.2.tar.gz 803100 BLAKE2B 093c629b81d976db760f02dc7945ae8caee66e2dc6d859499696e4978d4832c9592c2868bed575a39c778fd62f0b74fe5ee3a17b6ab22ec5c148b0dbcd7946c8 SHA512 996c279a56c6abde13da964b91d4ff87ac4c611e889f1dd59882fa3898093dec68ab0714cf106db10a5e24952e2d6dddc049ec9bf4f07ff68378a705d5debee2 diff --git a/media-libs/faad2/faad2-2.9.2.ebuild b/media-libs/faad2/faad2-2.9.2.ebuild new file mode 100644 index 000000000000..4c6a8bef3075 --- /dev/null +++ b/media-libs/faad2/faad2-2.9.2.ebuild @@ -0,0 +1,52 @@ +# 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- _)" + +DESCRIPTION="AAC audio decoding library" +HOMEPAGE="https://www.audiocoding.com/faad2.html" +SRC_URI="https://github.com/knik0/faad2/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +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" +IUSE="digitalradio static-libs" + +RDEPEND="" +DEPEND="" + +DOCS=( AUTHORS ChangeLog NEWS README TODO ) + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_prepare() { + default + + sed -i -e 's:iquote :I:' libfaad/Makefile.am || 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() { + find "${ED}" -type f -name '*.la' -delete || die + einstalldocs +} |