Commit d15b54d0 authored by Erik Rodriguez's avatar Erik Rodriguez
Browse files

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.
parent f8006b71
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -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 rofi’s 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}";
  };