From 32e0e3362da6689009157c69b13fc16899b73955 Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Thu, 22 Feb 2024 17:10:17 -0500 Subject: [PATCH] pango: update to 1.51.2 --- srcpkgs/pango/template | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/srcpkgs/pango/template b/srcpkgs/pango/template index 934c92537f3988..a869189e686851 100644 --- a/srcpkgs/pango/template +++ b/srcpkgs/pango/template @@ -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() {