Revert "pango: update to 1.48.0"

This reverts commit 84bc2b3c5d.

The commit in question breaks all cross-builds.
This commit is contained in:
Đoàn Trần Công Danh 2020-11-15 10:35:56 +07:00
parent 45c3b8894d
commit 199eac3f83

View file

@ -1,7 +1,8 @@
# Template file for 'pango'
pkgname=pango
version=1.48.0
revision=1
reverts=1.48.0_1
version=1.46.1
revision=2
build_style=meson
build_helper=gir
hostmakedepends="glib-devel help2man pkg-config"
@ -11,20 +12,18 @@ 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=391f26f3341c2d7053e0fb26a956bd42360dadd825efe7088b1e9340a65e74e6
checksum=fe516b10711bbb6fd75011d66dd08fabfce18f7931aed7415136d53c4aadf1c5
post_install() {
rm -rf -- ${DESTDIR}/usr/{libexec,share}/installed-tests
rm -rf -- ${DESTDIR}/usr/share/installed-tests
rm -rf -- ${DESTDIR}/usr/libexec/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
vmove usr/lib/girepository-1.0/PangoXft-1.0.typelib
}
}
pango-view_package() {
@ -43,10 +42,7 @@ 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/share/gir-*"
vmove "usr/lib/*.so"
}
}