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:
commit
53fbcae6c7
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue