blob: 1bd55b134a425d399ddd51365217a2faebf03318 (
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=true \
-Dwayland_backend="$(cpt l -C wayland true false)" \
-Dprint_backends=file \
-Ddemos=false \
-Dexamples=false \
-Dtests="$tests" \
. output
ninja -C output
ninja -C output install
|