summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-04-04 06:37:29 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-04-04 06:37:29 +0200
commit7423f1b903d66d620c8b4b05ea96cffc69040a14 (patch)
tree6c27aef35548d264357e61339e36c6184ade062e /media-sound
parentdev-ruby/httparty: add 0.16.2 (diff)
downloadgentoo-7423f1b903d66d620c8b4b05ea96cffc69040a14.tar.gz
gentoo-7423f1b903d66d620c8b4b05ea96cffc69040a14.tar.bz2
gentoo-7423f1b903d66d620c8b4b05ea96cffc69040a14.zip
media-sound/twolame: Revert Drop old
This reverts commit 1bd105aa7a0024931c950c07ab662e1a54630850.
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/twolame/twolame-0.3.13-r1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/media-sound/twolame/twolame-0.3.13-r1.ebuild b/media-sound/twolame/twolame-0.3.13-r1.ebuild
new file mode 100644
index 000000000000..72f6a6d3ffdc
--- /dev/null
+++ b/media-sound/twolame/twolame-0.3.13-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
+inherit autotools-multilib
+
+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"
+
+DOCS=( AUTHORS ChangeLog README TODO )
+
+src_prepare() {
+ sed -i -e '/CFLAGS/s:-O3::' 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
+
+ autotools-multilib_src_prepare
+}
+
+src_install() {
+ autotools-multilib_src_install \
+ pkgdocdir="${EPREFIX}/usr/share/doc/${PF}"
+}