blob: bcc58e7eb4d268e3eea7e5168a3a0da24df55277 (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Sile Ekaterin Liszka <sheila@vulpine.house>
pkgname=gtk4
pkgver=4.6.8
pkgrel=0
pkgdesc="Version 4 of the GNOME graphics toolkit"
url="https://www.gtk.org"
arch="all"
options="!check" # Requires X11
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
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 \
build
ninja -C build
}
check() {
ninja -C build test
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}
sha512sums="beac19b5bebb627c5dd7011b9778da2abc3993f946037502015412052886e081934cb96d4d17151cf648c3cbf1dcf3d445ca24701f206a9b65ebc2b062224948 gtk-4.6.8.tar.xz"
|