1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

Merge pull request #240602 from uninsane/gthumb-webservices

gthumb: make the webservices feature be optional
This commit is contained in:
Artturin 2024-07-11 22:27:53 +03:00 committed by GitHub
commit 53fbcae6c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,6 @@
, libwebp
, libX11
, json-glib
, webkitgtk
, lcms2
, bison
, flex
@ -32,6 +31,7 @@
, python3
, desktop-file-utils
, itstool
, withWebservices ? true, webkitgtk
}:
stdenv.mkDerivation rec {
@ -79,11 +79,11 @@ stdenv.mkDerivation rec {
libtiff
libwebp
libX11
webkitgtk
];
] ++ lib.optional withWebservices webkitgtk;
mesonFlags = [
"-Dlibchamplain=true"
(lib.mesonBool "webservices" withWebservices)
];
postPatch = ''