CRUX port

Pkgfile located in crux download directory will build the librsvg(librsvg-2.so.2). Full build notes are in the README and port files are in the crux download directory.

Build

Place the public source tarball librsvg-c-2.62.3.tar.xz next to the Pkgfile, or let pkgmk fetch it from the source= URL. Then:

pkgmk -d

That writes librsvg#2.62.3-1.pkg.tar.gz (or the compression set in pkgmk.conf). Install on a CRUX host with pkgadd.

After the first successful build, pkgmk -uf updates the footprint.

Configure

--prefix=/usr --disable-introspection --disable-vala

PNG, JPEG, GIF, WebP, and AVIF support for SVG <image> is auto (enabled when the library is present). BMP is in-tree.

After install

The package does not ship loaders.cache (gdk-pixbuf owns that path). On the CRUX host run:

gdk-pixbuf-query-loaders --update-cache

First install: pkgadd without -u. Use -u only when upgrading.

Notes