From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/twolame/
Date: Sat, 13 Feb 2016 19:53:57 +0000 (UTC) [thread overview]
Message-ID: <1455393193.89d25b343e0b8632ccfdfb73557b6982ac463bd8.soap@gentoo> (raw)
commit: 89d25b343e0b8632ccfdfb73557b6982ac463bd8
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 13 19:53:00 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 13 19:53:13 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89d25b34
media-sound/twolame: Prevent configure adding -Werror to CFLAGS
Gentoo-Bug: 493940
* EAPI=6
* Convert 'autotools-multilib' -> 'multilib-minimal'
Package-Manager: portage-2.2.27
media-sound/twolame/twolame-0.3.13-r2.ebuild | 48 ++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/media-sound/twolame/twolame-0.3.13-r2.ebuild b/media-sound/twolame/twolame-0.3.13-r2.ebuild
new file mode 100644
index 0000000..ecac395
--- /dev/null
+++ b/media-sound/twolame/twolame-0.3.13-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils 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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND=">=media-libs/libsndfile-1.0.25[${MULTILIB_USEDEP}]
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r6
+ !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+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() {
+ ECONF_SOURCE=${S} \
+ econf $(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+ default
+ prune_libtool_files --all
+}
next reply other threads:[~2016-02-13 19:54 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-13 19:53 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-06-19 22:05 [gentoo-commits] repo/gentoo:master commit in: media-sound/twolame/ Alexis Ballier
2018-02-19 7:31 Sergei Trofimovich
2018-02-19 16:57 Thomas Deutschmann
2018-02-20 8:10 Sergei Trofimovich
2018-02-21 7:42 Sergei Trofimovich
2018-02-21 22:42 Sergei Trofimovich
2018-02-22 9:05 Agostino Sarubbo
2018-03-05 14:52 Tobias Klausmann
2018-04-03 6:26 Sergei Trofimovich
2018-04-03 20:54 Andreas Sturmlechner
2018-04-04 4:37 Andreas Sturmlechner
2018-04-18 20:59 Mikle Kolyada
2018-06-11 0:14 Andreas Sturmlechner
2019-10-14 12:49 Lars Wendler
2019-10-14 20:50 Lars Wendler
2020-06-27 20:45 Andreas K. Hüttel
2020-07-30 21:13 Sam James
2020-08-02 2:44 Sam James
2020-08-02 11:39 Sergei Trofimovich
2020-08-02 11:48 Sergei Trofimovich
2020-08-02 12:04 Sergei Trofimovich
2020-08-02 12:44 Sergei Trofimovich
2021-01-06 14:31 Fabian Groffen
2021-08-10 8:58 Yixun Lan
2022-11-16 5:57 WANG Xuerui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1455393193.89d25b343e0b8632ccfdfb73557b6982ac463bd8.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox