Merge pull request #200053 from rodrgz/fuzzelnanosvg

fuzzel: librsvg -> nanosvg
This commit is contained in:
Thiago Kenji Okada 2022-12-03 13:56:41 +00:00 committed by GitHub
commit 1a2415bb32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 6 deletions

View file

@ -11976,6 +11976,12 @@
githubId = 852967;
name = "Russell O'Connor";
};
rodrgz = {
email = "rodrgz@proton.me";
github = "rodrgz";
githubId = 53882428;
name = "Erik Rodriguez";
};
roelvandijk = {
email = "roel@lambdacube.nl";
github = "roelvandijk";

View file

@ -17,7 +17,6 @@
, pngSupport ? true
# Optional dependencies
, cairo
, librsvg
, libpng
}:
@ -51,22 +50,21 @@ stdenv.mkDerivation rec {
tllist
fcft
] ++ lib.optional enableCairo cairo
++ lib.optional pngSupport libpng
++ lib.optional svgSupport librsvg;
++ lib.optional pngSupport libpng;
mesonBuildType = "release";
mesonFlags = [
"-Denable-cairo=${if enableCairo then "enabled" else "disabled"}"
"-Dpng-backend=${if pngSupport then "libpng" else "none"}"
"-Dsvg-backend=${if svgSupport then "librsvg" else "none"}"
"-Dsvg-backend=${if svgSupport then "nanosvg" else "none"}"
];
meta = with lib; {
description = "Wayland-native application launcher, similar to rofis drun mode";
homepage = "https://codeberg.org/dnkl/fuzzel";
license = licenses.mit;
maintainers = with maintainers; [ fionera polykernel ];
license = with licenses; [ mit zlib ];
maintainers = with maintainers; [ fionera polykernel rodrgz ];
platforms = with platforms; linux;
changelog = "https://codeberg.org/dnkl/fuzzel/releases/tag/${version}";
};