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
@@ -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 = ''