aboutsummaryrefslogtreecommitdiff
path: root/extra/gtk+3/build
blob: 0f603f16eb9ba8f5cff5cce0650e5802cbce411e (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
#!/bin/sh -e

export DESTDIR="$1"

# Remove error on array-bounds
clsed '/array-bounds/d' meson.build

# Remove 'atk-bridge' dependency which removes the 'dbus' dependency.
clsed '/atk-bridge-2/d' meson.build

clsed '/<atk-bridge.h>/d;/atk_bridge_adaptor_init/d' \
    gtk/a11y/gtkaccessibility.c

tests=false; [ "$CPT_TEST" = 1 ] && tests=true

cl-meson \
    -Ddefault_library=both \
    -Dxinerama=yes \
    -Dx11_backend=false \
    -Dwayland_backend=true \
    -Dprint_backends=file \
    -Ddemos=false \
    -Dexamples=false \
    -Dtests="$tests" \
    . output

ninja -C output
ninja -C output install