summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-02-24 15:09:44 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-02-24 15:09:44 +0000
commit411371307453f9e1a2e6715a946b647754cb86ef (patch)
tree5cccb3d98cdd33bfd7d4d3b6187d7ec4b5449d98 /media-sound/sox
parentsox amrnb and wb useflags, bug #210043 (diff)
downloadgentoo-2-411371307453f9e1a2e6715a946b647754cb86ef.tar.gz
gentoo-2-411371307453f9e1a2e6715a946b647754cb86ef.tar.bz2
gentoo-2-411371307453f9e1a2e6715a946b647754cb86ef.zip
Enable amr nb and wb now that is works, thanks to Sebastian <sebastian_ml@gmx.net> in bug #210043
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-sound/sox')
-rw-r--r--media-sound/sox/ChangeLog6
-rw-r--r--media-sound/sox/sox-14.0.1.ebuild15
2 files changed, 12 insertions, 9 deletions
diff --git a/media-sound/sox/ChangeLog b/media-sound/sox/ChangeLog
index 61ca8340d622..5e08b64ec6a0 100644
--- a/media-sound/sox/ChangeLog
+++ b/media-sound/sox/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/sox
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/sox/ChangeLog,v 1.78 2008/01/30 08:05:36 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sox/ChangeLog,v 1.79 2008/02/24 15:09:44 aballier Exp $
+
+ 24 Feb 2008; Alexis Ballier <aballier@gentoo.org> sox-14.0.1.ebuild:
+ Enable amr nb and wb now that is works, thanks to Sebastian
+ <sebastian_ml@gmx.net> in bug #210043
*sox-14.0.1 (30 Jan 2008)
diff --git a/media-sound/sox/sox-14.0.1.ebuild b/media-sound/sox/sox-14.0.1.ebuild
index aaafe4eb2d4b..e6e9752d3db2 100644
--- a/media-sound/sox/sox-14.0.1.ebuild
+++ b/media-sound/sox/sox-14.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/sox/sox-14.0.1.ebuild,v 1.1 2008/01/30 08:05:36 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sox/sox-14.0.1.ebuild,v 1.2 2008/02/24 15:09:44 aballier Exp $
inherit flag-o-matic eutils
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/sox/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="alsa ao debug encode ffmpeg flac id3tag ladspa mad libsamplerate ogg oss sndfile"
+IUSE="alsa amrnb amrwb ao debug encode ffmpeg flac id3tag ladspa mad libsamplerate ogg oss sndfile "
DEPEND="alsa? ( media-libs/alsa-lib )
encode? ( media-sound/lame )
@@ -24,10 +24,9 @@ DEPEND="alsa? ( media-libs/alsa-lib )
ffmpeg? ( media-video/ffmpeg )
ladspa? ( media-libs/ladspa-sdk )
>=media-sound/gsm-1.0.12-r1
- id3tag? ( media-libs/libid3tag )"
-# Fails to compile here ...
-# amrnb? ( media-libs/amrnb )
-# amrwb? ( media-libs/amrwb )
+ id3tag? ( media-libs/libid3tag )
+ amrnb? ( media-libs/amrnb )
+ amrwb? ( media-libs/amrwb )"
src_compile () {
# Fixes wav segfaults. See Bug #35745.
@@ -46,8 +45,8 @@ src_compile () {
$(use_with ffmpeg) \
$(use_with ladspa) \
$(use_with id3tag) \
- --without-amr-wb \
- --without-amr-nb \
+ $(use_with amrwb amr-wb) \
+ $(use_with amrnb amr-nb) \
--enable-fast-ulaw \
--enable-fast-alaw \
|| die "configure failed"