diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2022-07-24 06:07:44 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2022-09-20 19:35:24 +0200 |
commit | b66c75e1e8c942b6245a695e9e748bb5bac18703 (patch) | |
tree | 573116441226246f43d3ed45fa51b916b1426e61 /pkgs/development/libraries/webkitgtk | |
parent | 1f1e2a6dd6261ae029fceda49d874f0f68027c27 (diff) |
webkitgtk_5_0: init
Diffstat (limited to 'pkgs/development/libraries/webkitgtk')
-rw-r--r-- | pkgs/development/libraries/webkitgtk/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/webkitgtk/default.nix b/pkgs/development/libraries/webkitgtk/default.nix index a8190ffb3928a..87b216e82f9aa 100644 --- a/pkgs/development/libraries/webkitgtk/default.nix +++ b/pkgs/development/libraries/webkitgtk/default.nix @@ -18,6 +18,7 @@ , libgpg-error , gtk3 , wayland +, wayland-protocols , libwebp , libwpe , libwpe-fdo @@ -179,6 +180,9 @@ stdenv.mkDerivation rec { geoclue2 ] ++ lib.optionals withLibsecret [ libsecret + ] ++ lib.optionals (lib.versionAtLeast gtk3.version "4.0") [ + xorg.libXcomposite + wayland-protocols ]; propagatedBuildInputs = [ @@ -206,6 +210,8 @@ stdenv.mkDerivation rec { "-DUSE_APPLE_ICU=OFF" "-DUSE_OPENGL_OR_ES=OFF" "-DUSE_SYSTEM_MALLOC=ON" + ] ++ lib.optionals (lib.versionAtLeast gtk3.version "4.0") [ + "-DUSE_GTK4=ON" ] ++ lib.optionals (!systemdSupport) [ "-DUSE_SYSTEMD=OFF" ] ++ lib.optionals (stdenv.isLinux && enableGLES) [ |