Merge pull request #10308 from lb90/pango-add-patch

Pango: add patch
This commit is contained in:
Christoph Reiter
2021-12-10 13:24:04 +01:00
committed by GitHub
2 changed files with 1524 additions and 3 deletions

1517
mingw-w64-pango/533.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,7 @@ _realname=pango
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.50.0
pkgrel=1
pkgrel=2
pkgdesc="A library for layout and rendering of text (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
@@ -27,14 +27,18 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-libthai")
options=('staticlibs' 'strip' 'emptydirs')
source=("https://download.gnome.org/sources/pango/${pkgver:0:4}/${_realname}-${pkgver}.tar.xz"
"532.patch")
"532.patch"
"533.patch")
sha256sums=('dba8b62ddf86e10f73f93c3d2256b73238b2bcaf87037ca229b40bdc040eb3f3'
'c985cce60c206b4f64a8a2147765aa2bea5a1fe7739d012608d2108a608a0dc7')
'c985cce60c206b4f64a8a2147765aa2bea5a1fe7739d012608d2108a608a0dc7'
'a05f4d01244c130402f16a849e6d06b6dd600b9621af7f9ca9ca08805cb65f18')
prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
# https://gitlab.gnome.org/GNOME/pango/-/merge_requests/532
patch -Np1 -i "${srcdir}/532.patch"
# https://gitlab.gnome.org/GNOME/pango/-/merge_requests/533
patch -Np1 -i "${srcdir}/533.patch"
}
build() {