gnu: gtk+@2: Use 'librsvg-for-system'.

* gnu/packages/gtk.scm (gtk+-2)[propagated-inputs]: Use
'librsvg-for-system' unconditionally.
This commit is contained in:
Ludovic Courtès 2021-12-05 23:15:24 +01:00
parent 90570b5e9f
commit 597119937d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -863,12 +863,7 @@ (define-public gtk+-2
(propagated-inputs
`(("atk" ,atk)
("cairo" ,cairo)
;; SVG support is optional and requires librsvg, which pulls in rust.
;; Rust is not supported well on every architecture yet.
("gdk-pixbuf" ,(if (string-prefix? "x86_64" (or (%current-target-system)
(%current-system)))
librsvg
gdk-pixbuf))
("gdk-pixbuf" ,(librsvg-for-system))
("glib" ,glib)
("pango" ,pango)))
(inputs