[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: gnu: adwaita-icon-theme: Fix build on non-x86_64 targets.
From: |
guix-commits |
Subject: |
02/04: gnu: adwaita-icon-theme: Fix build on non-x86_64 targets. |
Date: |
Thu, 25 Nov 2021 23:15:28 -0500 (EST) |
apteryx pushed a commit to branch core-updates-frozen
in repository guix.
commit 16afb35ac9dbc82534930b70ffcc4eb2bf9db808
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Nov 25 22:03:58 2021 -0500
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(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 332f55c..f66943e 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