From 581a7e887f6223754b553e679fe07b082169e209 Mon Sep 17 00:00:00 2001 From: biopsin <60029989+biopsin@users.noreply.github.com> Date: Tue, 9 Mar 2021 22:55:24 +0100 Subject: [PATCH] pango: update to 1.48.3 [Help] Two issues I'm unable to find a solution for: 1. /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 2. pango/fc.pc was not found in the pkg-config search patch Edit: add some fonts to pass tests bumb to 1.48.3 --- srcpkgs/pango/template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/pango/template b/srcpkgs/pango/template index 2b4a70d0d77..892304f6c21 100644 --- a/srcpkgs/pango/template +++ b/srcpkgs/pango/template @@ -1,18 +1,20 @@ # Template file for 'pango' pkgname=pango -version=1.48.0 -revision=2 +version=1.48.3 +revision=1 build_style=meson build_helper=gir configure_args="-Dintrospection=$(vopt_if gir enabled disabled)" hostmakedepends="glib-devel help2man pkg-config" makedepends="fribidi-devel harfbuzz-devel libXft-devel libthai-devel" +checkdepends="liberation-fonts-ttf cantarell-fonts" short_desc="Library for layout and rendering of text" maintainer="Orphaned " license="LGPL-2.1-or-later" homepage="https://www.pango.org/" +changelog="https://gitlab.gnome.org/GNOME/pango/-/raw/master/NEWS" distfiles="${GNOME_SITE}/pango/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=391f26f3341c2d7053e0fb26a956bd42360dadd825efe7088b1e9340a65e74e6 +checksum=36ea145c82217c8efc954d02aa577391b1d9a5da205e0aef7ffe0461349b4b46 # Package build options build_options="gir" @@ -26,7 +28,7 @@ post_install() { pango-xft_package() { short_desc+=" - X font rendering" pkg_install() { - vmove usr/lib/libpangoxft*.so.* + vmove "usr/lib/libpangoxft*.so.*" if [ "$build_option_gir" ]; then vmove usr/lib/girepository-1.0/PangoXft-1.0.typelib fi