diff --git a/srcpkgs/librsvg/template b/srcpkgs/librsvg/template index 7866aa268d..38078ba599 100644 --- a/srcpkgs/librsvg/template +++ b/srcpkgs/librsvg/template @@ -1,29 +1,31 @@ # Template file for 'librsvg' pkgname=librsvg -version=2.44.12 +version=2.44.13 revision=1 build_style=gnu-configure +build_helper="gir" configure_args="--disable-static --host=${XBPS_TARGET_TRIPLET} $(vopt_enable gir introspection) $(vopt_enable vala)" hostmakedepends="cargo pkg-config python glib-devel - gdk-pixbuf-devel $(vopt_if gir gobject-introspection) $(vopt_if vala vala-devel)" + gdk-pixbuf-devel $(vopt_if vala vala)" makedepends="cairo-devel freetype-devel gdk-pixbuf-devel gtk+3-devel libcroco-devel libglib-devel libxml2-devel pango-devel rust - $(vopt_if gir libgirepository-devel)" + $(vopt_if vala vala)" short_desc="SVG library for GNOME" maintainer="Rasmus Thomsen " license="GPL-2.0-or-later, LGPL-2.0-or-later" homepage="https://wiki.gnome.org/Projects/LibRsvg" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=66830b093a24262cc9bd2d1c921f6f59133a99893399d79768f7509021b678c0 +checksum=d2d660bf0c6441d019ae7a7ba96b789facbfb14dc97818908ee03e15ba6bcb8f # Package build options build_options="gir vala" -# Disable gir for cross builds. -if [ -z "$CROSS_BUILD" ]; then - build_options_default="vala gir" -fi +case "$XBPS_TARGET_MACHINE" in + i686-musl|x86_64-musl) build_options_default+=" gir vala" ;; + *-musl) ;; + *) build_options_default+=" gir vala" ;; +esac do_check() { # cargo refuses to test librsvg due to