blob: 9f08f5f225e1b94f56c05ca12ec7820016076599 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# $NetBSD: options.mk,v 1.9 2018/07/25 12:15:59 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.pulseaudio
PKG_SUPPORTED_OPTIONS= avahi fftw gsettings x11
PKG_SUGGESTED_OPTIONS= avahi x11
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mavahi)
.include "../../net/avahi/buildlink3.mk"
PLIST.avahi= yes
.else
CONFIGURE_ARGS+= --disable-avahi
.endif
.if !empty(PKG_OPTIONS:Mgsettings)
PLIST.gsettings= yes
CONFIGURE_ARGS+= --enable-gsettings
.else
CONFIGURE_ARGS+= --disable-gsettings
.endif
.if !empty(PKG_OPTIONS:Mfftw)
CONFIGURE_ARGS+= --with-fftw
PLIST.fftw= yes
.include "../../lang/python/pyversion.mk"
# manually replace since check_interpreter detests /usr/bin/env
REPLACE_INTERPRETER+= pulse_py
REPLACE.pulse_py.old= .*/usr/bin/env python[^ ]*
REPLACE.pulse_py.new= ${PYTHONBIN}
REPLACE_FILES.pulse_py= src/utils/qpaeq
.include "../../math/fftwf/buildlink3.mk"
.include "../../sysutils/py-dbus/buildlink3.mk"
.include "../../x11/py-qt4/buildlink3.mk"
.include "../../x11/py-sip/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-fftw
.endif
.if !empty(PKG_OPTIONS:Mx11)
.include "../../x11/libICE/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXtst/buildlink3.mk"
.include "../../x11/xorgproto/buildlink3.mk"
PLIST.x11= yes
.else
CONFIGURE_ARGS+= --disable-x11
.endif
|