summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-08-19 20:32:12 +0000
committerbjs <bjs@pkgsrc.org>2008-08-19 20:32:12 +0000
commit0ab7317830385803cdb41486d8a79fa7bcf1775e (patch)
treecf8e153400483df0c86e2d09799d8e9c17a35f6f
parente2e15dac110d1a2c2c33de3795a9bd7ed88a6e53 (diff)
downloadpkgsrc-0ab7317830385803cdb41486d8a79fa7bcf1775e.tar.gz
Import jack-rack-1.4.7.
JACK Rack is a LADSPA effects rack for the JACK audio API. It uses GTK+ 2 (and optionally GNOME 2) for the GUI, and also understands LRDF XML descriptions of LADSPA plugins.
-rw-r--r--audio/jack-rack/DESCR3
-rw-r--r--audio/jack-rack/Makefile50
-rw-r--r--audio/jack-rack/PLIST18
-rw-r--r--audio/jack-rack/distinfo11
-rw-r--r--audio/jack-rack/patches/patch-aa22
-rw-r--r--audio/jack-rack/patches/patch-ab27
-rw-r--r--audio/jack-rack/patches/patch-ac26
-rw-r--r--audio/jack-rack/patches/patch-ad13
-rw-r--r--audio/jack-rack/patches/patch-ae13
-rw-r--r--audio/jack-rack/patches/patch-af13
10 files changed, 196 insertions, 0 deletions
diff --git a/audio/jack-rack/DESCR b/audio/jack-rack/DESCR
new file mode 100644
index 00000000000..6f845616aee
--- /dev/null
+++ b/audio/jack-rack/DESCR
@@ -0,0 +1,3 @@
+JACK Rack is a LADSPA effects rack for the JACK audio API. It uses
+GTK+ 2 (and optionally GNOME 2) for the GUI, and also understands LRDF
+XML descriptions of LADSPA plugins.
diff --git a/audio/jack-rack/Makefile b/audio/jack-rack/Makefile
new file mode 100644
index 00000000000..83ebd12ff4d
--- /dev/null
+++ b/audio/jack-rack/Makefile
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/08/19 20:32:12 bjs Exp $
+#
+
+DISTNAME= jack-rack-1.4.7
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jack-rack/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= bjs@NetBSD.org
+HOMEPAGE= http://jack-rack.sourceforge.net/
+COMMENT= Effects "rack" for JACK
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_DIRS+= xdg-1.4
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= gmake msgfmt pkg-config
+
+CONFIGURE_ARGS+= --disable-aseq
+CONFIGURE_ARGS+= --disable-lash
+
+BUILD_DEFS+= LADSPA_PLUGIN_PATH
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+###
+### NOTE: this is a colon-delimited list like e.g. PATH.
+###
+LADSPA_PLUGIN_PATH?= ${PREFIX}/lib/ladspa
+
+###
+### XXX This package will not find the headers it wants otherwise.
+###
+CPPFLAGS+= -I${BUILDLINK_PREFIX.glib2}/include/glib
+CPPFLAGS+= -DLADSPA_PATH="\"${LADSPA_PLUGIN_PATH}\""
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ecarack ${DESTDIR}${EGDIR}/ecarack.py
+
+.include "../../textproc/xmlcatmgr/catalogs.mk"
+
+.include "../../audio/jack/buildlink3.mk"
+.include "../../audio/ladspa/buildlink3.mk"
+.include "../../devel/libgnomeui/buildlink3.mk"
+.include "../../textproc/liblrdf/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/jack-rack/PLIST b/audio/jack-rack/PLIST
new file mode 100644
index 00000000000..8e831e9457c
--- /dev/null
+++ b/audio/jack-rack/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/08/19 20:32:12 bjs Exp $
+bin/jack-rack
+share/applications/jack-rack.desktop
+share/examples/jack-rack/ecarack.py
+share/dtds/jack_rack_1.0.dtd
+share/dtds/jack_rack_1.1.dtd
+share/dtds/jack_rack_1.2.dtd
+share/dtds/jack_rack_1.3.dtd
+share/jack-rack/gnome-mixer-small.png
+share/jack-rack/jack-rack-logo.png
+share/jack-rack/jr-cross.png
+share/jack-rack/jr-down-arrow.png
+share/jack-rack/jr-up-arrow.png
+share/locale/de/LC_MESSAGES/jack-rack.mo
+share/locale/fr/LC_MESSAGES/jack-rack.mo
+share/locale/ru/LC_MESSAGES/jack-rack.mo
+share/pixmaps/jack-rack-icon.png
+@dirrm share/jack-rack
diff --git a/audio/jack-rack/distinfo b/audio/jack-rack/distinfo
new file mode 100644
index 00000000000..45e21128742
--- /dev/null
+++ b/audio/jack-rack/distinfo
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/08/19 20:32:12 bjs Exp $
+
+SHA1 (jack-rack-1.4.7.tar.bz2) = 42e0e1b9b42db3249d565c5458f585f16b39974f
+RMD160 (jack-rack-1.4.7.tar.bz2) = 62fcef8d550ce77b241ba15dc249045c3fcfd2d9
+Size (jack-rack-1.4.7.tar.bz2) = 269478 bytes
+SHA1 (patch-aa) = ea5220ef62604fee53d2089eac519e2486e7e258
+SHA1 (patch-ab) = 271d56b3dd81aa740321f3789297b729a5892342
+SHA1 (patch-ac) = 298098e8db150e34145df7c725351086aac32776
+SHA1 (patch-ad) = 0211be4f1e745a64965bf8184660991fa036706d
+SHA1 (patch-ae) = c8c69e8a568b493fb266b12888b4325a955704df
+SHA1 (patch-af) = e119fe8e8877ffc21c8c65954980e1c15845b2ad
diff --git a/audio/jack-rack/patches/patch-aa b/audio/jack-rack/patches/patch-aa
new file mode 100644
index 00000000000..67ef4a6f225
--- /dev/null
+++ b/audio/jack-rack/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/08/19 20:32:12 bjs Exp $
+
+Allow this to build without ALSA.
+
+--- src/plugin_slot_callbacks.c.orig 2007-11-18 08:13:49.000000000 -0500
++++ 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/audio/jack-rack/patches/patch-ab b/audio/jack-rack/patches/patch-ab
new file mode 100644
index 00000000000..b919958bd3b
--- /dev/null
+++ b/audio/jack-rack/patches/patch-ab
@@ -0,0 +1,27 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/08/19 20:32:12 bjs Exp $
+
+Remove *_DISABLE_DEPRECATED--how will the package know what is
+deprecated and what isn't in the future?
+
+Use LDADD as appropriate for libtool.
+
+--- src/Makefile.am.orig 2007-11-18 08:14:07.000000000 -0500
++++ src/Makefile.am
+@@ -53,15 +53,10 @@ 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_LDFLAGS = \
++jack_rack_LDADD = \
+ $(JACK_LIBS) \
+ $(GTK_LIBS) \
+ $(GNOMEUI_LIBS) \
diff --git a/audio/jack-rack/patches/patch-ac b/audio/jack-rack/patches/patch-ac
new file mode 100644
index 00000000000..651ede2fd46
--- /dev/null
+++ b/audio/jack-rack/patches/patch-ac
@@ -0,0 +1,26 @@
+$NetBSD: patch-ac,v 1.1.1.1 2008/08/19 20:32:12 bjs Exp $
+
+Remove *_DISABLE_DEPRECATED--how will the package know what is
+deprecated and what isn't in the future?
+
+Use LDADD as appropriate for libtool.
+
+--- src/Makefile.in.orig 2007-11-26 17:24:06.000000000 -0500
++++ src/Makefile.in
+@@ -261,14 +261,9 @@ 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_LDFLAGS = \
++jack_rack_LDADD = \
+ $(JACK_LIBS) \
+ $(GTK_LIBS) \
+ $(GNOMEUI_LIBS) \
diff --git a/audio/jack-rack/patches/patch-ad b/audio/jack-rack/patches/patch-ad
new file mode 100644
index 00000000000..1e8ae34eca3
--- /dev/null
+++ b/audio/jack-rack/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2008/08/19 20:32:12 bjs Exp $
+
+--- Makefile.am.orig 2007-07-27 11:19:38.000000000 -0400
++++ Makefile.am
+@@ -7,7 +7,7 @@ EXTRA_DIST = config.rpath mkinstalldirs
+ jack-rack.desktop \
+ ecarack
+
+-bin_SCRIPTS = ecarack
++#bin_SCRIPTS = ecarack
+
+ desktopdir = $(datadir)/applications
+
diff --git a/audio/jack-rack/patches/patch-ae b/audio/jack-rack/patches/patch-ae
new file mode 100644
index 00000000000..c93dcf9cc51
--- /dev/null
+++ b/audio/jack-rack/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2008/08/19 20:32:12 bjs Exp $
+
+--- Makefile.in.orig 2007-11-26 17:24:06.000000000 -0500
++++ Makefile.in
+@@ -623,7 +623,7 @@ info-am:
+
+ install-data-am: install-desktopDATA
+
+-install-exec-am: install-binSCRIPTS
++install-exec-am:
+
+ install-info: install-info-recursive
+
diff --git a/audio/jack-rack/patches/patch-af b/audio/jack-rack/patches/patch-af
new file mode 100644
index 00000000000..b14c2346b1a
--- /dev/null
+++ b/audio/jack-rack/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 2008/08/19 20:32:12 bjs Exp $
+
+--- src/plugin_mgr.c.orig 2007-11-18 08:13:49.000000000 -0500
++++ src/plugin_mgr.c
+@@ -206,7 +206,7 @@ plugin_mgr_get_path_plugins (ui_t * ui,
+
+ ladspa_path = g_strdup (getenv ("LADSPA_PATH"));
+ if (!ladspa_path)
+- ladspa_path = g_strdup ("/usr/local/lib/ladspa:/usr/lib/ladspa");
++ ladspa_path = g_strdup (LADSPA_PATH);
+
+ dir = strtok (ladspa_path, ":");
+ do