blob: d2943bb447db997732726673b352f4223701498a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# $NetBSD: options.mk,v 1.6 2019/11/21 23:59:06 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xmp
PKG_SUPPORTED_OPTIONS= alsa pulseaudio
PKG_SUGGESTED_OPTIONS.Linux= alsa
.include "../../mk/bsd.options.mk"
# Alsa support
.if !empty(PKG_OPTIONS:Malsa)
. include "../../audio/alsa-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-alsa
.endif
# Pulseaudio support
.if !empty(PKG_OPTIONS:Mpulseaudio)
CONFIGURE_ARGS+= --enable-pulseaudio
. include "../../audio/pulseaudio/buildlink3.mk"
.endif
|