summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-10-19 20:36:52 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-10-19 20:36:52 +0000
commit64d4813e046339b25c0da93554f3a3dc91943e97 (patch)
treec1e05422a1c66f568ec91dee99ee72500a8406b2 /media-sound/jack-rack
parentVersion bump (diff)
downloadgentoo-2-64d4813e046339b25c0da93554f3a3dc91943e97.tar.gz
gentoo-2-64d4813e046339b25c0da93554f3a3dc91943e97.tar.bz2
gentoo-2-64d4813e046339b25c0da93554f3a3dc91943e97.zip
Version bump (bug #196371), and add patch to build with GTK+ 2.12 (bug #196174).
(Portage version: 2.1.3.15)
Diffstat (limited to 'media-sound/jack-rack')
-rw-r--r--media-sound/jack-rack/ChangeLog10
-rw-r--r--media-sound/jack-rack/files/digest-jack-rack-1.4.63
-rw-r--r--media-sound/jack-rack/files/jack-rack-1.4.6-no-disable-deprecated.patch19
-rw-r--r--media-sound/jack-rack/jack-rack-1.4.6.ebuild71
4 files changed, 102 insertions, 1 deletions
diff --git a/media-sound/jack-rack/ChangeLog b/media-sound/jack-rack/ChangeLog
index 5bc2a962190a..9f66b94b288f 100644
--- a/media-sound/jack-rack/ChangeLog
+++ b/media-sound/jack-rack/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-sound/jack-rack
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-rack/ChangeLog,v 1.25 2007/07/02 15:14:18 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-rack/ChangeLog,v 1.26 2007/10/19 20:36:52 flameeyes Exp $
+
+*jack-rack-1.4.6 (19 Oct 2007)
+
+ 19 Oct 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +files/jack-rack-1.4.6-no-disable-deprecated.patch,
+ +jack-rack-1.4.6.ebuild:
+ Version bump (bug #196371), and add patch to build with GTK+ 2.12 (bug
+ #196174).
02 Jul 2007; Diego Pettenò <flameeyes@gentoo.org> metadata.xml:
Hand to newly-born proaudio herd.
diff --git a/media-sound/jack-rack/files/digest-jack-rack-1.4.6 b/media-sound/jack-rack/files/digest-jack-rack-1.4.6
new file mode 100644
index 000000000000..e3dceacbaf65
--- /dev/null
+++ b/media-sound/jack-rack/files/digest-jack-rack-1.4.6
@@ -0,0 +1,3 @@
+MD5 279c46521e9d4d11766baae32945803c jack-rack-1.4.6.tar.gz 320344
+RMD160 9b0218d9198cbc11164a3c0274e8562b4c5bda87 jack-rack-1.4.6.tar.gz 320344
+SHA256 e7a4d821def318c094793dc51f2b5e2daaa11eb69b68b262e058d5136769ec05 jack-rack-1.4.6.tar.gz 320344
diff --git a/media-sound/jack-rack/files/jack-rack-1.4.6-no-disable-deprecated.patch b/media-sound/jack-rack/files/jack-rack-1.4.6-no-disable-deprecated.patch
new file mode 100644
index 000000000000..23a4be1246bd
--- /dev/null
+++ b/media-sound/jack-rack/files/jack-rack-1.4.6-no-disable-deprecated.patch
@@ -0,0 +1,19 @@
+Index: jack-rack-1.4.6/src/Makefile.am
+===================================================================
+--- jack-rack-1.4.6.orig/src/Makefile.am
++++ jack-rack-1.4.6/src/Makefile.am
+@@ -54,13 +54,7 @@ jack_rack_CFLAGS = \
+ $(XML_CFLAGS) \
+ -DPKGDATADIR=\"$(pkgdatadir)\" \
+ -DPIXMAPDIR=\"$(pixmapdir)\" \
+- -DDTDDIR=\"$(dtddir)\" \
+- -DG_DISABLE_DEPRECATED=1 \
+- -DGTK_DISABLE_DEPRECATED=1 \
+- -DGDK_DISABLE_DEPRECATED=1 \
+- -DGDK_PIXBUF_DISABLE_DEPRECATED=1 \
+- -DGNOME_DISABLE_DEPRECATED=1
+-
++ -DDTDDIR=\"$(dtddir)\"
+
+ jack_rack_LDADD = \
+ $(JACK_LIBS) \
diff --git a/media-sound/jack-rack/jack-rack-1.4.6.ebuild b/media-sound/jack-rack/jack-rack-1.4.6.ebuild
new file mode 100644
index 000000000000..29b5768378d0
--- /dev/null
+++ b/media-sound/jack-rack/jack-rack-1.4.6.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-rack/jack-rack-1.4.6.ebuild,v 1.1 2007/10/19 20:36:52 flameeyes Exp $
+
+WANT_AUTOMAKE="1.9"
+
+inherit autotools
+
+IUSE="alsa gnome lash nls xml"
+
+DESCRIPTION="JACK Rack is an effects rack for the JACK low latency audio API."
+HOMEPAGE="http://jack-rack.sourceforge.net/"
+SRC_URI="mirror://sourceforge/jack-rack/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+RDEPEND=">=x11-libs/gtk+-2
+ >=media-libs/ladspa-sdk-1.12
+ media-sound/jack-audio-connection-kit
+ alsa? ( media-libs/alsa-lib )
+ lash? ( >=media-sound/lash-0.5 )
+ gnome? ( >=gnome-base/libgnomeui-2 )
+ nls? ( virtual/libintl )
+ xml? ( dev-libs/libxml2
+ media-libs/liblrdf )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+ if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
+ eerror ""
+ eerror "To be able to build ${CATEGORY}/${PN} with ALSA support you"
+ eerror "need to have built media-libs/alsa-lib with midi USE flag."
+ die "Missing midi USE flag on media-libs/alsa-lib"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-1.4.5-asneeded.patch"
+ epatch "${FILESDIR}/${P}-no-disable-deprecated.patch"
+ eautomake
+}
+
+src_compile() {
+ local myconf
+ myconf="--disable-ladcca --enable-desktop-inst"
+
+ econf \
+ $(use_enable alsa aseq) \
+ $(use_enable gnome) \
+ $(use_enable lash) \
+ $(use_enable nls) \
+ $(use_enable xml) \
+ $(use_enable xml lrdf ) \
+ --disable-dependency-tracking \
+ ${myconf} || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO WISHLIST
+}