gtk4: Update to 4.18.2

This commit is contained in:
Christoph Reiter
2025-03-17 08:12:22 +01:00
parent 5658a1d2e4
commit b13355e4e4

View File

@@ -4,8 +4,8 @@ _realname=gtk4
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
$([[ ${CARCH} == i686 ]] || echo "${MINGW_PACKAGE_PREFIX}-${_realname}-media-gstreamer"))
pkgver=4.18.1
pkgrel=3
pkgver=4.18.2
pkgrel=1
pkgdesc="GObject-based multi-platform GUI toolkit (v4) (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
@@ -41,12 +41,10 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-shared-mime-info")
source=("https://download.gnome.org/sources/gtk/${pkgver:0:4}/gtk-${pkgver}.tar.xz"
"https://gitlab.gnome.org/GNOME/gtk/-/commit/b569470b87d143d30c2388046c9a6450696f19b8.patch"
"001-fix-font-rendering.patch"
"https://gitlab.gnome.org/GNOME/gtk/-/commit/f26eb00e4e4aa55d0da8b5ad5a5849520347917d.patch")
sha256sums=('6a1c3bc2dc7cacd28fba3b885ecb4086aa85b3d0941265d6651e92c7ff909e74'
"001-fix-font-rendering.patch")
sha256sums=('cca5677be4c3e501b49f1c50bcafacba8dcf4bd3a2d016388f834eff274dc159'
'50e6ac71f2081f80d334a5be5c8c49b9c1c3fab001c1f4ca0f2556d7f2ec92ed'
'a2c6e3350bd9c1744da6b7714b25cbd419645b731435f7d295a9f99da3c1479f'
'5c7d7086495455436ff9ccca2cc9bffad539e61394b2c7189f30e399b98bbf41')
'a2c6e3350bd9c1744da6b7714b25cbd419645b731435f7d295a9f99da3c1479f')
prepare() {
cd gtk-${pkgver}
@@ -57,9 +55,6 @@ prepare() {
# Needed since https://gitlab.gnome.org/GNOME/gtk/-/commit/5f7cab4632c93acb3c7c818b5c69e92d657fe8de
# otherwise the revert above is ignored too
patch -Np1 -i ../001-fix-font-rendering.patch
# https://gitlab.gnome.org/GNOME/gtk/-/issues/7409
patch -Np1 -i ../f26eb00e4e4aa55d0da8b5ad5a5849520347917d.patch
}
build() {