aboutsummaryrefslogtreecommitdiff
path: root/extra/gtk4/build
blob: 53df33e21aa997aefffefc820bf13eab01cc9702 (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
29
30
31
#!/bin/sh -e

export DESTDIR=$1

# Create gtk-doc subproject directory so that meson doesn't try to clone it
# even when we disable it. We also don't really need sass, but there is no
# option to disable it.
mkdir -p subprojects/gtk-doc \
         subprojects/libsass \
         subprojects/sassc

meson \
    --prefix=/usr \
    --sysconfdir=/etc \
    --localstatedir=/var\
    -Dgtk_doc=false \
    -Dwayland-backend="$(cpt l -C wayland true false)" \
    -Dwin32-backend=false \
    -Dintrospection=disabled \
    -Dmedia-gstreamer=disabled \
    -Dsassc=disabled \
    -Dprint-cups=disabled \
    -Ddemos=false \
    -Df16c=disabled \
    -Dbuild-tests=false \
    -Dbuild-examples=false \
    -Dvulkan=disabled \
    . output

ninja -C output
ninja -C output install