fuzzel: use nanosvg instead librsvg

Nanosvg is a tiny SVG parsing and rasterization library, bundled with fuzzel, thus being sufficient for the package's functionalities, the use of librsvg is unnecessary.
Nanosvg is under the zlib license.
This commit is contained in:
Erik Rodriguez 2022-11-07 13:37:07 -03:00
parent f8006b71da
commit d15b54d045

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}";
};