aboutsummaryrefslogtreecommitdiff
path: root/extra/webkit2gtk/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-23 10:41:25 +0300
committerCem Keylan <cem@ckyln.com>2020-09-23 10:41:25 +0300
commit17e16e0a8261764b7a948846a536b3f3f9b01c5e (patch)
tree63f4be3d148949e2bce30a32f638a27e527e918b /extra/webkit2gtk/build
parent98f818a0c901e6df0e0656ffae1bbdfb72f82ee3 (diff)
downloadrepository-17e16e0a8261764b7a948846a536b3f3f9b01c5e.tar.gz
webkit2gtk: bump to 2.30.1
Diffstat (limited to 'extra/webkit2gtk/build')
-rwxr-xr-xextra/webkit2gtk/build15
1 files changed, 8 insertions, 7 deletions
diff --git a/extra/webkit2gtk/build b/extra/webkit2gtk/build
index 4fd15486..a2924f07 100755
--- a/extra/webkit2gtk/build
+++ b/extra/webkit2gtk/build
@@ -6,13 +6,14 @@ sed_i() {
cat _ > "$file"; rm -f _
}
-# Enable streaming related options if gstreamer
-# is installed.
-cpt-list gst-plugins-base && streaming=ON
+# Enable streaming related options if gstreamer is installed.
+cpt-list gst-plugins-base >/dev/null 2>&1 && streaming=ON
-# Enable the use of openjpeg if the package is
-# installed.
-cpt-list openjpeg2 && jpeg=ON
+# Enable the use of openjpeg if the package is installed.
+cpt-list openjpeg2 >/dev/null 2>&1 && jpeg=ON
+
+# Enable webcrypto if libtasn1 is installed.
+cpt-list libtasn1 >/dev/null 2>&1 && libtasn=ON
patch -p1 < fix-musl.patch
@@ -48,7 +49,7 @@ cmake -B build \
-DUSE_OPENJPEG=${jpeg:-OFF} \
-DUSE_WOFF2=OFF \
-DUSE_WPE_RENDERER=OFF \
- -DENABLE_WEB_CRYPTO=OFF \
+ -DENABLE_WEB_CRYPTO=${libtasn:-OFF} \
-DENABLE_MEDIASOURCE=${streaming:-OFF} \
-Wno-dev