aboutsummaryrefslogtreecommitdiff
path: root/testing/webkit2gtk/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-11 12:44:20 +0300
committerCem Keylan <cem@ckyln.com>2020-01-11 12:44:20 +0300
commit06f713cd53c45d260f911270fa3b88c9dc7cc92c (patch)
treefdeb4113842975e0b2516d9ae9842e2dee764e84 /testing/webkit2gtk/build
parentc2d3a38300db0a5052e4f73c77266a0cc4a79111 (diff)
downloadrepository-06f713cd53c45d260f911270fa3b88c9dc7cc92c.tar.gz
webkit2gtk: add to testing
Diffstat (limited to 'testing/webkit2gtk/build')
-rwxr-xr-xtesting/webkit2gtk/build36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/webkit2gtk/build b/testing/webkit2gtk/build
new file mode 100755
index 00000000..99377bef
--- /dev/null
+++ b/testing/webkit2gtk/build
@@ -0,0 +1,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