summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-03-29 07:41:46 +0000
committerTim Harder <radhermit@gentoo.org>2011-03-29 07:41:46 +0000
commitf41d7dab688c197be6c73fc3677086641a322786 (patch)
tree18e83163a0641e78691c9bf332cee0ba54ae1ccf /media-sound/sweep
parentInitial commit (diff)
downloadgentoo-2-f41d7dab688c197be6c73fc3677086641a322786.tar.gz
gentoo-2-f41d7dab688c197be6c73fc3677086641a322786.tar.bz2
gentoo-2-f41d7dab688c197be6c73fc3677086641a322786.zip
Revision bump to fix configure script library enabling. Update to EAPI 4.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/sweep')
-rw-r--r--media-sound/sweep/ChangeLog8
-rw-r--r--media-sound/sweep/files/sweep-0.9.3-configure.patch53
-rw-r--r--media-sound/sweep/sweep-0.9.3-r1.ebuild50
3 files changed, 110 insertions, 1 deletions
diff --git a/media-sound/sweep/ChangeLog b/media-sound/sweep/ChangeLog
index cb1addf1811d..72a5ca3d3a27 100644
--- a/media-sound/sweep/ChangeLog
+++ b/media-sound/sweep/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/sweep
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/sweep/ChangeLog,v 1.42 2011/03/29 07:33:57 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sweep/ChangeLog,v 1.43 2011/03/29 07:41:46 radhermit Exp $
+
+*sweep-0.9.3-r1 (29 Mar 2011)
+
+ 29 Mar 2011; Tim Harder <radhermit@gentoo.org> +sweep-0.9.3-r1.ebuild,
+ +files/sweep-0.9.3-configure.patch:
+ Revision bump to fix configure script library enabling. Update to EAPI 4.
29 Mar 2011; Tim Harder <radhermit@gentoo.org> sweep-0.9.3.ebuild:
Update to EAPI 2, remove unused eutils eclass, and use slot deps for gtk+ and
diff --git a/media-sound/sweep/files/sweep-0.9.3-configure.patch b/media-sound/sweep/files/sweep-0.9.3-configure.patch
new file mode 100644
index 000000000000..38c8717c4cdd
--- /dev/null
+++ b/media-sound/sweep/files/sweep-0.9.3-configure.patch
@@ -0,0 +1,53 @@
+--- sweep-0.9.3/configure.ac.orig
++++ sweep-0.9.3/configure.ac
+@@ -137,13 +137,13 @@
+
+ ac_enable_oggvorbis=yes
+ AC_ARG_ENABLE(oggvorbis,
+- [ --disable-oggvorbis disable Ogg Vorbis support],
+- [ ac_enable_oggvorbis=no ], [ ac_enable_oggvorbis=yes ])
++ [ --enable-oggvorbis enable Ogg Vorbis support],
++ [ ac_enable_oggvorbis=yes ], [ ac_enable_oggvorbis=no ])
+
+ ac_enable_speex=yes
+ AC_ARG_ENABLE(speex,
+- [ --disable-speex disable Speex support],
+- [ ac_enable_speex=no ], [ ac_enable_speex=yes ])
++ [ --enable-speex enable Speex support],
++ [ ac_enable_speex=yes ], [ ac_enable_speex=no ])
+
+ dnl Both Vorbis and Speex require Ogg, so check for it first either way
+ if test "x${ac_enable_oggvorbis}" != xno ||
+@@ -274,8 +274,8 @@
+
+ ac_enable_mad=yes
+ AC_ARG_ENABLE(mad,
+- [ --disable-mad disable libmad (MPEG audio loading) support],
+- [ ac_enable_mad=no ], [ ac_enable_mad=yes ])
++ [ --enable-mad enable libmad (MPEG audio loading) support],
++ [ ac_enable_mad=yes ], [ ac_enable_mad=no ])
+
+ if test "x${ac_enable_mad}" != xno ; then
+ AC_CHECK_LIB(mad, mad_decoder_init, HAVE_MAD="maybe")
+@@ -301,8 +301,8 @@
+
+ ac_enable_src=yes
+ AC_ARG_ENABLE(src,
+- [ --disable-src enable secret rabbit code (libsamplerate)],
+- [ ac_enable_src=no ], [ ac_enable_src=yes])
++ [ --enable-src enable secret rabbit code (libsamplerate)],
++ [ ac_enable_src=yes ], [ ac_enable_src=no])
+
+ if test "x${ac_enable_src}" != xno ; then
+ PKG_CHECK_MODULES(SAMPLERATE, samplerate >= 0.0.9,
+@@ -324,8 +324,8 @@
+
+ ac_enable_alsa=yes
+ AC_ARG_ENABLE(alsa,
+- [ --disable-alsa Disable ALSA, and enable use of OSS],
+- [ ac_enable_alsa=no ])
++ [ --enable-alsa enable ALSA support],
++ [ ac_enable_alsa=yes ], [ ac_enable_alsa=no ])
+
+ if test "x${ac_enable_alsa}" != xno ; then
+
diff --git a/media-sound/sweep/sweep-0.9.3-r1.ebuild b/media-sound/sweep/sweep-0.9.3-r1.ebuild
new file mode 100644
index 000000000000..782c1d467447
--- /dev/null
+++ b/media-sound/sweep/sweep-0.9.3-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sweep/sweep-0.9.3-r1.ebuild,v 1.1 2011/03/29 07:41:46 radhermit Exp $
+
+EAPI=4
+
+inherit eutils autotools
+
+DESCRIPTION="Audio editor and live playback tool"
+HOMEPAGE="http://www.metadecks.org/software/sweep/"
+SRC_URI="mirror://sourceforge/sweep/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="alsa ladspa vorbis mp3 libsamplerate speex"
+
+RDEPEND=">=media-libs/libsndfile-1.0
+ >=x11-libs/gtk+-2.4.0:2
+ >=dev-libs/glib-2.2.0:2
+ alsa? ( media-libs/alsa-lib )
+ libsamplerate? ( media-libs/libsamplerate )
+ speex? ( media-libs/speex )
+ vorbis? ( media-libs/libogg media-libs/libvorbis )
+ mp3? ( media-libs/libmad )
+ ladspa? ( media-libs/ladspa-sdk )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+DOCS=(AUTHORS ChangeLog NEWS README TODO)
+
+LANGS="de el es_ES fr hu it ja pl ru"
+
+for X in ${LANGS}; do
+ IUSE="${IUSE} linguas_${X}"
+done
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-configure.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable vorbis oggvorbis) \
+ $(use_enable mp3 mad) \
+ $(use_enable speex) \
+ $(use_enable libsamplerate src) \
+ $(use_enable alsa)
+}