1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
5 pkgver=3.40.0+r14+g1fbca367
7 pkgdesc="User Interface Builder for GTK+ applications"
8 url="https://glade.gnome.org/"
11 depends=(gtk3 libxml2)
12 makedepends=(gtk-doc gobject-introspection itstool docbook-xsl git meson gjs
13 python-gobject webkit2gtk)
14 checkdepends=(xorg-server-xvfb)
15 optdepends=('devhelp: development help'
17 'python-gobject: python module'
18 'webkit2gtk: webkit2gtk module')
19 provides=(libgladeui-2.so)
21 _commit=1fbca367cf33991f1d8d20a256ca704eb778fca9 # master
22 source=("git+https://gitlab.gnome.org/GNOME/glade.git#commit=$_commit"
25 '0dd99583c4b7b6327e84a909614f46ec0062dbc9f67be733ea97dc294e40317b')
29 git describe --tags | sed 's/^GLADE_//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
35 # Fix missing dependency on vcs_tag
36 git apply -3 ../fix-build.diff
40 arch-meson glade build -D gtk_doc=true
41 meson compile -C build
45 dbus-run-session xvfb-run -s '-nolisten local' \
46 meson test -C build --print-errorlogs
50 meson install -C build --destdir "$pkgdir"
53 # vim:set sw=2 sts=-1 et: