summaryrefslogtreecommitdiff
path: root/media-sound/jack-rack
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/jack-rack')
-rw-r--r--media-sound/jack-rack/Manifest13
-rw-r--r--media-sound/jack-rack/files/jack-rack-1.4.5-asneeded.patch13
-rw-r--r--media-sound/jack-rack/files/jack-rack-1.4.6-noalsa.patch23
-rw-r--r--media-sound/jack-rack/files/jack-rack-1.4.7-disable_deprecated.patch19
-rw-r--r--media-sound/jack-rack/files/jack-rack-1.4.8_rc1-noxml.patch14
-rw-r--r--media-sound/jack-rack/files/jack-rack-1.4.8_rc1-underlinking.patch13
-rw-r--r--media-sound/jack-rack/jack-rack-1.4.7-r1.ebuild51
-rw-r--r--media-sound/jack-rack/jack-rack-1.4.8_rc1.ebuild67
-rw-r--r--media-sound/jack-rack/metadata.xml11
9 files changed, 224 insertions, 0 deletions
diff --git a/media-sound/jack-rack/Manifest b/media-sound/jack-rack/Manifest
new file mode 100644
index 000000000000..1e87b4311616
--- /dev/null
+++ b/media-sound/jack-rack/Manifest
@@ -0,0 +1,13 @@
+AUX jack-rack-1.4.5-asneeded.patch 355 SHA256 ca73979ea8949ff0ed749f08c6bda8c1b953582a3bd54b1843fa8031f8694ddd SHA512 96b0122e47e87926f1193c803465d3941ae257cd348c3f816807dfdefd98310347185fb659207b98ecb9d36ae05c0bc75db7158f9769d8760caba2251b8193e4 WHIRLPOOL 03ae1ceed0b0f60708dfd1cb4a11c4fdb74c4840bdadd60a1aba4e63cb471fa7a55e8a341031c1f4370d7aa0d707e8f577b81e685889d99cffe507768fcde238
+AUX jack-rack-1.4.6-noalsa.patch 580 SHA256 633659edadfdcf0befc89e37f6b032464e0d7385abd4bf38c6a97199deaf1856 SHA512 5b066700ef863abfc3a308b6a784beedebf85f0fa9327e2c6515a82982ef8806bcbffb765a03c52bc779fa80ee5e7ac7fd276aa89743c235fff016270b775eb8 WHIRLPOOL f5fdf61379b47e47cbbb8b1123e10748024f3c42c5cd7bba4313a565a217312de6279d0f3c5263f7b333e6f8a5de82d10225f17f3256985a2d96ba5bdadcef1c
+AUX jack-rack-1.4.7-disable_deprecated.patch 432 SHA256 d0a011ccb163cc412adc64e9a6ab8a8897a64257db7fdfec0acdb1229bcadf8b SHA512 ce4f145a6589cf5a3fd5369f662ea56e2b53e2a77ceba6c91166b952c4fe5690207ea4394da3c6bf54ce52324cef9ee2e7b3258741ce3d4f58f97af7f8d55855 WHIRLPOOL faf23e440a6ada1a4e63a614accb5c56205965124b2221a9023de687bbfcf8ae83e8607f4bb5bb9842ad6a4c706f5a917c0ffddebf461f62e106f52cb88dcd7f
+AUX jack-rack-1.4.8_rc1-noxml.patch 492 SHA256 759a64cef74963c072ae303aad2737a6a3796ea8c09598fc46921ca72472b31a SHA512 79f1406003006ef0956ae08a53d9aefbeeb9ba97308217bd3c6610a854e4e905cd972e1431ea21dc3f938efd21120bf45b7dfc55993858d7c3e2304ffde3909d WHIRLPOOL 76b8a13691cd2acd1a624c81158ce4602226fe8e98528cbe3b3b2679d83749fc94133a98722d2f24fef2578471fd9ffed0d458121166e5dd83f3b49fe80ab300
+AUX jack-rack-1.4.8_rc1-underlinking.patch 288 SHA256 6bf5ee830469f9486b1c0f5d8e0941f49a54656d5d53a6e7fd87866bd23da9db SHA512 90c7c91c681ca6037aa4a9ae7d9491fbdd7d5a8404e580ed6cd2d1d4d1101c7dd8cea005231c63ec5384d301dbe56f966607fb714c5fecb4e2258502fbba1b10 WHIRLPOOL 5929a7103f5644318baa6636477e6621d51f47791639160cb48dca075344d2833ad5e76c6e32e2b3cb3375c73ffa203cf0f2b7d3b63ea3c43dd76beae2b82ae2
+DIST jack-rack-1.4.7.tar.gz 317474 SHA256 f0e8e1e5ebe1dbc9d89d57427f1dcb65094451ce8b7c8bf56799bf5ce4b8df64 SHA512 abfcbe2b7f5de964fc6236e0f1ed1f4c47bb03d3d018fe129e1158983d3879fcc032c56c1741448f85c7de12f345ccfba3b6271b16af96db1a3e4427f9deb810 WHIRLPOOL 8a401b1f23c56f39235972cbe06f62d7c8a1ea77af51710751e053ead238605b624dba3617fb51a6c3c87da078118e8094fc0b0c323a5fb73b7b25cd87eb57ac
+DIST jack-rack_1.4.8~rc1-1.debian.tar.gz 6742 SHA256 888bde7c981b83f095c891cffff6eb03d4ef3faf3a78f11a14ee49decb60e0ef SHA512 4e0503a0b1fa080bed0f9730929d820d173d886f4d4801016419d33729ec453f1f4e0f96fe102d83731169b91c54939663e9529516fdc09bca5d347be3e18715 WHIRLPOOL 4edcc9aa4195f36a0a8ff2b0a98c7920f5a4649e1a282c57102f4984e71c1560a2d6c89318796ed5e6431bff27abd87409ad00fdeeeba2f829353e7350fcdcb3
+DIST jack-rack_1.4.8~rc1.orig.tar.gz 122400 SHA256 a8a0dfb82df7c1c2c41edb021f851f15fb8f959ec2a9107f2b037c166febdb99 SHA512 8c7be402b6c8ad02a6ad7379d98c49a00bf5a3c70e5e5c174d786e77bf72592cf2eec6b346ce77d1dabb3787a6d028f4d02a1dd18daa5bf3daa297ac7bd7ad38 WHIRLPOOL 7bbe8895ce11265fc6fb8c12144d3ca41f4c073c8dc3cc2faf0d74f7561639f04d951994dc39b2b8c1c9f4e4b7ba8b42a0fc3bbfd347abd90e39fdb5d34873a9
+EBUILD jack-rack-1.4.7-r1.ebuild 1325 SHA256 5a36db731ac4017de2ace4edfb55544239397d5eb8d50ce9ce72b73c550b5a13 SHA512 0a49c4e96638e189e95cc26a081952fc07e163022d00074b2b7c929be0385d7d363f2f887a68f784e2629147acca45e008cc742840689887d7c9db690bb1a749 WHIRLPOOL b206fa3c807beee74f0a125292638c940c5df0cb641e286102cc4a42cc5038d10e3facfb27a5d6b82267ecccb309609dbfdaeb03dde74ad49470913e135f9ca2
+EBUILD jack-rack-1.4.8_rc1.ebuild 1645 SHA256 0baa9ec9fdb8e0dbad39c7fc3abe1aadb04fba055a2bb6941382d63ff7c1bd0c SHA512 84aa31b81be7f79fcf49db72d774c136794b0769ed44a261198e8f7a067df38db781dee0bb1968502172068eaef41b77cb740d088e977058985d6575dd809a29 WHIRLPOOL bf40134d42d82dd3c5e373bbd4f937aec5e5aa464d00204b45a0b24a76a31828f87e2d327f9f066d7fc7587e7bd463d9072ac7809417320fda62cd8321f5574e
+MISC ChangeLog 3272 SHA256 36057f34823332f3de1589e6c8b4c21a05892b561453b0680a6335cb6ac37a47 SHA512 d431216d9873943868cfb66b05af10fb89d0593271f14b25b69c987ceb525eb6b17a3bee48131ce60c2906e67addf7a14586b4c085d3e324276a920fbc94b14b WHIRLPOOL 5cbaa955c0eb18af130fa1415bc39906a51c5e90ab723ec66a8aacee68b771318d9607cd4ea818a68cfde5bbfbadacbdeceddd52cfc7cfd51ca9d0578a09c2fa
+MISC ChangeLog-2015 7049 SHA256 55ff3f9635a34cbcd332b9874108bfe237cc3223ba14144dae0fa877e6dd844d SHA512 3ac496ecdc3df7e5dc993cc8d8b771c3764ae0b4fba5eac73985aaac2432f2059ceebb14db119e13f9123aadcd4441ffa3ec27c25a310ec5d67bc34dddedf7b0 WHIRLPOOL 62c32c09f3aaf2e161d723e320fdd73f59c752e218186dd617c7a9948d6e3891d0cdccc7b62bfc1868bf5f7f56bc69bf7a040e2f0421c5e0e1ed056513bd3125
+MISC metadata.xml 338 SHA256 ab13a7999f111bbb8f3fe1ee467b6ff70f1f507288e26ec06f81310d7bd407d7 SHA512 5274213ba5e9a2710d7e0d1e11150e45d902e2ac263ef21359046afc774d7fc4b7aea86705a49a0ae39b9adfd6c4103d450ccb737defe2eee1078bf3d3819c51 WHIRLPOOL 10e04dabb54a092b258b528cee8e2706dc875bb6d6b6b4fd443eeac75dd2d8ae877f938b19b93d66bc6786449b7042486999addde52b4b7e865a29806d90bd62
diff --git a/media-sound/jack-rack/files/jack-rack-1.4.5-asneeded.patch b/media-sound/jack-rack/files/jack-rack-1.4.5-asneeded.patch
new file mode 100644
index 000000000000..4a07049f0603
--- /dev/null
+++ b/media-sound/jack-rack/files/jack-rack-1.4.5-asneeded.patch
@@ -0,0 +1,13 @@
+Index: jack-rack-1.4.5/src/Makefile.am
+===================================================================
+--- jack-rack-1.4.5.orig/src/Makefile.am
++++ jack-rack-1.4.5/src/Makefile.am
+@@ -60,7 +60,7 @@ jack_rack_CFLAGS = \
+ -DGNOME_DISABLE_DEPRECATED=1
+
+
+-jack_rack_LDFLAGS = \
++jack_rack_LDADD = \
+ $(JACK_LIBS) \
+ $(GTK_LIBS) \
+ $(GNOMEUI_LIBS) \
diff --git a/media-sound/jack-rack/files/jack-rack-1.4.6-noalsa.patch b/media-sound/jack-rack/files/jack-rack-1.4.6-noalsa.patch
new file mode 100644
index 000000000000..32edf9adf708
--- /dev/null
+++ b/media-sound/jack-rack/files/jack-rack-1.4.6-noalsa.patch
@@ -0,0 +1,23 @@
+This patch allows to build jack-rack with ALSA support disabled.
+See bug #135966.
+
+Index: jack-rack-1.4.6/src/plugin_slot_callbacks.c
+===================================================================
+--- jack-rack-1.4.6.orig/src/plugin_slot_callbacks.c
++++ jack-rack-1.4.6/src/plugin_slot_callbacks.c
+@@ -99,6 +99,7 @@ slot_ablise_cb (GtkWidget * button, GdkE
+
+ return TRUE;
+ }
++#ifdef HAVE_ALSA
+ case 3:
+ {
+ ui_t * ui;
+@@ -119,6 +120,7 @@ slot_ablise_cb (GtkWidget * button, GdkE
+
+ return TRUE;
+ }
++#endif
+ }
+ }
+
diff --git a/media-sound/jack-rack/files/jack-rack-1.4.7-disable_deprecated.patch b/media-sound/jack-rack/files/jack-rack-1.4.7-disable_deprecated.patch
new file mode 100644
index 000000000000..1ddd318235ef
--- /dev/null
+++ b/media-sound/jack-rack/files/jack-rack-1.4.7-disable_deprecated.patch
@@ -0,0 +1,19 @@
+http://bugs.gentoo.org/376899
+
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -53,13 +53,7 @@
+ $(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_LDFLAGS = \
+ $(JACK_LIBS) \
diff --git a/media-sound/jack-rack/files/jack-rack-1.4.8_rc1-noxml.patch b/media-sound/jack-rack/files/jack-rack-1.4.8_rc1-noxml.patch
new file mode 100644
index 000000000000..dd85001c5c77
--- /dev/null
+++ b/media-sound/jack-rack/files/jack-rack-1.4.8_rc1-noxml.patch
@@ -0,0 +1,14 @@
+Index: jack-rack-1.4.8_rc1/src/ui_callbacks.c
+===================================================================
+--- jack-rack-1.4.8_rc1.orig/src/ui_callbacks.c
++++ jack-rack-1.4.8_rc1/src/ui_callbacks.c
+@@ -669,7 +669,9 @@ jack_session_cb (gpointer data)
+
+ ui->js_event->command_line = strdup( cmd_buf );
+
++#ifdef HAVE_XML
+ if (!ui_save_file (ui, fname_buf))
++#endif
+ ui->js_event->flags = JackSessionSaveError;
+
+ jack_session_reply( ui->procinfo->jack_client, ui->js_event );
diff --git a/media-sound/jack-rack/files/jack-rack-1.4.8_rc1-underlinking.patch b/media-sound/jack-rack/files/jack-rack-1.4.8_rc1-underlinking.patch
new file mode 100644
index 000000000000..5c96c01bde57
--- /dev/null
+++ b/media-sound/jack-rack/files/jack-rack-1.4.8_rc1-underlinking.patch
@@ -0,0 +1,13 @@
+This should be applied after Debian 02-gcc45_binutils_gold.patch which adds -ldl, but
+we need also -lm wrt http://bugs.gentoo.org/463696 for exp(), log() and logf()
+
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -62,6 +62,7 @@
+
+
+ LIBS = \
++ -lm \
+ -ldl \
+ $(JACK_LIBS) \
+ $(GTK_LIBS) \
diff --git a/media-sound/jack-rack/jack-rack-1.4.7-r1.ebuild b/media-sound/jack-rack/jack-rack-1.4.7-r1.ebuild
new file mode 100644
index 000000000000..4544e8307c21
--- /dev/null
+++ b/media-sound/jack-rack/jack-rack-1.4.7-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit autotools eutils flag-o-matic toolchain-funcs
+
+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 x86"
+IUSE="alsa gnome lash nls xml"
+
+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}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO WISHLIST )
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-1.4.5-asneeded.patch \
+ "${FILESDIR}"/${PN}-1.4.6-noalsa.patch \
+ "${FILESDIR}"/${PN}-1.4.7-disable_deprecated.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ # Use lrdf.pc to get -I/usr/include/raptor2 (lrdf.h -> raptor.h)
+ use xml && append-cppflags $($(tc-getPKG_CONFIG) --cflags lrdf)
+
+ econf \
+ $(use_enable alsa aseq) \
+ $(use_enable gnome) \
+ $(use_enable lash) \
+ $(use_enable nls) \
+ $(use_enable xml) \
+ $(use_enable xml lrdf)
+}
diff --git a/media-sound/jack-rack/jack-rack-1.4.8_rc1.ebuild b/media-sound/jack-rack/jack-rack-1.4.8_rc1.ebuild
new file mode 100644
index 000000000000..7dc77e26f482
--- /dev/null
+++ b/media-sound/jack-rack/jack-rack-1.4.8_rc1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit autotools eutils flag-o-matic toolchain-funcs
+
+MY_P=${PN}_${PV/_/\~}
+DEB_URI="mirror://debian/pool/main/j/${PN}"
+
+DESCRIPTION="JACK Rack is an effects rack for the JACK low latency audio API"
+HOMEPAGE="http://jack-rack.sourceforge.net/"
+SRC_URI="${DEB_URI}/${MY_P}.orig.tar.gz ${DEB_URI}/${MY_P}-1.debian.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="alsa gnome lash +xml"
+
+RDEPEND=">=x11-libs/gtk+-2.12: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 )
+ virtual/libintl
+ xml? ( dev-libs/libxml2
+ media-libs/liblrdf )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO WISHLIST )
+
+src_unpack() {
+ unpack ${A}
+ mv ${PN}-* "${S}"
+}
+
+src_prepare() {
+ EPATCH_FORCE=yes EPATCH_SUFFIX=patch epatch "${WORKDIR}"/debian/patches
+
+ epatch \
+ "${FILESDIR}"/${PN}-1.4.6-noalsa.patch \
+ "${FILESDIR}"/${PN}-1.4.7-disable_deprecated.patch \
+ "${FILESDIR}"/${P}-noxml.patch \
+ "${FILESDIR}"/${P}-underlinking.patch
+
+ sed -i \
+ -e '/Categories/s:Application:GTK:' \
+ -e '/Icon/s:.png::' \
+ ${PN}.desktop || die
+
+ eautopoint
+ eautoreconf
+}
+
+src_configure() {
+ # Use lrdf.pc to get -I/usr/include/raptor2 (lrdf.h -> raptor.h)
+ use xml && append-cppflags $($(tc-getPKG_CONFIG) --cflags lrdf)
+
+ econf \
+ $(use_enable alsa aseq) \
+ $(use_enable gnome) \
+ $(use_enable lash) \
+ $(use_enable xml) \
+ $(use_enable xml lrdf)
+}
diff --git a/media-sound/jack-rack/metadata.xml b/media-sound/jack-rack/metadata.xml
new file mode 100644
index 000000000000..e8461483bf46
--- /dev/null
+++ b/media-sound/jack-rack/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>proaudio@gentoo.org</email>
+ <name>Gentoo ProAudio Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">jack-rack</remote-id>
+ </upstream>
+</pkgmetadata>