mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-01 14:02:24 +01:00
53 lines
1.7 KiB
Plaintext
53 lines
1.7 KiB
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=libgdata
|
|
pkgver=0.18.1
|
|
pkgrel=1
|
|
pkgdesc="access library for gdata"
|
|
url="https://wiki.gnome.org/Projects/libgdata"
|
|
# mips64 and riscv64 blocked by webkit2gtk -> gnome-online-accounts
|
|
arch="all !mips64 !riscv64"
|
|
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
|
|
"
|
|
|
|
replaces="$pkgname-static $pkgname-doc" # Backwards compatiblity
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Dintrospection=true \
|
|
-Dvapi=true \
|
|
-Dgtk_doc=false \
|
|
-Dman=true \
|
|
-Dinstalled_tests=false \
|
|
-Dgoa=enabled \
|
|
-Dgnome=enabled \
|
|
-Dgtk=enabled \
|
|
. output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
check() {
|
|
# 3 Tests fail
|
|
case "$CARCH" in
|
|
aarch64) return 0 ;;
|
|
x86) return 0 ;;
|
|
esac
|
|
meson test --no-rebuild -v -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="15ff708760ca5023b692fd565c26a7c3acf035073534c0cd3f1f90e46ee0c60d14dedf360d3ac146d37135e200d9c2bc4b657e81468d0efde4821a9219875b98 libgdata-0.18.1.tar.xz
|
|
844d5d342e62e6237f48f574b1749c4e4216edc5bfb21bfd799e3ce4f7d88f63bf32b242f99df828bc56fb7fb9e42080ca803bcc404fe6422a8b569df85507e1 only-ipv4-tests.patch
|
|
177a0f1303f4b0204889fda3e643e02897f27f9b184a393339cc5271f57ce71b4cd0224e21641da75b777830f73d8e3c85072ca9559b75e0b1a1a615a4ab2b70 disable-perf-test.patch"
|