diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-14 18:51:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-14 18:51:10 +0000 |
commit | aa44121f587698ace480d5ca16ae9e64fe1b4d0b (patch) | |
tree | 51e169f07cbed2c1aca51f5e6ae3152233d68f27 /media-libs/faad2/faad2-2.10.1.ebuild | |
parent | 7d58bf45ea7b2d8f188fd2aa40484a8c9a3381a7 (diff) |
gentoo auto-resync : 14:11:2022 - 18:51:10
Diffstat (limited to 'media-libs/faad2/faad2-2.10.1.ebuild')
-rw-r--r-- | media-libs/faad2/faad2-2.10.1.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/media-libs/faad2/faad2-2.10.1.ebuild b/media-libs/faad2/faad2-2.10.1.ebuild new file mode 100644 index 000000000000..68078ac34d42 --- /dev/null +++ b/media-libs/faad2/faad2-2.10.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal + +DESCRIPTION="AAC audio decoding library" +HOMEPAGE="https://www.audiocoding.com/faad2.html https://github.com/knik0/faad2/" +SRC_URI="https://github.com/knik0/faad2/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" +IUSE="digitalradio static-libs" + +RDEPEND="" +DEPEND="" + +DOCS=( AUTHORS ChangeLog NEWS README TODO ) + +src_prepare() { + default + + sed -i -e 's:iquote :I:' libfaad/Makefile.am || die + + eautoreconf + + multilib_copy_sources +} + +multilib_src_configure() { + local myconf=( + --without-xmms + $(use_with digitalradio drm) + $(use_enable static-libs static) + ) + + 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 +} |