# Contributor: Síle Ekaterin Liszka # Maintainer: Sile Ekaterin Liszka pkgname=gtk4 pkgver=4.6.5 pkgrel=0 pkgdesc="iVersion 4 of the GNOME graphics toolkit" url="https://www.gtk.org" arch="all" 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 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 wayland-dev wayland-protocols" subpackages="$pkgname-dev $pkgname-doc" source="https://download.gnome.org/sources/gtk/${pkgver%.*}/gtk-$pkgver.tar.xz" builddir="$srcdir/gtk-$pkgver" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ -Dc_link_args='-lexecinfo' \ -Dgtk_doc=true \ -Dman-pages=true \ -Ddemos=false \ -Dbuild-examples=false \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="a7bf28f6b9f5259fe1333432c205aeb8673f5f32ea0b1878c0724676f148e2d1680fe63ed9594ab5b92120d3497f06cddc5cde428247b3fc876e5785b3dd47ca gtk-4.6.5.tar.xz"