summaryrefslogtreecommitdiff
path: root/devel/gmtk/options.mk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-01-08 05:42:08 +0000
committerobache <obache@pkgsrc.org>2012-01-08 05:42:08 +0000
commit7439696404a86456241fd743298163dcd614fcae (patch)
tree44224c1b0f6e7e9a41071059a6e7992a1b2213b7 /devel/gmtk/options.mk
parent788dca891bfc53dd744278961d447a79a4088c5e (diff)
downloadpkgsrc-7439696404a86456241fd743298163dcd614fcae.tar.gz
Import gmtk-1.0.5 as devel/gmtk.
Library of common functions and widgets for gnome-mplayer and gecko-mediaplayer.
Diffstat (limited to 'devel/gmtk/options.mk')
-rw-r--r--devel/gmtk/options.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/gmtk/options.mk b/devel/gmtk/options.mk
new file mode 100644
index 00000000000..de9ae22dd32
--- /dev/null
+++ b/devel/gmtk/options.mk
@@ -0,0 +1,27 @@
+# $NetBSD: options.mk,v 1.1.1.1 2012/01/08 05:42:08 obache Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.gmtk
+PKG_SUPPORTED_OPTIONS= alsa pulseaudio
+PKG_SUGGESTED_OPTIONS= pulseaudio
+
+.include "../../mk/bsd.options.mk"
+
+#
+# PulseAudio device and volume support
+#
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+.include "../../audio/pulseaudio/buildlink3.mk"
+CONFIGURE_ARGS+= --with-pulseaudio
+.else
+CONFIGURE_ARGS+= --without-pulseaudio
+.endif
+
+#
+# Read volume from alsa devices
+#
+.if !empty(PKG_OPTIONS:Malsa)
+.include "../../audio/alsa-lib/buildlink3.mk"
+CONFIGURE_ARGS+= --with-alsa
+.else
+CONFIGURE_ARGS+= --without-alsa
+.endif