mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-10 22:30:59 +00:00
@@ -23,6 +23,9 @@
|
|||||||
desktop-file-utils,
|
desktop-file-utils,
|
||||||
libxml2,
|
libxml2,
|
||||||
libsecret,
|
libsecret,
|
||||||
|
gnome,
|
||||||
|
librsvg,
|
||||||
|
webp-pixbuf-loader,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
@@ -51,6 +54,20 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
mesonBuildType = "release";
|
mesonBuildType = "release";
|
||||||
|
|
||||||
|
# Euphonica caches album art as WebP, and gdk-pixbuf's default loaders.cache
|
||||||
|
# doesn't include a WebP loader, causing covers to fail to load repeatedly.
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/557510
|
||||||
|
postInstall = ''
|
||||||
|
export GDK_PIXBUF_MODULE_FILE="${
|
||||||
|
gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
|
||||||
|
extraLoaders = [
|
||||||
|
librsvg
|
||||||
|
webp-pixbuf-loader
|
||||||
|
];
|
||||||
|
}
|
||||||
|
}"
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cargo
|
cargo
|
||||||
meson
|
meson
|
||||||
|
|||||||
Reference in New Issue
Block a user