# Maintainer: Rasmus Thomsen pkgname=libgdata pkgver=0.17.9 pkgrel=2 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 automake autoconf libtool" subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/libgdata/${pkgver%.*}/libgdata-${pkgver}.tar.xz only-ipv4-tests.patch" prepare() { default_prepare # Timeout on armhf case "${DRONE_REPO_OWNER}-${DRONE_RUNNER_PLATFORM}-${CARCH}" in alpinelinux-linux/arm-armhf) sed -i -e '/perf/d' gdata/tests/Makefile.am ;; alpinelinux-*-*) echo "DroneCI: ${DRONE_REPO_OWNER}-${DRONE_RUNNER_PLATFORM}-${CARCH}" ;; esac intltoolize --copy --force autoreconf --install --force } build() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --datadir=/usr/share \ --enable-gnome \ --enable-goa make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="90289309cbdc4ec6932bf385ddbfcc75c0c2f8b9ca356329298aaa37f6c3db7a16de20e5c947c16c595e43e729a664e4d6d3e2c5a60bb1e463a13d1306f374ce libgdata-0.17.9.tar.xz 844d5d342e62e6237f48f574b1749c4e4216edc5bfb21bfd799e3ce4f7d88f63bf32b242f99df828bc56fb7fb9e42080ca803bcc404fe6422a8b569df85507e1 only-ipv4-tests.patch"