aboutsummaryrefslogtreecommitdiff
path: root/extra/gtk4/build
blob: 116aa42181f785568168065ce4d49a8ee265c806 (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
#!/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=true \
    -Dwin32-backend=false \
    -Dx11-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