diff --git a/srcpkgs/pango/template b/srcpkgs/pango/template index 4c2797ca66f..1b6cebcc35e 100644 --- a/srcpkgs/pango/template +++ b/srcpkgs/pango/template @@ -1,20 +1,18 @@ # Template build file for 'pango'. pkgname=pango -version=1.40.14 +version=1.42.0 revision=1 -build_style=gnu-configure -configure_args="$(vopt_enable gir introspection)" -hostmakedepends="automake libtool pkg-config gtk-doc glib-devel - $(vopt_if gir gobject-introspection)" -# XXX Add missing dependency libthai. -makedepends="libglib-devel cairo-devel libXft-devel harfbuzz-devel" +configure_args="$(vopt_enable gir introspection) --disable-gtk-doc" +build_style=gnu-configure # switch to meson when possible +hostmakedepends="pkg-config glib-devel help2man $(vopt_if gir gobject-introspection)" +makedepends="libglib-devel cairo-devel libXft-devel harfbuzz-devel fribidi-devel libthai-devel" triggers="pango-modules" short_desc="Library for layout and rendering of text" maintainer="Juan RP " homepage="http://www.pango.org/" -license="LGPL-2.1" +license="LGPL-2.1-or-later" distfiles="${GNOME_SITE}/pango/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=90af1beaa7bf9e4c52db29ec251ec4fd0a8f2cc185d521ad1f88d01b3a6a17e3 +checksum=9924d88a3dcedff753f0763814a1605307c5c9c931413b8b47ea7267d1b19446 # Package build options build_options="gir" @@ -23,13 +21,9 @@ if [ -z "$CROSS_BUILD" ]; then build_options_default="gir" fi -pre_configure() { - autoreconf -fi -} - -pre_check() { - # Disable test that is know to fail - sed -i '/test-layout/d' tests/Makefile.am +post_install() { + rm -rf -- "${DESTDIR}"/usr/share/installed-tests + rm -rf -- "${DESTDIR}"/usr/libexec/installed-tests } pango-xft_package() {