summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-04-23 12:18:17 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-04-23 12:18:17 +0000
commit98a34a739916e48f8317d61db0606e40cc98b2df (patch)
tree9ff5349c66eeca5db53bfacc7deb499e89e1c6b9 /media-sound/sox
parentchange diablo-jdk:1.5 to 1.6, 1.5 is gone (diff)
downloadgentoo-2-98a34a739916e48f8317d61db0606e40cc98b2df.tar.gz
gentoo-2-98a34a739916e48f8317d61db0606e40cc98b2df.tar.bz2
gentoo-2-98a34a739916e48f8317d61db0606e40cc98b2df.zip
version bump
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/sox')
-rw-r--r--media-sound/sox/ChangeLog8
-rw-r--r--media-sound/sox/metadata.xml1
-rw-r--r--media-sound/sox/sox-14.3.1.ebuild63
3 files changed, 71 insertions, 1 deletions
diff --git a/media-sound/sox/ChangeLog b/media-sound/sox/ChangeLog
index 3d23594d5d50..908abfd661b6 100644
--- a/media-sound/sox/ChangeLog
+++ b/media-sound/sox/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/sox
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/sox/ChangeLog,v 1.117 2010/01/07 14:49:30 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sox/ChangeLog,v 1.118 2010/04/23 12:18:17 aballier Exp $
+
+*sox-14.3.1 (23 Apr 2010)
+
+ 23 Apr 2010; Alexis Ballier <aballier@gentoo.org> +sox-14.3.1.ebuild,
+ metadata.xml:
+ version bump
07 Jan 2010; Christian Faulhammer <fauli@gentoo.org> sox-14.3.0.ebuild:
Transfer Prefix keywords
diff --git a/media-sound/sox/metadata.xml b/media-sound/sox/metadata.xml
index 57e1def1ea17..0a20177aa452 100644
--- a/media-sound/sox/metadata.xml
+++ b/media-sound/sox/metadata.xml
@@ -3,6 +3,7 @@
<pkgmetadata>
<herd>sound</herd>
<use>
+ <flag name="amr">Enables Adaptive Multi-Rate Audio support</flag>
<flag name="id3tag">Enables ID3 tagging with id3tag library</flag>
</use>
</pkgmetadata>
diff --git a/media-sound/sox/sox-14.3.1.ebuild b/media-sound/sox/sox-14.3.1.ebuild
new file mode 100644
index 000000000000..f64fb6c46918
--- /dev/null
+++ b/media-sound/sox/sox-14.3.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sox/sox-14.3.1.ebuild,v 1.1 2010/04/23 12:18:17 aballier Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="The swiss army knife of sound processing programs"
+HOMEPAGE="http://sox.sourceforge.net"
+SRC_URI="mirror://sourceforge/sox/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE="alsa amr ao debug encode ffmpeg flac id3tag ladspa mad ogg oss png pulseaudio sndfile wavpack"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+ amr? ( media-libs/opencore-amr )
+ encode? ( media-sound/lame )
+ flac? ( media-libs/flac )
+ mad? ( media-libs/libmad )
+ sndfile? ( media-libs/libsndfile )
+ ogg? ( media-libs/libvorbis media-libs/libogg )
+ ao? ( media-libs/libao )
+ ffmpeg? ( >=media-video/ffmpeg-0.5 )
+ ladspa? ( media-libs/ladspa-sdk )
+ >=media-sound/gsm-1.0.12-r1
+ id3tag? ( media-libs/libid3tag )
+ png? ( media-libs/libpng )
+ pulseaudio? ( media-sound/pulseaudio )
+ wavpack? ( media-sound/wavpack )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_compile () {
+ # Fixes wav segfaults. See Bug #35745.
+ append-flags -fsigned-char
+
+ econf $(use_with alsa) \
+ $(use_enable debug) \
+ $(use_with ao) \
+ $(use_with oss) \
+ $(use_with encode lame) \
+ $(use_with mad) \
+ $(use_with sndfile) \
+ $(use_with flac) \
+ $(use_with ogg oggvorbis) \
+ $(use_with ffmpeg) \
+ $(use_with ladspa) \
+ $(use_with id3tag) \
+ $(use_with amr amrwb) \
+ $(use_with amr amrnb) \
+ $(use_with png) \
+ $(use_with pulseaudio) \
+ $(use_with wavpack) \
+ --with-distro="Gentoo"
+
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc NEWS ChangeLog README AUTHORS
+}