summaryrefslogtreecommitdiff
path: root/audio/jack/buildlink3.mk
diff options
context:
space:
mode:
authorbjs <bjs>2008-07-31 03:58:05 +0000
committerbjs <bjs>2008-07-31 03:58:05 +0000
commit05179c3eb5d83bb5fcc21cf7a16f5604ed2ffcc8 (patch)
tree770e17b43c12b69ad42039e9b44224ca64c912e0 /audio/jack/buildlink3.mk
parentab1f3566fc446a4f0e4b12ea9b132bcd4b7eca93 (diff)
downloadpkgsrc-05179c3eb5d83bb5fcc21cf7a16f5604ed2ffcc8.tar.gz
Move audio/jack-devel to audio/jack: jack 0.100.0 was broken on many
platforms and a hideous anachronism. On NetBSD-current/i386 and amd64, at least, I can say that this package works very well. If you have issues with the audio skipping and are running NetBSD 4.99.x, try updating to rev. 1.241 of sys/dev/audio.c; the changes to audio_poll() and the pause attribute handling (in large part thanks to help from jakemsr@openbsd.org) are important for proper functioning of jack (though you may find it works regardless, depending upon your audio driver, how demanding your "workload" is, etc.). I will submit a pullup request for this change for NetBSD 4 as well. JACK now supports both our native audio API and OSS--I recommend trying both.
Diffstat (limited to 'audio/jack/buildlink3.mk')
-rw-r--r--audio/jack/buildlink3.mk15
1 files changed, 9 insertions, 6 deletions
diff --git a/audio/jack/buildlink3.mk b/audio/jack/buildlink3.mk
index 025cac90a2d..b2d21d14629 100644
--- a/audio/jack/buildlink3.mk
+++ b/audio/jack/buildlink3.mk
@@ -1,10 +1,9 @@
-# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:10:36 jlam Exp $
-#
+# $NetBSD: buildlink3.mk,v 1.4 2008/07/31 03:58:05 bjs Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
JACK_BUILDLINK3_MK:= ${JACK_BUILDLINK3_MK}+
-.if !empty(BUILDLINK_DEPTH:M+)
+.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= jack
.endif
@@ -12,9 +11,13 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Njack}
BUILDLINK_PACKAGES+= jack
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}jack
-.if !empty(JACK_BUILDLINK3_MK:M+)
-BUILDLINK_API_DEPENDS.jack= jack>=0.100.0
+.if ${JACK_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.jack+= jack>=0.110.0
BUILDLINK_PKGSRCDIR.jack?= ../../audio/jack
+DLOPEN_REQUIRE_PTHREADS= yes
.endif # JACK_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+.include "../../audio/libsamplerate/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}