summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-01-30 08:05:37 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-01-30 08:05:37 +0000
commit908ab19448168b2f3f40f35a7c4d868a0bb95e98 (patch)
treeb5f77e38368289d3bc3ef5c4da6d443ae7cddcb6 /media-sound/sox
parentstable x86, bug 207634 (diff)
downloadgentoo-2-908ab19448168b2f3f40f35a7c4d868a0bb95e98.tar.gz
gentoo-2-908ab19448168b2f3f40f35a7c4d868a0bb95e98.tar.bz2
gentoo-2-908ab19448168b2f3f40f35a7c4d868a0bb95e98.zip
version bump
(Portage version: 2.1.4)
Diffstat (limited to 'media-sound/sox')
-rw-r--r--media-sound/sox/ChangeLog7
-rw-r--r--media-sound/sox/files/digest-sox-14.0.13
-rw-r--r--media-sound/sox/sox-14.0.1.ebuild63
3 files changed, 72 insertions, 1 deletions
diff --git a/media-sound/sox/ChangeLog b/media-sound/sox/ChangeLog
index 7cbadb6daeba..61ca8340d622 100644
--- a/media-sound/sox/ChangeLog
+++ b/media-sound/sox/ChangeLog
@@ -1,6 +1,11 @@
# 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.77 2008/01/01 03:06:50 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sox/ChangeLog,v 1.78 2008/01/30 08:05:36 aballier Exp $
+
+*sox-14.0.1 (30 Jan 2008)
+
+ 30 Jan 2008; Alexis Ballier <aballier@gentoo.org> +sox-14.0.1.ebuild:
+ version bump
01 Jan 2008; Brent Baude <ranger@gentoo.org> sox-14.0.0-r1.ebuild:
marking sox-14.0.0-r1 ~ppc64 for bug 192736
diff --git a/media-sound/sox/files/digest-sox-14.0.1 b/media-sound/sox/files/digest-sox-14.0.1
new file mode 100644
index 000000000000..357f541d77b9
--- /dev/null
+++ b/media-sound/sox/files/digest-sox-14.0.1
@@ -0,0 +1,3 @@
+MD5 6c95af60b20b9655531bf3162c0be937 sox-14.0.1.tar.gz 859538
+RMD160 b614c3006e9490876c299d768009656704ecfbc8 sox-14.0.1.tar.gz 859538
+SHA256 52398a49bef64aa6e06b158cb59b3e1790fa1bf94262b896688bcfdcf539ca73 sox-14.0.1.tar.gz 859538
diff --git a/media-sound/sox/sox-14.0.1.ebuild b/media-sound/sox/sox-14.0.1.ebuild
new file mode 100644
index 000000000000..aaafe4eb2d4b
--- /dev/null
+++ b/media-sound/sox/sox-14.0.1.ebuild
@@ -0,0 +1,63 @@
+# 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 $
+
+inherit flag-o-matic eutils
+
+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 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="alsa ao debug encode ffmpeg flac id3tag ladspa mad libsamplerate ogg oss sndfile"
+
+DEPEND="alsa? ( media-libs/alsa-lib )
+ encode? ( media-sound/lame )
+ flac? ( media-libs/flac )
+ mad? ( media-libs/libmad )
+ sndfile? ( media-libs/libsndfile )
+ libsamplerate? ( media-libs/libsamplerate )
+ ogg? ( media-libs/libvorbis media-libs/libogg )
+ ao? ( media-libs/libao )
+ 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 )
+
+src_compile () {
+ # Fixes wav segfaults. See Bug #35745.
+ append-flags -fsigned-char
+
+ econf $(use_enable alsa) \
+ $(use_enable debug) \
+ $(use_enable ao libao) \
+ $(use_enable oss) \
+ $(use_with encode lame) \
+ $(use_with mad) \
+ $(use_with sndfile) \
+ $(use_with flac) \
+ $(use_with ogg) \
+ $(use_with libsamplerate samplerate) \
+ $(use_with ffmpeg) \
+ $(use_with ladspa) \
+ $(use_with id3tag) \
+ --without-amr-wb \
+ --without-amr-nb \
+ --enable-fast-ulaw \
+ --enable-fast-alaw \
+ || die "configure failed"
+
+ #workaround for flac, it wants to include a damn config.h file
+ touch src/config.h
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc NEWS ChangeLog README AUTHORS
+}