]> gitweb @ CieloNegro.org - pkgsrc-jack.git/commitdiff
initial (broken) revision master
authorPHO <pho@cielonegro.org>
Wed, 6 Oct 2010 20:04:59 +0000 (05:04 +0900)
committerPHO <pho@cielonegro.org>
Wed, 6 Oct 2010 20:04:59 +0000 (05:04 +0900)
DESCR [new file with mode: 0644]
Makefile [new file with mode: 0644]
PLIST [new file with mode: 0644]
buildlink3.mk [new file with mode: 0644]
distinfo [new file with mode: 0644]
files/waf-1.5.19 [new file with mode: 0755]

diff --git a/DESCR b/DESCR
new file mode 100644 (file)
index 0000000..1e14886
--- /dev/null
+++ b/DESCR
@@ -0,0 +1,10 @@
+JACK is a low-latency audio server, written for any operating system
+that is reasonably POSIX compliant. It currently exists for Linux, OS
+X, Solaris, FreeBSD and Windows. It can connect several client
+applications to an audio device, and allow them to share audio with
+each other. Clients can run as separate processes like normal
+applications, or within the JACK server as "plugins".
+
+JACK was designed from the ground up for professional audio work, and
+its design focuses on two key areas: synchronous execution of all
+clients, and low latency operation.
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..41dc90e
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,62 @@
+# $NetBSD$
+#
+
+DISTNAME=      jack-1.9.5
+CATEGORIES=    audio
+MASTER_SITES=  http://www.grame.fr/~letz/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    pho@cielonegro.org
+HOMEPAGE=      http://jackaudio.org/
+COMMENT=       JACK low-latency audio server (JACK2)
+LICENSE=       gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_TOOLS+=    pkg-config
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+=   jack.pc.in
+
+# Only for ./waf
+PYTHON_FOR_BUILD_ONLY= yes
+
+# -----------------------------------------
+# Tweak PLIST depending on the platforms...
+#
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+=   darwin
+
+.if ${OPSYS} == "Darwin"
+PLIST.darwin=  yes
+.endif
+
+PRINT_PLIST_AWK+= \
+       /^lib\/jack\/jack_core(audio|midi)\.so$$/ { print "$${PLIST.darwin}" $$0; next; } \
+       /\.dylib(\.[0-9]+)*$$/ { print "$${PLIST.darwin}" $$0; next; }
+# -----------------------------------------
+
+# The bundled waf 1.5.0 is too old for Darwin.
+post-extract:
+       ${CP} ${FILESDIR}/waf-1.5.19 ${WRKSRC}/waf
+
+do-configure:
+       ${RUN} cd ${WRKSRC} && \
+               ./waf configure --prefix=${PREFIX:Q}
+
+do-build:
+       ${RUN} cd ${WRKSRC} && \
+               ./waf build
+
+do-install:
+       ${RUN} cd ${WRKSRC} && \
+               ./waf install --destdir=${DESTDIR:Q}
+
+.include "../../audio/celt/buildlink3.mk" #
+.include "../../audio/libsamplerate/buildlink3.mk" #
+.include "../../audio/libsndfile/buildlink3.mk" #
+.include "../../devel/ncurses/buildlink3.mk" #
+.include "../../devel/readline/buildlink3.mk" # make them options (and more)
+.include "../../lang/python/pyversion.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/PLIST b/PLIST
new file mode 100644 (file)
index 0000000..702abf9
--- /dev/null
+++ b/PLIST
@@ -0,0 +1,62 @@
+@comment $NetBSD$
+bin/jack_alias
+bin/jack_bufsize
+bin/jack_connect
+bin/jack_control
+bin/jack_cpu
+bin/jack_cpu_load
+bin/jack_delay
+bin/jack_disconnect
+bin/jack_evmon
+bin/jack_freewheel
+bin/jack_load
+bin/jack_lsp
+bin/jack_metro
+bin/jack_midiseq
+bin/jack_midisine
+bin/jack_monitor_client
+bin/jack_multiple_metro
+bin/jack_netsource
+bin/jack_rec
+bin/jack_samplerate
+bin/jack_server_control
+bin/jack_showtime
+bin/jack_simple_client
+bin/jack_test
+bin/jack_thru
+bin/jack_transport
+bin/jack_unload
+bin/jack_wait
+bin/jack_zombie
+bin/jackd
+include/jack/control.h
+include/jack/intclient.h
+include/jack/jack.h
+include/jack/jslist.h
+include/jack/midiport.h
+include/jack/ringbuffer.h
+include/jack/statistics.h
+include/jack/systemdeps.h
+include/jack/thread.h
+include/jack/transport.h
+include/jack/types.h
+include/jack/weakjack.h
+include/jack/weakmacros.h
+lib/jack/audioadapter.so
+lib/jack/inprocess.so
+${PLIST.darwin}lib/jack/jack_coreaudio.so
+${PLIST.darwin}lib/jack/jack_coremidi.so
+lib/jack/jack_dummy.so
+lib/jack/jack_loopback.so
+lib/jack/jack_net.so
+lib/jack/jack_netone.so
+lib/jack/netadapter.so
+lib/jack/netmanager.so
+lib/jack/profiler.so
+${PLIST.darwin}lib/libjack.dylib
+${PLIST.darwin}lib/libjack.dylib.0
+${PLIST.darwin}lib/libjack.dylib.0.1.0
+${PLIST.darwin}lib/libjackserver.dylib
+${PLIST.darwin}lib/libjackserver.dylib.0
+${PLIST.darwin}lib/libjackserver.dylib.0.1.0
+lib/pkgconfig/jack.pc
diff --git a/buildlink3.mk b/buildlink3.mk
new file mode 100644 (file)
index 0000000..070a2ac
--- /dev/null
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=       jack
+
+.if !defined(JACK_BUILDLINK3_MK)
+JACK_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.jack+=   jack>=1.9.5
+BUILDLINK_PKGSRCDIR.jack?=     ../../wip/jack
+
+#.include "../../audio/celt/buildlink3.mk"
+#.include "../../audio/libsamplerate/buildlink3.mk"
+#.include "../../audio/libsndfile/buildlink3.mk"
+#.include "../../devel/ncurses/buildlink3.mk"
+#.include "../../devel/readline/buildlink3.mk"
+.endif # JACK_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -jack
diff --git a/distinfo b/distinfo
new file mode 100644 (file)
index 0000000..2fb2f6e
--- /dev/null
+++ b/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (jack-1.9.5.tar.bz2) = d8f7ade5a9e858367d26b4e074c8e00a596ef1d4
+RMD160 (jack-1.9.5.tar.bz2) = 6af8028a57ab11130d9b236c5a87906c0b388a8c
+Size (jack-1.9.5.tar.bz2) = 2480056 bytes
diff --git a/files/waf-1.5.19 b/files/waf-1.5.19
new file mode 100755 (executable)
index 0000000..212113d
Binary files /dev/null and b/files/waf-1.5.19 differ