summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-09-15 19:55:37 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-09-15 19:55:37 +0000
commit09959a93baa8848cf6fff62c7e30a1e5eeb3ec24 (patch)
tree43ab132ce2d313a8cb6c5a0a413d2ab5422d772c /media-sound
parentVersion bump to 5.24.00 ebuild thanks to Andrew Savchenko <bircoph@gmail.com>... (diff)
downloadgentoo-2-09959a93baa8848cf6fff62c7e30a1e5eeb3ec24.tar.gz
gentoo-2-09959a93baa8848cf6fff62c7e30a1e5eeb3ec24.tar.bz2
gentoo-2-09959a93baa8848cf6fff62c7e30a1e5eeb3ec24.zip
version bump
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mhwaveedit/ChangeLog9
-rw-r--r--media-sound/mhwaveedit/files/mhwaveedit-1.4.16-gtk.patch15
-rw-r--r--media-sound/mhwaveedit/files/mhwaveedit-1.4.16-pulse.patch13
-rw-r--r--media-sound/mhwaveedit/mhwaveedit-1.4.16.ebuild54
4 files changed, 90 insertions, 1 deletions
diff --git a/media-sound/mhwaveedit/ChangeLog b/media-sound/mhwaveedit/ChangeLog
index e16624153635..4f3e092ed957 100644
--- a/media-sound/mhwaveedit/ChangeLog
+++ b/media-sound/mhwaveedit/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/mhwaveedit
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mhwaveedit/ChangeLog,v 1.38 2009/05/21 14:32:26 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mhwaveedit/ChangeLog,v 1.39 2009/09/15 19:55:37 aballier Exp $
+
+*mhwaveedit-1.4.16 (15 Sep 2009)
+
+ 15 Sep 2009; Alexis Ballier <aballier@gentoo.org>
+ +mhwaveedit-1.4.16.ebuild, +files/mhwaveedit-1.4.16-gtk.patch,
+ +files/mhwaveedit-1.4.16-pulse.patch:
+ version bump
21 May 2009; Samuli Suominen <ssuominen@gentoo.org>
mhwaveedit-1.4.15-r1.ebuild:
diff --git a/media-sound/mhwaveedit/files/mhwaveedit-1.4.16-gtk.patch b/media-sound/mhwaveedit/files/mhwaveedit-1.4.16-gtk.patch
new file mode 100644
index 000000000000..29f8c10b42b2
--- /dev/null
+++ b/media-sound/mhwaveedit/files/mhwaveedit-1.4.16-gtk.patch
@@ -0,0 +1,15 @@
+Index: mhwaveedit-1.4.16/configure.in
+===================================================================
+--- mhwaveedit-1.4.16.orig/configure.in
++++ mhwaveedit-1.4.16/configure.in
+@@ -384,10 +384,6 @@ if test "x$FOUND_GTK" = "xno"; then
+ fi
+ fi
+
+-if test "x$FOUND_GTK" = "xno"; then
+-AM_PATH_GTK(1.2.5,FOUND_GTK="yes",AC_MSG_ERROR(mhWaveEdit requires GTK+ version 1.2.5 or higher...))
+-fi
+-
+ dnl Check for gthread if we're using GTK+ 2
+ dnl Not needed by the app itself, but needed for some aRts versions.
+ GTHREAD_CFLAGS=""
diff --git a/media-sound/mhwaveedit/files/mhwaveedit-1.4.16-pulse.patch b/media-sound/mhwaveedit/files/mhwaveedit-1.4.16-pulse.patch
new file mode 100644
index 000000000000..5c6ce20d2bf4
--- /dev/null
+++ b/media-sound/mhwaveedit/files/mhwaveedit-1.4.16-pulse.patch
@@ -0,0 +1,13 @@
+Index: mhwaveedit-1.4.16/configure.in
+===================================================================
+--- mhwaveedit-1.4.16.orig/configure.in
++++ mhwaveedit-1.4.16/configure.in
+@@ -282,7 +282,7 @@ AC_DEFUN([AC_WITHOUT_PULSE],[
+ fi
+ ])
+
+-AC_ARG_WITH(pulse,[ --without-pulse Don't compile PulseAudio driver],AC_WITHOUT_JACK)
++AC_ARG_WITH(pulse,[ --without-pulse Don't compile PulseAudio driver],AC_WITHOUT_PULSE)
+
+ if test "x$MHW_SKIP_PULSETEST" = "xno"
+ then
diff --git a/media-sound/mhwaveedit/mhwaveedit-1.4.16.ebuild b/media-sound/mhwaveedit/mhwaveedit-1.4.16.ebuild
new file mode 100644
index 000000000000..82fb8b1c2a98
--- /dev/null
+++ b/media-sound/mhwaveedit/mhwaveedit-1.4.16.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mhwaveedit/mhwaveedit-1.4.16.ebuild,v 1.1 2009/09/15 19:55:37 aballier Exp $
+
+EAPI=2
+inherit eutils autotools
+
+DESCRIPTION="GTK+ Sound file editor (wav, and a few others.)"
+HOMEPAGE="https://gna.org/projects/mhwaveedit"
+SRC_URI="http://download.gna.org/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="alsa esd jack ladspa libsamplerate nls oss pulseaudio sdl sndfile sox"
+
+RDEPEND=">=x11-libs/gtk+-2:2
+ sndfile? ( >=media-libs/libsndfile-1.0.10 )
+ sdl? ( >=media-libs/libsdl-1.2.3 )
+ alsa? ( media-libs/alsa-lib )
+ jack? ( >=media-sound/jack-audio-connection-kit-0.98 )
+ esd? ( >=media-sound/esound-0.2 )
+ libsamplerate? ( media-libs/libsamplerate )
+ ladspa? ( media-libs/ladspa-sdk )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.10 )
+ sox? ( media-sound/sox )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gtk.patch"
+ epatch "${FILESDIR}/${P}-pulse.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --without-arts \
+ --without-portaudio \
+ $(use_enable nls) \
+ $(use_with sndfile libsndfile) \
+ $(use_with libsamplerate) \
+ $(use_with sdl) \
+ $(use_with alsa alsalib) \
+ $(use_with oss) \
+ $(use_with jack) \
+ $(use_with pulseaudio pulse) \
+ $(use_with esd esound)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS BUGS ChangeLog HACKING NEWS README TODO
+}