1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Balló György <ballogyor+arch at gmail dot com>
3 # Contributor: Ionut Biru <ibiru@archlinux.org>
8 pkgdesc="A text widget adding syntax highlighting and more to GNOME"
9 url="https://wiki.gnome.org/Projects/GtkSourceView"
12 depends=(gtk3 libxml2)
13 makedepends=(gobject-introspection vala gtk-doc glade yelp-tools git meson)
14 checkdepends=(xorg-server-xvfb)
15 provides=(libgtksourceview-${pkgver%%.*}.so)
17 _commit=7fd3adb3134bbec167167bb6400e018e4f781eb9 # tags/4.8.4^0
18 source=("git+https://gitlab.gnome.org/GNOME/gtksourceview.git#commit=$_commit")
23 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
36 arch-meson gtksourceview build "${meson_options[@]}"
37 meson compile -C build
41 dbus-run-session xvfb-run -s '-nolisten local' \
42 meson test -C build --print-errorlogs
46 meson install -C build --destdir "$pkgdir"
49 # vim:set sw=2 sts=-1 et: