# Contributor: Leo # Maintainer: Rasmus Thomsen pkgname=libgdata pkgver=0.17.10 pkgrel=1 pkgdesc="access library for gdata" url="https://wiki.gnome.org/Projects/libgdata" arch="all" license="LGPL-2.1-or-later" depends="gsettings-desktop-schemas" makedepends="intltool uhttpmock-dev glib-dev vala gobject-introspection-dev libsoup-dev json-glib-dev liboauth-dev gnome-online-accounts-dev gcr-dev meson" subpackages="$pkgname-dev $pkgname-lang" source="https://download.gnome.org/sources/libgdata/${pkgver%.*}/libgdata-${pkgver}.tar.xz only-ipv4-tests.patch disable-perf-test.patch meson-fix-library-version.patch " replaces="$pkgname-static $pkgname-doc" # Backwards compatiblity build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --buildtype=release \ -Dintrospection=true \ -Dvapi=true \ -Dgtk_doc=false \ -Dman=true \ -Dinstalled_tests=false \ -Dgoa=enabled \ -Dgnome=enabled \ -Dgtk=enabled \ . output ninja -C output } check() { # 3 Tests fail case "$CARCH" in aarch64) return 0 ;; x86) return 0 ;; esac ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="01f8bb121c402fc0af8e9f12cafba326a87cef6756ced72652890c834fd4f497a060f6455ab66d4af92d9cd34b4d6fdf58033dca0f91bb806c80b60987955c22 libgdata-0.17.10.tar.xz 844d5d342e62e6237f48f574b1749c4e4216edc5bfb21bfd799e3ce4f7d88f63bf32b242f99df828bc56fb7fb9e42080ca803bcc404fe6422a8b569df85507e1 only-ipv4-tests.patch 177a0f1303f4b0204889fda3e643e02897f27f9b184a393339cc5271f57ce71b4cd0224e21641da75b777830f73d8e3c85072ca9559b75e0b1a1a615a4ab2b70 disable-perf-test.patch 29548d6b73b98be93967ab4b4a81c8f7478b05b18ea9b7660b80aeb4e0da724a98e704bf52ee3a6a690f869d3dcef81836da19df0a5e91a79719766cf46c1c41 meson-fix-library-version.patch"