From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EBA9E138334 for ; Mon, 14 Oct 2019 12:49:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 805CDE089F; Mon, 14 Oct 2019 12:49:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E412E089F for ; Mon, 14 Oct 2019 12:49:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A1EA334BD00 for ; Mon, 14 Oct 2019 12:49:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4911D887 for ; Mon, 14 Oct 2019 12:49:04 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1571057339.7fd5bddf325bf91fd53317d23d6322d8444fdca3.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/twolame/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/twolame/Manifest media-sound/twolame/twolame-0.4.0.ebuild X-VCS-Directories: media-sound/twolame/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 7fd5bddf325bf91fd53317d23d6322d8444fdca3 X-VCS-Branch: master Date: Mon, 14 Oct 2019 12:49:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 74fd8350-00f0-40d9-8072-1b5226a10f4c X-Archives-Hash: e75c428473a14e8a77f71c5251d0b58c commit: 7fd5bddf325bf91fd53317d23d6322d8444fdca3 Author: Lars Wendler gentoo org> AuthorDate: Mon Oct 14 12:41:13 2019 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Oct 14 12:48:59 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fd5bddf media-sound/twolame: Bump to version 0.4.0 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Lars Wendler gentoo.org> media-sound/twolame/Manifest | 1 + media-sound/twolame/twolame-0.4.0.ebuild | 51 ++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/media-sound/twolame/Manifest b/media-sound/twolame/Manifest index d1a72508bca..1ae373c260e 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 00000000000..55cbdaee2d2 --- /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 +}