# Contributor: Leo # Contributor: Natanael Copa # Contributor: Rasmus Thomsen # Maintainer: Simon Zeni pkgname=pango pkgver=1.50.14 pkgrel=3 pkgdesc="library for layout and rendering of text" url="https://www.pango.org/" arch="all" license="LGPL-2.1-or-later" depends_dev="pango-tools=$pkgver-r$pkgrel" makedepends=" cairo-dev expat-dev fontconfig-dev fribidi-dev glib-dev gobject-introspection-dev gtk-doc harfbuzz-dev help2man libxft-dev meson " checkdepends="font-dejavu font-cantarell font-droid font-tlwg" install="$pkgname.pre-deinstall" triggers="$pkgname.trigger=/usr/lib/pango/*/modules" subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-tools" source="https://download.gnome.org/sources/pango/${pkgver%.*}/pango-$pkgver.tar.xz disable-broken-test.patch " # secfixes: # 1.44.1-r0: # - CVE-2019-1010238 build() { abuild-meson \ -Db_lto=true \ -Dintrospection=enabled \ -Dgtk_doc=false \ build meson compile -C build } check() { meson test --no-rebuild --print-errorlogs -C build } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C build } tools() { pkgdesc="$pkgdesc (tools)" amove usr/bin } sha512sums=" 2c9330b65920fdd0ab6d645aed785a364158d78068bdcd7ba15b6a7368835677f06f2f8fd158cd23b05f98a37fb903e29526ade8f4d62913dbc5809f737d5166 pango-1.50.14.tar.xz d497526df4734f63e2502526335b547e6360c3508dd27f899d9588894715f0eb1e4c2f1958610ed432a8ed6570b4c1e5ca5c1309bc6867dec8b9fdfeb715c938 disable-broken-test.patch "