summaryrefslogtreecommitdiff
path: root/multimedia/kmix/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/kmix/options.mk')
-rw-r--r--multimedia/kmix/options.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/multimedia/kmix/options.mk b/multimedia/kmix/options.mk
new file mode 100644
index 00000000000..350fa44998e
--- /dev/null
+++ b/multimedia/kmix/options.mk
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1 2013/04/03 11:13:10 markd Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.kmix
+PKG_SUPPORTED_OPTIONS= pulseaudio alsa
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+.include "../../audio/pulseaudio/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=OFF
+.endif
+
+.if !empty(PKG_OPTIONS:Malsa)
+.include "../../audio/alsa-lib/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DWITH_ALSA:BOOL=OFF
+.endif