aboutsummaryrefslogtreecommitdiff
path: root/extra/gtk4/build
blob: 92826cbcd596a701ba5ba4528171968cc3a9365e (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
#!/bin/sh -e

export DESTDIR="$1"
export LD=ld.bfd

# Disable usage of execinfo on the testsuite
clsed '/#ifndef G_OS_WIN32/c#if !defined(G_OS_WIN32) && defined(__GLIBC__)' \
    testsuite/reftests/gtk-reftest.c

cl-meson \
    -Dgtk_doc=false \
    -Dwayland-backend="$(cpt l -C wayland true false)" \
    -Dwin32-backend=false \
    -Dintrospection=disabled \
    -Dmedia-gstreamer=disabled \
    -Dprint-cups=disabled \
    -Ddemos=false \
    -Df16c=disabled \
    -Dbuild-tests=false \
    -Dbuild-examples=false \
    -Dvulkan=disabled \
    . output

ninja -C output
ninja -C output install