pango: update to 1.51.2

This commit is contained in:
cinerea0 2024-02-22 17:10:17 -05:00 committed by cinerea0
parent b9b44d6077
commit 970e99b300

View file

@ -1,10 +1,10 @@
# Template file for 'pango'
pkgname=pango
version=1.50.14
version=1.51.2
revision=1
build_style=meson
build_helper=gir
configure_args="$(vopt_feature gir introspection)"
configure_args="-Dinstall-tests=false $(vopt_feature gir introspection)"
hostmakedepends="glib-devel help2man pkg-config"
makedepends="fribidi-devel harfbuzz-devel libXft-devel libthai-devel"
checkdepends="dejavu-fonts-ttf liberation-fonts-ttf cantarell-fonts"
@ -14,16 +14,18 @@ license="LGPL-2.1-or-later"
homepage="https://www.pango.org/"
changelog="https://gitlab.gnome.org/GNOME/pango/-/raw/main/NEWS"
distfiles="${GNOME_SITE}/pango/${version%.*}/pango-${version}.tar.xz"
checksum=1d67f205bfc318c27a29cfdfb6828568df566795df0cb51d2189cde7f2d581e8
make_check=no # doesn't pass its own tests
checksum=3dba407f2b5fc117e192f3025f0a1cc8edc1fd9b934b1c578b2b97342139415a
# Package build options
build_options="gir"
build_options_default="gir"
post_install() {
rm -rf -- ${DESTDIR}/usr/share/installed-tests
rm -rf -- ${DESTDIR}/usr/libexec/installed-tests
pre_check() {
# This one layout check fails on 32-bit architectures. Removing for now.
# Upstream bug report: https://gitlab.gnome.org/GNOME/pango/-/issues/782
if [ "${XBPS_WORDSIZE}" -eq 32 ]; then
rm tests/layouts/aaa.layout
fi
}
pango-xft_package() {