summaryrefslogtreecommitdiff
path: root/Mk/Uses/gnome.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Uses/gnome.mk')
-rw-r--r--Mk/Uses/gnome.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/Mk/Uses/gnome.mk b/Mk/Uses/gnome.mk
index 31366b1ff652..c1d10eacad4a 100644
--- a/Mk/Uses/gnome.mk
+++ b/Mk/Uses/gnome.mk
@@ -260,7 +260,16 @@ vte_USE_GNOME_IMPL= gtk20
vte3_LIB_DEPENDS= libvte-2.91.so:x11-toolkits/vte3
vte3_USE_GNOME_IMPL= gtk30
+# Use librsvg2-rust where lang/rust is available
+.if empty(ARCH:Naarch64:Narmv6:Narmv7:Namd64:Ni386:Npowerpc64:Npowerpc64le)
+librsvg2_BUILD_DEPENDS= librsvg2-rust>=0:graphics/librsvg2-rust
+librsvg2_LIB_DEPENDS= librsvg-2.so:graphics/librsvg2-rust
+librsvg2_RUN_DEPENDS= librsvg2-rust>=0:graphics/librsvg2-rust
+.else
+librsvg2_BUILD_DEPENDS= librsvg2>=0:graphics/librsvg2
librsvg2_LIB_DEPENDS= librsvg-2.so:graphics/librsvg2
+librsvg2_RUN_DEPENDS= librsvg2>=0:graphics/librsvg2
+.endif
librsvg2_USE_GNOME_IMPL=libgsf gdkpixbuf2 pango
nautilus3_LIB_DEPENDS= libnautilus-extension.so:x11-fm/nautilus