1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="GLib-based library for accessing online service APIs using the GData protocol"
8 url="https://wiki.gnome.org/Projects/libgdata"
11 depends=(libsoup gcr gnome-online-accounts)
12 makedepends=(gobject-introspection vala uhttpmock git gtk-doc meson)
13 _commit=eb7db048e5445ad567817dced344c47a20c6ea6b # tags/0.18.1^0
15 source=("git+https://gitlab.gnome.org/GNOME/libgdata.git#commit=$_commit")
20 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
28 arch-meson libgdata build -D man=true -D gtk_doc=true
29 meson compile -C build
33 meson test -C build --print-errorlogs
37 depends+=(libsoup-2.4.so)
38 provides+=(libgdata.so)
40 meson install -C build --destdir "$pkgdir"