diff options
Diffstat (limited to 'media-libs/faac')
-rw-r--r-- | media-libs/faac/Manifest | 2 | ||||
-rw-r--r-- | media-libs/faac/faac-1.29.9.2.ebuild | 27 |
2 files changed, 10 insertions, 19 deletions
diff --git a/media-libs/faac/Manifest b/media-libs/faac/Manifest index 979e4a439bb5..f7ebd8c13e01 100644 --- a/media-libs/faac/Manifest +++ b/media-libs/faac/Manifest @@ -1,3 +1,3 @@ DIST faac-1.29.9.2.tar.gz 483826 BLAKE2B f845e75ec640f2a6ac41ad10dfdf1dbc6a6ddef3cb8cc3fe63450515f888343126cb2ec1df4c4eaaefed3d7d5d56249078f14363fcb9d9484228e9b1754a8b99 SHA512 71aaf060d087e866700a3a7c7d447e85709f65709e148610c4b34f5a3e095fa4a5c19f49450610949fd7db12345422b8a116a1d061899c127ad9a1bc30e79c7c -EBUILD faac-1.29.9.2.ebuild 1083 BLAKE2B 4d8845676557c15602a3f75f99b7efe0234226baf6a1f13332c54da27a5a48de5056b946bcb1022d1cb5211d83bb157649269a546149903707adc6c2d4d844b3 SHA512 45fc486a8c3fe9e6700e9eeb8ee5f1b56e902f3b9ee85c4fb7c88bc5e543c1eee08500df7ff0247f346bd97b02626ec83d563caac202dade1aedde1e1ea51fe5 +EBUILD faac-1.29.9.2.ebuild 926 BLAKE2B 1590d0a13afb4d7708e7d4e696f0164ce86536129c0215669e059ce3706ea4d6537bef624b22b8a1a5b9e52e7b0fa5445cd3fc9e66bb689911710c6a1088d2f8 SHA512 e6662cb4d46acd8657d62a1f8ae3be48e277a61176ea248e3ce5a03a2b624669d89fe59f9de5a32b084603334a27d65b78ffb0f678957e4313cb0fea1c8d008a MISC metadata.xml 327 BLAKE2B 3c3eabbf763b0f521edb87c8d91f43a9e64c22c2ef6b86d4b95b997208a5d575f55575cc97d2c2caf3b759cbfbba7ce91377cba0121dca9f7b1a18cdab7e0162 SHA512 a323b91cffc6e960e52f3aac94763767ba428361b736e635ddc6eaee7dab9bacc36cee8bbd38c4887f3243f3f060707f3533b1c4e4be49d14ba1f602e7bf6f80 diff --git a/media-libs/faac/faac-1.29.9.2.ebuild b/media-libs/faac/faac-1.29.9.2.ebuild index 58776bbdaad1..8b790a669fc9 100644 --- a/media-libs/faac/faac-1.29.9.2.ebuild +++ b/media-libs/faac/faac-1.29.9.2.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit autotools epunt-cxx multilib-minimal +inherit autotools multilib-minimal DESCRIPTION="Free MPEG-4 audio codecs by AudioCoding.com" HOMEPAGE="https://www.audiocoding.com" @@ -12,34 +12,25 @@ 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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" -IUSE="static-libs" - -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 static-libs static) - ) + ECONF_SOURCE="${S}" econf --disable-static - ECONF_SOURCE="${S}" econf ${myconf[@]} - - # do not build the frontend for non default abis - if [ "${ABI}" != "${DEFAULT_ABI}" ] ; then + # do not build the frontend for non-native abis + if ! multilib_is_native_abi; then sed -i -e 's/frontend//' Makefile || die fi } -multilib_src_install() { - emake DESTDIR="${D}" install +multilib_src_install_all() { + einstalldocs + + # no static archives find "${D}" -name '*.la' -delete || die } |