blob: 44989970feceb24818db5ac4655951c4fd57a3de (
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
|
# $NetBSD: options.mk,v 1.2 2020/01/25 17:12:17 fox Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cliqz
PKG_SUPPORTED_OPTIONS= alsa pulseaudio dbus wayland
PKG_SUGGESTED_OPTIONS+= pulseaudio dbus
.include "../../devel/wayland/platform.mk"
.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
PKG_SUGGESTED_OPTIONS+= wayland
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Malsa)
MOZ_CONFIGURE_ARGS+= "ac_add_options --enable-alsa"
.include "../../audio/alsa-lib/buildlink3.mk"
.else
MOZ_CONFIGURE_ARGS+= "ac_add_options --disable-alsa"
.endif
.if !empty(PKG_OPTIONS:Mpulseaudio)
.include "../../audio/pulseaudio/buildlink3.mk"
MOZ_CONFIGURE_ARGS+= "ac_add_options --enable-pulseaudio"
.else
MOZ_CONFIGURE_ARGS+= "ac_add_options --disable-pulseaudio"
.endif
.if !empty(PKG_OPTIONS:Mdbus)
.include "../../sysutils/dbus-glib/buildlink3.mk"
MOZ_CONFIGURE_ARGS+= "ac_add_options --enable-dbus"
.else
MOZ_CONFIGURE_ARGS+= "ac_add_options --disable-dbus"
.endif
PLIST_VARS+= wayland
.if !empty(PKG_OPTIONS:Mwayland)
# \todo Instead of using an option, determine if gtk3 was built with wayland.
PLIST.wayland= yes
.endif
|