diff options
author | obache <obache@pkgsrc.org> | 2012-01-08 05:42:08 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-01-08 05:42:08 +0000 |
commit | 7439696404a86456241fd743298163dcd614fcae (patch) | |
tree | 44224c1b0f6e7e9a41071059a6e7992a1b2213b7 /devel/gmtk/options.mk | |
parent | 788dca891bfc53dd744278961d447a79a4088c5e (diff) | |
download | pkgsrc-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.mk | 27 |
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 |