From 16afb35ac9dbc82534930b70ffcc4eb2bf9db808 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 25 Nov 2021 22:03:58 -0500 Subject: gnu: adwaita-icon-theme: Fix build on non-x86_64 targets. * gnu/packages/gnome.scm (adwaita-icon-theme)[native-inputs]: Do not provide use 'gtk-encode-symbolic-svg' unless building for x86_64. --- gnu/packages/gnome.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gnu/packages/gnome.scm') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 332f55ce41..f66943ef97 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -2944,7 +2944,7 @@ GNOME and KDE desktops to the icon names proposed in the specification.") ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0. (define-public adwaita-icon-theme - (package (inherit gnome-icon-theme) + (package/inherit gnome-icon-theme (name "adwaita-icon-theme") (version "40.1.1") (source (origin @@ -2956,7 +2956,11 @@ GNOME and KDE desktops to the icon names proposed in the specification.") (base32 "1xpqa1rgmixlp953938d08xvf7kv36h747ysial8g65dsrp46v0b")))) (native-inputs - `(("gtk-encode-symbolic-svg" ,gtk+ "bin"))))) + ;; The following requires the SVG pixbuf loader, provided by librsvg, + ;; available on x86_64 only. + `(,@(if (target-64bit?) + (list "gtk-encode-symbolic-svg" gtk+ "bin") + '()))))) (define-public tango-icon-theme (package -- cgit v1.2.3