me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 6 additions and 2 deletions

View File

@ -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