# Contributor:Rasmus Thomsen # Maintainer: jane400 pkgname=gtksourceview4 pkgver=4.8.4 pkgrel=3 pkgdesc="A text widget adding syntax highlighting and more to GNOME" url="https://wiki.gnome.org/Projects/GtkSourceView" arch="all" license="GPL-2.0-or-later" replaces="gtksourceview" depends_dev="gtk+3.0-dev libxml2-dev" makedepends="$depends_dev gobject-introspection-dev vala libxslt meson" checkdepends="xvfb-run ibus dbus font-liberation" subpackages="$pkgname-dev $pkgname-lang" source="https://download.gnome.org/sources/gtksourceview/${pkgver%.*}/gtksourceview-$pkgver.tar.xz skip-test.patch " builddir="$srcdir/gtksourceview-$pkgver" build() { abuild-meson \ -Db_lto=true \ . output meson compile -C output } check() { xvfb-run meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" 9e4262e52a92b3a052f33b799622d4fd4dcc7cc5355df12f160d0e60a6d6c135bc52f07eb40c06b357d5d74bec7228d4ec545a69ee5af69429d4170cc1e2243d gtksourceview-4.8.4.tar.xz c765c7c77a94007e95c050c05ef0283b2cdcd5751274924ea08a02ea2507061677d7f286c3e98d6b91f3603a06364d1ea43491e77e2e086e05c841218923e771 skip-test.patch "