summaryrefslogtreecommitdiff
path: root/user/gtk4/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/gtk4/APKBUILD')
-rw-r--r--user/gtk4/APKBUILD28
1 files changed, 15 insertions, 13 deletions
diff --git a/user/gtk4/APKBUILD b/user/gtk4/APKBUILD
index 71c6b0a42..1795d2107 100644
--- a/user/gtk4/APKBUILD
+++ b/user/gtk4/APKBUILD
@@ -1,27 +1,29 @@
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Sile Ekaterin Liszka <sheila@vulpine.house>
pkgname=gtk4
-pkgver=4.8.3
+pkgver=4.18.5
pkgrel=0
pkgdesc="Version 4 of the GNOME graphics toolkit"
url="https://www.gtk.org"
arch="all"
-options="!check" # Requires X11
+options="!check" # Requires Wayland environment running
license="LGPL-2.0+ AND LGPL-2.1+ AND LGPL-2.0-only AND Expat"
depends=""
makedepends="cairo-dev cmake cups-dev ffmpeg-dev ffmpeg-libs gdk-pixbuf-dev
gi-docgen glib-dev gobject-introspection-dev graphene-dev gstreamer-dev
gst-plugins-bad-dev iso-codes-dev libepoxy-dev libexecinfo-dev
- libxcursor-dev libxi-dev libxinerama-dev libxkbcommon-dev libxrandr-dev
- meson ninja pango-dev>=1.50.0 py3-docutils py3-jinja2 py3-markdown
- py3-pygments py3-pygobject py3-toml py3-typogrify tiff-dev
+ librsvg-dev libxcursor-dev libxdamage-dev libxi-dev libxinerama-dev
+ libxkbcommon-dev libxrandr-dev meson pango-dev py3-docutils py3-jinja2
+ py3-markdown py3-pygments py3-pygobject py3-toml py3-typogrify tiff-dev
wayland-dev wayland-protocols"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://download.gnome.org/sources/gtk/${pkgver%.*}/gtk-$pkgver.tar.xz"
+source="https://download.gnome.org/sources/gtk/${pkgver%.*}/gtk-$pkgver.tar.xz
+ vulkan-nullref.patch
+ "
builddir="$srcdir/gtk-$pkgver"
build() {
- meson \
+ meson setup \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -29,21 +31,21 @@ build() {
--buildtype=release \
--wrap-mode=nofallback \
-Dc_link_args='-lexecinfo' \
- -Dgtk_doc=true \
-Dman-pages=true \
- -Ddemos=false \
-Dbuild-examples=false \
+ -Dvulkan=disabled \
build
- ninja -C build
+ meson compile -C build
}
check() {
- ninja -C build test
+ meson test -C build
}
package() {
- DESTDIR="$pkgdir" ninja -C build install
+ DESTDIR="$pkgdir" meson install -C build
}
-sha512sums="56be0f5ce85a9cbbda4a5de53baeeb6b8cc527a5d34723ae5548759ec7c28f03d204b6b6758dffed02a9e226f3bfcd1f15971105c2f2f7be7cef22538be27754 gtk-4.8.3.tar.xz"
+sha512sums="4a09188fdbeb532d8c2064199126eaf60d806118bb637d5182121f3d80d374acdf343568c3423effb9574c364279ded7d7cbd4e0331dc1fb647970f60c98bff0 gtk-4.18.5.tar.xz
+1dca0747e2f572354c0d47e443270d64f5855d9fba592621d570be5eed49213ce8303e7d028bbe4d493cceebea9b3c90d6dc4f0671b1cae153a15384aa35d63e vulkan-nullref.patch"