-
Notifications
You must be signed in to change notification settings - Fork 1
/
mozconfig-flatpak
45 lines (37 loc) · 1.44 KB
/
mozconfig-flatpak
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
### Flatpak-specific options (taken from github.com/flathub/org.mozilla.Thunderbird)
# General configuration options
mk_add_options MOZ_CO_PROJECT=mail
ac_add_options --prefix=/app
ac_add_options --enable-release
export MOZ_NOSPAM=1
# define FLATPAK_COMPILE to enable flatpak-specific patches
export CXXFLAGS="$CXXFLAGS -DFLATPAK_COMPILE -fno-exceptions"
# use system libs if possible
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-system-libvpx
ac_add_options --with-system-bz2=/usr/lib
ac_add_options --with-system-ffi
ac_add_options --enable-system-pixman
# libicu in freedesktop runtime 24.08 does not seem to work
#ac_add_options --with-system-icu
# freedesktop runtime 24.08 does not provide libevent nor libwebp
#ac_add_options --with-system-libevent
#ac_add_options --with-system-webp
# libnss in freedesktop runtime 24.08 is too old
#ac_add_options --with-system-nss
# png lib in freedesktop runtime 24.08 is missing APNG support
#ac_add_options --with-system-png
# build optimizations
ac_add_options --enable-optimize
# Retain debug symbols
#ac_add_options --disable-strip
#ac_add_options --disable-install-strip
# disable debug symbols for now
ac_add_options --disable-debug-symbols
# disable less useful features and minimize dependencies
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-necko-wifi
# Fix python virtualenv
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/builddir