The librsvg package contains a library and tools used to manipulate, convert and view Scalable Vector Graphic (SVG) images.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://download.gnome.org/sources//librsvg/2.61/librsvg-2.61.3.tar.xz
Download SHA256 Sum: a56d2c80d744ad2f2718f85df466fe71d24ff1f9bc3e5ef588bde4d7e87815f2
Download MD5 sum: f015a7dca4952ba9a2e3b8b536695f1f
Download size: 16,083.7 KB
Estimated disk space required: 1,727,000.3 KB
Estimated build time: 5.59 SBU
Cairo-1.18.4, cargo-c-0.10.18, and Pango-1.57.0
gdk-pixbuf-2.44.4, GLib-2.86.2 (with GObject Introspection), and Vala-0.56.18
First, fix the installation path of the API documentation:
sed -e "/OUTDIR/s|,| / 'librsvg-2.61.3', '--no-namespace-dir',|" \
-e '/output/s|Rsvg-2.0|librsvg-2.61.3|' \
-i doc/meson.buildPrepare librsvg by running the following commands:
meson setup build --prefix=/usr --buildtype=release
Now Build the package, issue:
ninja -C build
To test the results, issue:
ninja -v -C build test
Now, as the root user:
ninja -C build install