diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-10-14 14:41:13 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-10-14 14:48:59 +0200 |
commit | 7fd5bddf325bf91fd53317d23d6322d8444fdca3 (patch) | |
tree | 0113219c74ee410295a248eb16995833c3f896e9 /media-sound | |
parent | media-sound/grip: Removed old (diff) | |
download | gentoo-7fd5bddf325bf91fd53317d23d6322d8444fdca3.tar.gz gentoo-7fd5bddf325bf91fd53317d23d6322d8444fdca3.tar.bz2 gentoo-7fd5bddf325bf91fd53317d23d6322d8444fdca3.zip |
media-sound/twolame: Bump to version 0.4.0
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/twolame/Manifest | 1 | ||||
-rw-r--r-- | media-sound/twolame/twolame-0.4.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/media-sound/twolame/Manifest b/media-sound/twolame/Manifest index d1a72508bca7..1ae373c260eb 100644 --- a/media-sound/twolame/Manifest +++ b/media-sound/twolame/Manifest @@ -1 +1,2 @@ DIST twolame-0.3.13.tar.gz 660415 BLAKE2B 741e91983546241b984ce95ef3b1c3b00ff2c1e84f496961749b13b932a1c3fdcd44a3fde3a24e44d9a3ff9e859e64780ad60949f827d986608c51c1afe44912 SHA512 241ae5faebf05cb919959bb0545cb89e9b71cfb07f92a7118d864499ea4f0065ddaa646ab1482ffbcbca427d52c2436764074bd67fd19a1eb9979987f23163f7 +DIST twolame-0.4.0.tar.gz 890908 BLAKE2B f61a49aed06dcd2a60744dd758b480670f14f0eece0586b62a0b21fe2d9ff8280f8f7324b7daf88e85675c6200a1c68815ddd6bafa308b503a52df4552031bb1 SHA512 cc594bc8d2322922280f915a3c0aa52540cca0350d6498bc96f3f60fd6e53f951e775ea015a44bdb29ec883b46b31a0e5483f6a5c188b02e30008289273c7d03 diff --git a/media-sound/twolame/twolame-0.4.0.ebuild b/media-sound/twolame/twolame-0.4.0.ebuild new file mode 100644 index 000000000000..55cbdaee2d26 --- /dev/null +++ b/media-sound/twolame/twolame-0.4.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal + +DESCRIPTION="An optimised MPEG Audio Layer 2 (MP2) encoder" +HOMEPAGE="http://www.twolame.org" +SRC_URI="mirror://sourceforge/${PN}/${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="sndfile static-libs test" + +RDEPEND="sndfile? ( >=media-libs/libsndfile-1.0.25[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" +RESTRICT="test" + +src_prepare() { + sed -i -e '/CFLAGS/s:-O3::' configure || die + # remove -Werror, bug 493940 + sed -i -e '/WARNING_CFLAGS/s:-Werror::' configure || die + + if [[ ${CHOST} == *solaris* ]]; then + # libsndfile doesn't like -std=c99 on Solaris + sed -i -e '/CFLAGS/s:-std=c99::' configure || die + # configure isn't really bourne shell (comment 0) or dash (comment 6) + # compatible, bug #388885 + export CONFIG_SHELL="${BASH}" + fi + + default +} + +multilib_src_configure() { + local myeconfargs=( + $(use_enable sndfile) + $(use_enable static-libs static) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + default + find "${ED}" -type f -name "*.la" -delete || die +} |