You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1021 B

# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libgdata
pkgver=0.18.1
pkgrel=2
pkgdesc="GLib-based library for accessing online service APIs using the GData protocol"
url="https://wiki.gnome.org/Projects/libgdata"
arch=(x86_64)
license=(GPL)
depends=(libsoup gcr gnome-online-accounts)
makedepends=(gobject-introspection vala uhttpmock git gtk-doc meson)
_commit=eb7db048e5445ad567817dced344c47a20c6ea6b # tags/0.18.1^0
options=(debug)
source=("git+https://gitlab.gnome.org/GNOME/libgdata.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd libgdata
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd libgdata
}
build() {
artix-meson libgdata build -D installed_tests=false -D man=true -D gtk_doc=true
ninja -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
depends+=(libsoup-2.4.so)
provides+=(libgdata.so)
meson install -C build --destdir "$pkgdir"
}
# vim:set sw=2 et: