summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-04-26 18:21:07 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-04-26 18:21:07 +0000
commitbed3f9fc9afe0b983580a245ba5b3d7e0e2bf7e5 (patch)
treea0b5e7900ac670a4f91e28e45cb4deb3351bcec3 /media-sound/meterbridge
parentAppend x-scheme-handler/mailto; to MimeType line of desktop entry. This will ... (diff)
downloadgentoo-2-bed3f9fc9afe0b983580a245ba5b3d7e0e2bf7e5.tar.gz
gentoo-2-bed3f9fc9afe0b983580a245ba5b3d7e0e2bf7e5.tar.bz2
gentoo-2-bed3f9fc9afe0b983580a245ba5b3d7e0e2bf7e5.zip
version bump
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/meterbridge')
-rw-r--r--media-sound/meterbridge/ChangeLog11
-rw-r--r--media-sound/meterbridge/files/meterbridge-0.9.3-asneeded.patch10
-rw-r--r--media-sound/meterbridge/files/meterbridge-0.9.3-cflags.patch11
-rw-r--r--media-sound/meterbridge/files/meterbridge-0.9.3-gcc41.patch13
-rw-r--r--media-sound/meterbridge/meterbridge-0.9.3.ebuild35
5 files changed, 78 insertions, 2 deletions
diff --git a/media-sound/meterbridge/ChangeLog b/media-sound/meterbridge/ChangeLog
index 374d57128f74..da9e7345a2fb 100644
--- a/media-sound/meterbridge/ChangeLog
+++ b/media-sound/meterbridge/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/meterbridge
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/meterbridge/ChangeLog,v 1.20 2008/06/25 16:37:17 aballier Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/meterbridge/ChangeLog,v 1.21 2011/04/26 18:21:07 aballier Exp $
+
+*meterbridge-0.9.3 (26 Apr 2011)
+
+ 26 Apr 2011; Alexis Ballier <aballier@gentoo.org> +meterbridge-0.9.3.ebuild,
+ +files/meterbridge-0.9.3-asneeded.patch,
+ +files/meterbridge-0.9.3-cflags.patch, +files/meterbridge-0.9.3-gcc41.patch:
+ version bump
25 Jun 2008; Alexis Ballier <aballier@gentoo.org>
files/meterbridge-0.9.2-asneeded.patch,
diff --git a/media-sound/meterbridge/files/meterbridge-0.9.3-asneeded.patch b/media-sound/meterbridge/files/meterbridge-0.9.3-asneeded.patch
new file mode 100644
index 000000000000..f7e7ba0d860b
--- /dev/null
+++ b/media-sound/meterbridge/files/meterbridge-0.9.3-asneeded.patch
@@ -0,0 +1,10 @@
+Index: meterbridge-0.9.3/src/Makefile.am
+===================================================================
+--- meterbridge-0.9.3.orig/src/Makefile.am
++++ meterbridge-0.9.3/src/Makefile.am
+@@ -6,4 +6,4 @@ bin_PROGRAMS = meterbridge
+ EXTRA_DIST = *.h
+
+ meterbridge_SOURCES = main.c linedraw.c vu_meters.c ppm_meters.c dpm_meters.c jf_meters.c scope.c envelopes.c find_image.c gl_utils.c
+-meterbridge_LDFLAGS = -lm $(JACK_LIBS) $(SDL_LIBS) -lGL -lSDL_image
++meterbridge_LDADD = -lm $(JACK_LIBS) $(SDL_LIBS) -lGL -lSDL_image
diff --git a/media-sound/meterbridge/files/meterbridge-0.9.3-cflags.patch b/media-sound/meterbridge/files/meterbridge-0.9.3-cflags.patch
new file mode 100644
index 000000000000..a79867ad8d9c
--- /dev/null
+++ b/media-sound/meterbridge/files/meterbridge-0.9.3-cflags.patch
@@ -0,0 +1,11 @@
+Index: meterbridge-0.9.3/src/Makefile.am
+===================================================================
+--- meterbridge-0.9.3.orig/src/Makefile.am
++++ meterbridge-0.9.3/src/Makefile.am
+@@ -1,5 +1,5 @@
+ #CFLAGS = -Wall -O3 $(SDL_CFLAGS) $(JACK_CFLAGS) -DPKG_DATA_DIR=\"$(pkgdatadir)\"
+-CFLAGS = -Wall -g $(SDL_CFLAGS) $(JACK_CFLAGS) -DPKG_DATA_DIR=\"$(pkgdatadir)\"
++AM_CFLAGS = -Wall $(SDL_CFLAGS) $(JACK_CFLAGS) -DPKG_DATA_DIR=\"$(pkgdatadir)\"
+
+ bin_PROGRAMS = meterbridge
+
diff --git a/media-sound/meterbridge/files/meterbridge-0.9.3-gcc41.patch b/media-sound/meterbridge/files/meterbridge-0.9.3-gcc41.patch
new file mode 100644
index 000000000000..861385214a67
--- /dev/null
+++ b/media-sound/meterbridge/files/meterbridge-0.9.3-gcc41.patch
@@ -0,0 +1,13 @@
+Index: meterbridge-0.9.3/src/main.h
+===================================================================
+--- meterbridge-0.9.3.orig/src/main.h
++++ meterbridge-0.9.3/src/main.h
+@@ -10,7 +10,7 @@
+
+ extern SDL_Surface *screen, *background_image;
+ extern SDL_Surface *image, *meter, *meter_buf;
+-extern SDL_Rect win, buf_rect[MAX_METERS], dest[MAX_METERS];
++extern SDL_Rect win, dest[MAX_METERS];
+
+ extern jack_port_t *input_ports[MAX_METERS];
+ extern jack_port_t *output_ports[MAX_METERS];
diff --git a/media-sound/meterbridge/meterbridge-0.9.3.ebuild b/media-sound/meterbridge/meterbridge-0.9.3.ebuild
new file mode 100644
index 000000000000..b202ce1d26f2
--- /dev/null
+++ b/media-sound/meterbridge/meterbridge-0.9.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/meterbridge/meterbridge-0.9.3.ebuild,v 1.1 2011/04/26 18:21:07 aballier Exp $
+
+EAPI=2
+
+inherit eutils autotools
+
+DESCRIPTION="Software meterbridge for the UNIX based JACK audio system."
+HOMEPAGE="http://plugin.org.uk/meterbridge/"
+SRC_URI="http://plugin.org.uk/meterbridge/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="media-sound/jack-audio-connection-kit
+ >=media-libs/libsdl-1.2
+ >=media-libs/sdl-image-1.2.10[png]
+ virtual/opengl"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc41.patch
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+ epatch "${FILESDIR}"/${P}-cflags.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog
+}