gnu: gnome: Include aarch64 in librsvg-for-system.

As the current librsvg currently builds for aarch64-linux as well as
x86_64-linux.

* gnu/packages/gnome.scm (librsvg-for-system): Use librsvg for aarch64.
This commit is contained in:
Christopher Baines 2022-10-13 11:19:10 +01:00
parent dde299df48
commit 754f260753
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -3753,8 +3753,10 @@ (define* (librsvg-for-system #:optional
(system (or (%current-target-system)
(%current-system))))
;; Since librsvg 2.50 depends on Rust, and Rust is only correctly supported
;; on x86_64 so far, use the ancient C version on other platforms (FIXME).
(if (string-prefix? "x86_64-" system)
;; on x86_64 and aarch64 so far, use the ancient C version on other
;; platforms (FIXME).
(if (or (string-prefix? "x86_64-" system)
(string-prefix? "aarch64-" system))
librsvg
librsvg-2.40))