diff options
author | markd <markd@pkgsrc.org> | 2011-02-25 20:37:56 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2011-02-25 20:37:56 +0000 |
commit | a47a71a6a4086d549a2a0b43f76046f8e3c06204 (patch) | |
tree | b6b17e71dbb05ad57c51dcef88aa972e897edc36 /multimedia | |
parent | 3aeb891f9f459caa232ee8c45260e9bd772e6027 (diff) | |
download | pkgsrc-a47a71a6a4086d549a2a0b43f76046f8e3c06204.tar.gz |
Add alsa option.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/kdemultimedia4/options.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/kdemultimedia4/options.mk b/multimedia/kdemultimedia4/options.mk index bbebc498692..10fd31c536b 100644 --- a/multimedia/kdemultimedia4/options.mk +++ b/multimedia/kdemultimedia4/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.1.1.1 2009/10/02 20:25:35 markd Exp $ +# $NetBSD: options.mk,v 1.2 2011/02/25 20:39:24 markd Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.kdemultimedia -PKG_SUPPORTED_OPTIONS= pulseaudio +PKG_SUPPORTED_OPTIONS= pulseaudio alsa PKG_SUGGESTED_OPTIONS= .include "../../mk/bsd.options.mk" @@ -11,3 +11,9 @@ PKG_SUGGESTED_OPTIONS= .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 |