summaryrefslogtreecommitdiff
path: root/audio/amsynth/options.mk
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-04-11 10:56:53 +0000
committernia <nia@pkgsrc.org>2020-04-11 10:56:53 +0000
commit845b2220bd5e45984a04b300bf11ee721446ff4e (patch)
tree139b24d9293077fcaee9eb96a8ce85be8001e85d /audio/amsynth/options.mk
parentbab7620167b11d3c2daaa6eb36ac5287b736af6c (diff)
downloadpkgsrc-845b2220bd5e45984a04b300bf11ee721446ff4e.tar.gz
audio: Add amsynth.
amsynth is an easy-to-use software synth with a classic subtractive synthesizer topology. - Dual oscillators (sine / saw / square / noise) with hard sync - 12/24 dB/oct resonant filter (low-pass / high-pass / band-pass / notch) - Mono / poly / legato keyboard modes - Dual ADSR envelope generators (filter & amplitude) - LFO which can modulate the oscillators, filter, and amplitude - Distortion and reverb
Diffstat (limited to 'audio/amsynth/options.mk')
-rw-r--r--audio/amsynth/options.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/audio/amsynth/options.mk b/audio/amsynth/options.mk
new file mode 100644
index 00000000000..dfcd48fd411
--- /dev/null
+++ b/audio/amsynth/options.mk
@@ -0,0 +1,21 @@
+# $NetBSD: options.mk,v 1.1 2020/04/11 10:56:54 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.amsynth
+PKG_SUPPORTED_OPTIONS= alsa jack
+PKG_SUGGESTED_OPTIONS.Linux= alsa
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Malsa)
+CONFIGURE_ARGS+= --with-alsa
+.include "../../audio/alsa-lib/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-alsa
+.endif
+
+.if !empty(PKG_OPTIONS:Mjack)
+CONFIGURE_ARGS+= --with-jack
+.include "../../audio/jack/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-jack
+.endif