diff --git a/mingw-w64-gnome-text-editor/PKGBUILD b/mingw-w64-gnome-text-editor/PKGBUILD index 19004d42d34e1..e485f621ab07d 100644 --- a/mingw-w64-gnome-text-editor/PKGBUILD +++ b/mingw-w64-gnome-text-editor/PKGBUILD @@ -3,8 +3,8 @@ _realname=gnome-text-editor pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" -pkgver=45.3 -pkgrel=2 +pkgver=47.0 +pkgrel=1 pkgdesc="A simple text editor for the GNOME desktop (mingw-w64)" arch=('any') mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64') @@ -17,6 +17,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-editorconfig-core-c" "${MINGW_PACKAGE_PREFIX}-enchant" "${MINGW_PACKAGE_PREFIX}-glib2" "${MINGW_PACKAGE_PREFIX}-gtksourceview5" + "${MINGW_PACKAGE_PREFIX}-libspelling" "${MINGW_PACKAGE_PREFIX}-icu" "${MINGW_PACKAGE_PREFIX}-libadwaita") makedepends=("${MINGW_PACKAGE_PREFIX}-cc" @@ -26,8 +27,17 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc" "${MINGW_PACKAGE_PREFIX}-gtk-doc" "${MINGW_PACKAGE_PREFIX}-gettext" "${MINGW_PACKAGE_PREFIX}-itstool") -source=(https://download.gnome.org/sources/${_realname}/${pkgver%.*}/${_realname}-${pkgver}.tar.xz) -sha256sums=('f3ffcb11a92dfd04ba3c3b3d0e667847d4449a21e012ae36f07dda05ac7d3a52') +source=(https://download.gnome.org/sources/${_realname}/${pkgver%.*}/${_realname}-${pkgver}.tar.xz + "https://gitlab.gnome.org/GNOME/gnome-text-editor/-/merge_requests/172.patch") +sha256sums=('0304961974bdacc7e6e8d146dadc949527df99b2823582c8d1ba8b33d25d4217' + '36060b47ad21c08403f19302014690b4e3d43f2e30211913ada396dfbdb9113c') + +prepare() { + cd "${_realname}-${pkgver}" + + # https://gitlab.gnome.org/GNOME/gnome-text-editor/-/merge_requests/172 + patch -Np1 -i "${srcdir}/172.patch" +} build() { mkdir -p build-${MSYSTEM} && cd build-${MSYSTEM}