librsvg: update to 2.59.1.

Closes: #52498 [via git-merge-pr]
This commit is contained in:
icp 2024-09-29 14:04:25 +05:30 committed by classabbyamp
parent 2c464fc661
commit 2b125f9adc
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
1 changed files with 17 additions and 7 deletions

View File

@ -1,26 +1,36 @@
# Template file for 'librsvg'
pkgname=librsvg
version=2.58.3
version=2.59.1
revision=1
build_style=gnu-configure
build_style=meson
build_helper="gir rust"
configure_args="--disable-static --enable-introspection --enable-vala"
hostmakedepends="cargo pkg-config glib-devel gdk-pixbuf-devel
hostmakedepends="cargo cargo-c pkg-config glib-devel gdk-pixbuf-devel
gi-docgen python3-docutils vala"
makedepends="cairo-devel freetype-devel gdk-pixbuf-devel libcroco-devel
libglib-devel libxml2-devel pango-devel vala-devel rust-std"
libglib-devel libxml2-devel pango-devel vala-devel libdav1d-devel rust-std"
short_desc="SVG library for GNOME"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="LGPL-2.1-or-later"
homepage="https://gitlab.gnome.org/GNOME/librsvg"
changelog="https://gitlab.gnome.org/GNOME/librsvg/-/raw/librsvg-${version%.*}/NEWS"
changelog="https://gitlab.gnome.org/GNOME/librsvg/-/raw/main/NEWS"
distfiles="${GNOME_SITE}/librsvg/${version%.*}/librsvg-${version}.tar.xz"
checksum=49f29a0a92f4c2d19a2cb41e96ab2fce7eb5bde41850c8a914fcf655e3110944
checksum=6116267c7ddabfd4daaf1c341326da0a773139a7223e885ae40ee09bd6986ef6
# reference files are for specific pango and harfbuzz versions
# the test suite isn't designed to be run by distros
make_check=no
post_patch() {
if [ "$CROSS_BUILD" ]; then
vsed -i meson.build -e "s/not meson.is_cross_build() and //"
fi
}
if [ "$CROSS_BUILD" ]; then
XBPS_CROSS_RUSTFLAGS+=" -L${XBPS_BUILDDIR}/${pkgname}-${version}/build/rsvg"
configure_args="-Dtriplet=${XBPS_CROSS_RUST_TARGET}"
fi
librsvg-devel_package() {
depends="gdk-pixbuf-devel cairo-devel libcroco-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"