diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2024-06-06 16:39:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-06 16:39:56 +0200 |
commit | 2d23e86d9f37a84c1b4e51659e4757339a2fe350 (patch) | |
tree | f737312dcce9d74006e1154d1712e5e326ab3bf3 | |
parent | f3d425d36fad9a095eee5853167fe80c97b112f0 (diff) | |
parent | 9ee851341fccb9476e7c26b8e5662a40091f05d1 (diff) |
Merge pull request #280554 from lilyinstarlight/feature/webkitgtk-experimental-features-switch
-rw-r--r-- | pkgs/development/libraries/webkitgtk/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/libraries/webkitgtk/default.nix b/pkgs/development/libraries/webkitgtk/default.nix index cbe910b4469ed..98c28ca67997d 100644 --- a/pkgs/development/libraries/webkitgtk/default.nix +++ b/pkgs/development/libraries/webkitgtk/default.nix @@ -48,6 +48,8 @@ , lcms2 , libmanette , geoclue2 +, flite +, openssl , sqlite , gst-plugins-base , gst-plugins-bad @@ -62,6 +64,7 @@ , unifdef , addOpenGLRunpath , enableGeoLocation ? true +, enableExperimental ? false , withLibsecret ? true , systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd , testers @@ -165,6 +168,9 @@ stdenv.mkDerivation (finalAttrs: { systemd ] ++ lib.optionals enableGeoLocation [ geoclue2 + ] ++ lib.optionals enableExperimental [ + flite + openssl ] ++ lib.optionals withLibsecret [ libsecret ] ++ lib.optionals (lib.versionAtLeast gtk3.version "4.0") [ @@ -184,6 +190,7 @@ stdenv.mkDerivation (finalAttrs: { "-DUSE_LIBHYPHEN=OFF" "-DUSE_SOUP2=${cmakeBool (lib.versions.major libsoup.version == "2")}" "-DUSE_LIBSECRET=${cmakeBool withLibsecret}" + "-DENABLE_EXPERIMENTAL_FEATURES=${cmakeBool enableExperimental}" ] ++ lib.optionals stdenv.isLinux [ # Have to be explicitly specified when cross. # https://github.com/WebKit/WebKit/commit/a84036c6d1d66d723f217a4c29eee76f2039a353 |