]> git.armaanb.net Git - asd-repo.git/commitdiff
webkit2gtk: new package at 2.32.1
authorArmaan Bhojwani <me@armaanb.net>
Fri, 2 Jul 2021 20:35:43 +0000 (16:35 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Fri, 2 Jul 2021 20:36:17 +0000 (16:36 -0400)
webkit2gtk/build [new file with mode: 0755]
webkit2gtk/checksums [new file with mode: 0644]
webkit2gtk/depends [new file with mode: 0644]
webkit2gtk/sources [new file with mode: 0644]
webkit2gtk/version [new file with mode: 0644]

diff --git a/webkit2gtk/build b/webkit2gtk/build
new file mode 100755 (executable)
index 0000000..e7f85cd
--- /dev/null
@@ -0,0 +1,43 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+# Remove gettext requirement.
+sed -i 's/ngettext/printf/g' Tools/MiniBrowser/gtk/BrowserDownloadsBar.c
+sed -i '/po_files \*\.po/d'  Source/WebCore/platform/gtk/po/CMakeLists.txt
+sed -i '/^GETTEXT_C/d'       Source/WebCore/platform/gtk/po/CMakeLists.txt
+
+# Fix clang build.
+sed -i '/LC_ALL/d'       Source/JavaScriptCore/jsc.cpp
+sed -i '/WTFLogAlways/d' Source/JavaScriptCore/jsc.cpp
+
+cmake -B build \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_SKIP_RPATH=ON \
+    -DENABLE_BUBBLEWRAP_SANDBOX=OFF \
+    -DENABLE_GAMEPAD=OFF \
+    -DENABLE_GEOLOCATION=OFF \
+    -DENABLE_GLES2=ON \
+    -DENABLE_INTROSPECTION=OFF \
+    -DENABLE_MINIBROWSER=OFF \
+    -DENABLE_SAMPLING_PROFILER=OFF \
+    -DENABLE_SPELLCHECK=OFF \
+    -DENABLE_VIDEO=OFF \
+    -DENABLE_WEB_AUDIO=OFF \
+    -DENABLE_WEB_CRYPTO=OFF \
+    -DLIB_INSTALL_DIR=/usr/lib \
+    -DPORT=GTK \
+    -DUSE_GSTREAMER_GL=OFF \
+    -DUSE_LIBHYPHEN=OFF \
+    -DUSE_LIBNOTIFY=OFF \
+    -DUSE_LIBSECRET=OFF \
+    -DUSE_OPENJPEG=ON \
+    -DUSE_SYSTEMD=OFF \
+    -DUSE_WOFF2=OFF \
+    -DUSE_WPE_RENDERER=OFF \
+    -Wno-dev
+
+cmake --build   build
+cmake --install build
diff --git a/webkit2gtk/checksums b/webkit2gtk/checksums
new file mode 100644 (file)
index 0000000..d54dac3
--- /dev/null
@@ -0,0 +1 @@
+136117317f70f66486f71b8edf5e46f8776403c5d8a296e914b11a36ef836917
diff --git a/webkit2gtk/depends b/webkit2gtk/depends
new file mode 100644 (file)
index 0000000..5b17708
--- /dev/null
@@ -0,0 +1,17 @@
+cairo
+cmake  make
+glib-networking
+gperf  make
+gtk+3
+harfbuzz-icu
+libXt
+libgcrypt
+libsoup
+libwebp
+libxslt
+mesa
+openjpeg2
+perl   make
+python make
+ruby   make
+sqlite
diff --git a/webkit2gtk/sources b/webkit2gtk/sources
new file mode 100644 (file)
index 0000000..44800c4
--- /dev/null
@@ -0,0 +1 @@
+https://webkitgtk.org/releases/webkitgtk-2.32.1.tar.xz
diff --git a/webkit2gtk/version b/webkit2gtk/version
new file mode 100644 (file)
index 0000000..0bada59
--- /dev/null
@@ -0,0 +1 @@
+2.32.1 1