diff --git a/wxwidgets/PKGBUILD b/wxwidgets/PKGBUILD index f0ac444dec..ace5332ecf 100644 --- a/wxwidgets/PKGBUILD +++ b/wxwidgets/PKGBUILD @@ -7,7 +7,7 @@ pkgname=(wxwidgets-common wxwidgets-gtk3 wxwidgets-qt5) pkgver=3.2.4 -pkgrel=3 +pkgrel=4 arch=(x86_64 powerpc64le powerpc64 powerpc riscv64) url='https://wxwidgets.org' license=(custom:wxWindows) @@ -18,17 +18,20 @@ makedepends=(cmake libnotify qt5-base sdl2 - webkit2gtk) + webkit2gtk-4.1) source=(https://github.com/wxWidgets/wxWidgets/releases/download/v$pkgver/wxWidgets-$pkgver.tar.bz2 https://github.com/wxWidgets/wxWidgets/commit/ed510012.patch - https://github.com/wxWidgets/wxWidgets/commit/8ea22b5e.patch) + https://github.com/wxWidgets/wxWidgets/commit/8ea22b5e.patch + https://github.com/wxWidgets/wxWidgets/commit/9174c672.patch) sha256sums=('0640e1ab716db5af2ecb7389dbef6138d7679261fbff730d23845ba838ca133e' '0f714caa562269ba40ea55e1ef2f1c800d0669f01c3862f47db183eb2db91567' - '4e79b54088e513010cb2442d95ef23d6ab1cafd6a434090e1ead5c7b67c81e15') + '4e79b54088e513010cb2442d95ef23d6ab1cafd6a434090e1ead5c7b67c81e15' + '8dbfe2f5b8e1bee17786e27d7260d045094ccc519c6fae50ae013e10b3d5ade8') prepare() { patch -d wxWidgets-$pkgver -p1 < ed510012.patch # Fix undefined symbols in Qt build patch -d wxWidgets-$pkgver -p1 < 8ea22b5e.patch # Avoid crash with GTK3 if console program is using a GUI wxApp + patch -d wxWidgets-$pkgver -p1 < 9174c672.patch # Fix KiCad glitches in Plasma 6 } build() { @@ -119,7 +122,7 @@ package_wxwidgets-gtk3() { sdl2 wayland wxwidgets-common) - optdepends=('webkit2gtk: for webview support') + optdepends=('webkit2gtk-4.1: for webview support') conflicts=(wxgtk3) provides=(wxgtk3 wxwidgets)