Package Details: webkit2gtk 2.50.6-7

Git Clone URL: https://aur.archlinux.org/webkit2gtk.git (read-only, click to copy)
Package Base: webkit2gtk
Description: Web content engine for GTK
Upstream URL: https://webkitgtk.org
Licenses: MIT, ISC, OFL-1.1, ICU, Apache-2.0, NCSA, BSD-3-Clause, BSD-2-Clause, BSL-1.0, MPL-1.1, MPL-2.0, GPL-2.0-only, LGPL-2.1-or-later, LGPL-2.1-only, BSD-2-Clause-Views, Apache-2.0 WITH LLVM-exception, AFL-2.0 OR GPL-2.0-or-later, BSD-Source-Code, bzip2-1.0.6, GPL-3.0-only WITH Autoconf-exception-3.0, GPL-3.0-or-later WITH Bison-exception-2.2, NCSA OR MIT, SunPro, Unicode-TOU
Provides: libjavascriptcoregtk-4.0.so, libwebkit2gtk-4.0.so
Submitter: andreas_baumann
Maintainer: andreas_baumann
Last Packager: andreas_baumann
Votes: 19
Popularity: 11.12
First Submitted: 2026-04-10 12:35 (UTC)
Last Updated: 2026-04-28 16:18 (UTC)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

ironhak commented on 2026-04-26 20:36 (UTC)

why this takes SO long to build

guglovich commented on 2026-04-26 20:31 (UTC)

[ 99%] Built target WebKit make[2]: *** Нет правила для сборки цели «JavaScriptCore-4.0.gir», требуемой для «WebKit2WebExtension-4.0.gir». Останов. make[1]: *** [CMakeFiles/Makefile2:2490: Source/WebKit/CMakeFiles/typelib-WebKit2WebExtension.dir/all] Ошибка 2 make: *** [Makefile:156: all] Ошибка 2 ==> ОШИБКА: Произошел сбой в build(). Прерывание...

I spent several hours in single-thread mode, but the error

slav commented on 2026-04-26 19:43 (UTC)

thank you @mvolfik now icaclient recognise dependency of webkit2gtk-is-webkit2gtk-4-1

DanielWeiner commented on 2026-04-26 18:53 (UTC)

Build time was excessive on a single core. I set CMAKE_BUILD_PARALLEL_LEVEL=12 to speed it up, and it took 35min. It succeeded on my 32GB RAM machine without OOM crashes, but peak memory ate into just under 1GB of swap. For lower-RAM machines, I'd recommend setting it to something like CMAKE_BUILD_PARALLEL_LEVEL=8.

diff --git a/PKGBUILD b/PKGBUILD
index 117381d..ff77634 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -148,6 +148,7 @@ build() {
   # Upstream prefers Clang
   # https://gitlab.archlinux.org/archlinux/packaging/packages/webkitgtk-6.0/-/issues/4
   export CC=clang CXX=clang++
+  export CMAKE_BUILD_PARALLEL_LEVEL=12
   LDFLAGS+=" -fuse-ld=lld"

   # Skia uses malloc_usable_size

mvolfik commented on 2026-04-26 17:27 (UTC) (edited on 2026-04-26 17:30 (UTC) by mvolfik)

Hey there, it seems like we all started using this package because webkit2gtk was removed from extra [Gitlab thread], and only webkit2gtk-4.1 is now provided. Official repo packages were prepared for it, but not AUR, and I believe the 4.1 package should be completely sufficient in most cases (works for me, at least). For this, I created the package webkit2gtk-is-webkit2gtk-4-1, which satisfies the webkit2gtk dependency, but just pulls the 4.1 package from extra as a dependency. Hope this helps, let me know in the comments there if something breaks, or how to better integrate this with other packages, it's my first package :D

un_pogaz commented on 2026-04-26 14:54 (UTC)

Like @fam007e, I can confirme that disable Ninja as genereator for the cmake command in the PKGBUILD allow to compile normaly and passing the failure point when my PC freeze/crash (and need a forced reboot) due to excessive use of resources.

Completly disable Ninja seems unreasonable to me because without it the compilation take age, but something need to be done and so my naive/amateur recomendation it to look inside of Ninja configuration to not allow it to uses up all the resources.

moormaster commented on 2026-04-26 13:03 (UTC)

Thanks for the updates - seems to be good for me now.

tee commented on 2026-04-26 12:19 (UTC)

the chaotic-aur repo provides webkit2gtk-imgpaste which is a patched version of webkit2gtk.

https://archlinux.pkgs.org/rolling/chaotic-aur-x86_64/webkit2gtk-imgpaste-2.50.5-1.2-x86_64.pkg.tar.zst.html

https://builds.garudalinux.org/repos/chaotic-aur/x86_64/webkit2gtk-imgpaste-2.50.5-1.2-x86_64.pkg.tar.zst

ArKay commented on 2026-04-26 11:08 (UTC)

Not looking forward to updating and building this everyday now (3rd day I think), slows down the update process immensely. Are there binaries I could use instead?

ddt-aur commented on 2026-04-26 09:31 (UTC) (edited on 2026-04-26 09:34 (UTC) by ddt-aur)

In this changeset https://aur.archlinux.org/cgit/aur.git/commit/?h=webkit2gtk&id=5ea65723a9074893a4b2d0459af1ac5fd8fe2ad2

+ptions=(!lto) should probably be +options=(!lto)