gnome: add `jxl` thumbnails and wallpapers support
This commit is contained in:
parent
aaae297d07
commit
0518f07b8e
|
@ -31,6 +31,7 @@
|
|||
, libgudev
|
||||
, libadwaita
|
||||
, libkrb5
|
||||
, libjxl
|
||||
, libpulseaudio
|
||||
, libpwquality
|
||||
, librsvg
|
||||
|
@ -173,10 +174,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
'';
|
||||
|
||||
postInstall = ''
|
||||
# Pull in WebP support for gnome-backgrounds.
|
||||
# Pull in WebP and JXL support for gnome-backgrounds.
|
||||
# In postInstall to run before gappsWrapperArgsHook.
|
||||
export GDK_PIXBUF_MODULE_FILE="${gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
|
||||
extraLoaders = [
|
||||
libjxl
|
||||
librsvg
|
||||
webp-pixbuf-loader
|
||||
];
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
, unzip
|
||||
, shared-mime-info
|
||||
, libgweather
|
||||
, libjxl
|
||||
, librsvg
|
||||
, webp-pixbuf-loader
|
||||
, geoclue2
|
||||
|
@ -188,10 +189,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
'';
|
||||
|
||||
postInstall = ''
|
||||
# Pull in WebP support for gnome-backgrounds.
|
||||
# Pull in WebP and JXL support for gnome-backgrounds.
|
||||
# In postInstall to run before gappsWrapperArgsHook.
|
||||
export GDK_PIXBUF_MODULE_FILE="${gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
|
||||
extraLoaders = [
|
||||
libjxl
|
||||
librsvg
|
||||
webp-pixbuf-loader
|
||||
];
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
, shared-mime-info
|
||||
, libnotify
|
||||
, libexif
|
||||
, libjxl
|
||||
, libseccomp
|
||||
, librsvg
|
||||
, webp-pixbuf-loader
|
||||
|
@ -106,6 +107,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
gappsWrapperArgs+=(
|
||||
# Thumbnailers
|
||||
--prefix XDG_DATA_DIRS : "${gdk-pixbuf}/share"
|
||||
--prefix XDG_DATA_DIRS : "${libjxl}/share"
|
||||
--prefix XDG_DATA_DIRS : "${librsvg}/share"
|
||||
--prefix XDG_DATA_DIRS : "${webp-pixbuf-loader}/share"
|
||||
--prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
, xdg-desktop-portal
|
||||
, wayland
|
||||
, gnome
|
||||
, libjxl
|
||||
, librsvg
|
||||
, webp-pixbuf-loader
|
||||
}:
|
||||
|
@ -50,10 +51,11 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
postInstall = ''
|
||||
# Pull in WebP support for gnome-backgrounds.
|
||||
# Pull in WebP and JXL support for gnome-backgrounds.
|
||||
# In postInstall to run before gappsWrapperArgsHook.
|
||||
export GDK_PIXBUF_MODULE_FILE="${gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
|
||||
extraLoaders = [
|
||||
libjxl
|
||||
librsvg
|
||||
webp-pixbuf-loader
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue