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.
This commit is contained in:
Maxim Cournoyer 2021-11-25 22:03:58 -05:00
parent 71b309169d
commit 16afb35ac9
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -2944,7 +2944,7 @@ (define-public gnome-icon-theme
;; 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 @@ (define-public adwaita-icon-theme
(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