pango: update to 1.48.0

[ci skip]
This commit is contained in:
Nathan Owens 2020-11-11 15:13:10 -06:00 committed by Helmut Pozimski
parent 8c404386fe
commit 84bc2b3c5d
1 changed files with 11 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'pango'
pkgname=pango
version=1.46.1
version=1.48.0
revision=1
build_style=meson
build_helper=gir
@ -11,18 +11,20 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://www.pango.org/"
distfiles="${GNOME_SITE}/pango/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=fe516b10711bbb6fd75011d66dd08fabfce18f7931aed7415136d53c4aadf1c5
checksum=391f26f3341c2d7053e0fb26a956bd42360dadd825efe7088b1e9340a65e74e6
post_install() {
rm -rf -- ${DESTDIR}/usr/share/installed-tests
rm -rf -- ${DESTDIR}/usr/libexec/installed-tests
rm -rf -- ${DESTDIR}/usr/{libexec,share}/installed-tests
}
pango-xft_package() {
short_desc+=" - X font rendering"
pkg_install() {
vmove usr/lib/libpangoxft*.so.*
# Does not exist on arm-based
if [ -f "usr/lib/girepository-1.0/PangoXft-1.0.typelib" ]; then
vmove usr/lib/girepository-1.0/PangoXft-1.0.typelib
fi
}
}
pango-view_package() {
@ -41,7 +43,10 @@ pango-devel_package() {
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
# usr/share/gir-* not found on arm based
if [ -f "usr/share/gir-*" ]; then
vmove "usr/share/gir-*"
fi
vmove "usr/lib/*.so"
}
}