gnu: mate: Depend on gnome-keyring only on supported systems.

This lets us build Mate on i686-linux.

* gnu/packages/mate.scm (mate)[inputs]: Add GNOME-KEYRING
conditionally.
This commit is contained in:
Ludovic Courtès 2022-11-21 23:27:38 +01:00
parent 3954780bfb
commit 47ba3f7d25
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1490,48 +1490,51 @@ (define-public mate
(native-inputs (list desktop-file-utils))
(inputs
;; TODO: Add more packages
(list at-spi2-core
atril
caja
dbus
dconf
engrampa
eom
font-abattis-cantarell
glib-networking
gnome-keyring
gvfs
hicolor-icon-theme
libmatekbd
libmateweather
libmatemixer
marco
mate-session-manager
mate-settings-daemon
mate-desktop
mate-terminal
mate-themes
mate-icon-theme
mate-power-manager
mate-menus
mate-panel
mate-control-center
mate-media
mate-applets
mate-user-guide
mate-calc
mate-backgrounds
mate-netbook
mate-utils
mate-polkit
mate-system-monitor
mate-utils
pluma
pinentry-gnome3
pulseaudio
shared-mime-info
yelp
zenity))
(append (if (or (%current-target-system)
(supported-package? gnome-keyring))
(list gnome-keyring)
'())
(list at-spi2-core
atril
caja
dbus
dconf
engrampa
eom
font-abattis-cantarell
glib-networking
gvfs
hicolor-icon-theme
libmatekbd
libmateweather
libmatemixer
marco
mate-session-manager
mate-settings-daemon
mate-desktop
mate-terminal
mate-themes
mate-icon-theme
mate-power-manager
mate-menus
mate-panel
mate-control-center
mate-media
mate-applets
mate-user-guide
mate-calc
mate-backgrounds
mate-netbook
mate-utils
mate-polkit
mate-system-monitor
mate-utils
pluma
pinentry-gnome3
pulseaudio
shared-mime-info
yelp
zenity)))
(propagated-inputs
;; Default font that applications such as IceCat require.
(list font-dejavu))