swaybg: add webp support
This commit is contained in:
parent
89d01f29ee
commit
d5953612a4
@ -10,6 +10,8 @@
|
|||||||
wayland-protocols,
|
wayland-protocols,
|
||||||
cairo,
|
cairo,
|
||||||
gdk-pixbuf,
|
gdk-pixbuf,
|
||||||
|
gnome,
|
||||||
|
webp-pixbuf-loader,
|
||||||
wayland-scanner,
|
wayland-scanner,
|
||||||
wrapGAppsNoGuiHook,
|
wrapGAppsNoGuiHook,
|
||||||
librsvg,
|
librsvg,
|
||||||
@ -50,6 +52,18 @@ stdenv.mkDerivation rec {
|
|||||||
"-Dman-pages=enabled"
|
"-Dman-pages=enabled"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# add support for webp
|
||||||
|
postInstall = ''
|
||||||
|
export GDK_PIXBUF_MODULE_FILE="${
|
||||||
|
gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
|
||||||
|
extraLoaders = [
|
||||||
|
librsvg
|
||||||
|
webp-pixbuf-loader
|
||||||
|
];
|
||||||
|
}
|
||||||
|
}"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Wallpaper tool for Wayland compositors";
|
description = "Wallpaper tool for Wayland compositors";
|
||||||
inherit (src.meta) homepage;
|
inherit (src.meta) homepage;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user