aboutsummaryrefslogtreecommitdiff
path: root/testing/webkit2gtk/build
blob: 99377bef730fb8a886aff17222df19a818be01ca (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
32
33
34
35
36
#!/bin/sh -e

patch -p1 < u16-fix.patch
patch -p0 < fix-musl.patch

mkdir build
cd build

cmake \
	-DCMAKE_BUILD_TYPE=Release \
	-DENABLE_ACCESSIBILITY=OFF \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_SKIP_RPATH=ON \
	-DPORT=GTK \
	-DLIB_INSTALL_DIR=/usr/lib \
	-DUSE_LIBHYPHEN=OFF \
	-DENABLE_MINIBROWSER=OFF \
	-DUSE_WOFF2=OFF \
	-DUSE_WPE_RENDERER=OFF \
	-DENABLE_INTROSPECTION=OFF \
	-DENABLE_INTL=OFF \
	-DUSE_LIBSECRET=OFF \
	-DUSE_OPENJPEG=OFF \
	-DENABLE_BUBBLEWRAP_SANDBOX=OFF \
	-DENABLE_GEOLOCATION=OFF \
	-DENABLE_SPELLCHECK=OFF \
	-DENABLE_GLES2=ON \
	-DENABLE_VIDEO=OFF \
	-DENABLE_OPENGL=OFF \
	-DENABLE_WEBGL=OFF \
	-DENABLE_WEB_AUDIO=OFF \
	-DUSE_LIBNOTIFY=OFF \
	-Wno-dev -G Ninja ..

ninja
DESTDIR="$1" ninja install