diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-07-05 18:15:15 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-06 03:18:42 -0300 |
commit | b331d273c00c040b4ddd764650d3d4b04a6c0482 (patch) | |
tree | 444ba0bf58dc626997688d4577b1a2bedf6134aa /community | |
parent | 920f000b277c400914f4fa406e7b95b9e0b1ed0e (diff) | |
download | aports-b331d273c00c040b4ddd764650d3d4b04a6c0482.tar.bz2 aports-b331d273c00c040b4ddd764650d3d4b04a6c0482.tar.xz |
community/libgdata: upgrade to 0.17.10
Diffstat (limited to 'community')
-rw-r--r-- | community/libgdata/APKBUILD | 60 | ||||
-rw-r--r-- | community/libgdata/disable-perf-test.patch | 13 |
2 files changed, 43 insertions, 30 deletions
diff --git a/community/libgdata/APKBUILD b/community/libgdata/APKBUILD index 7ad4136d15..44b0729815 100644 --- a/community/libgdata/APKBUILD +++ b/community/libgdata/APKBUILD @@ -1,7 +1,8 @@ +# Contributor: Leo <thinkabit.ukim@gmail.com> # Maintainer: Rasmus Thomsen <oss@cogitri.dev> pkgname=libgdata -pkgver=0.17.9 -pkgrel=2 +pkgver=0.17.10 +pkgrel=0 pkgdesc="access library for gdata" url="https://wiki.gnome.org/Projects/libgdata" arch="all" @@ -9,45 +10,44 @@ 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" + meson" +subpackages="$pkgname-dev $pkgname-lang" source="https://download.gnome.org/sources/libgdata/${pkgver%.*}/libgdata-${pkgver}.tar.xz - only-ipv4-tests.patch" + only-ipv4-tests.patch + disable-perf-test.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 -} +replaces="$pkgname-static $pkgname-doc" # Backwards compatiblity build() { - ./configure \ + meson \ --prefix=/usr \ --sysconfdir=/etc \ - --datadir=/usr/share \ - --enable-gnome \ - --enable-goa - make + --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() { - make check + # 3 Tests fail + case "$CARCH" in + aarch64) return 0 ;; + esac + ninja -C output test } package() { - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" ninja -C output install } -sha512sums="90289309cbdc4ec6932bf385ddbfcc75c0c2f8b9ca356329298aaa37f6c3db7a16de20e5c947c16c595e43e729a664e4d6d3e2c5a60bb1e463a13d1306f374ce libgdata-0.17.9.tar.xz -844d5d342e62e6237f48f574b1749c4e4216edc5bfb21bfd799e3ce4f7d88f63bf32b242f99df828bc56fb7fb9e42080ca803bcc404fe6422a8b569df85507e1 only-ipv4-tests.patch" +sha512sums="01f8bb121c402fc0af8e9f12cafba326a87cef6756ced72652890c834fd4f497a060f6455ab66d4af92d9cd34b4d6fdf58033dca0f91bb806c80b60987955c22 libgdata-0.17.10.tar.xz +844d5d342e62e6237f48f574b1749c4e4216edc5bfb21bfd799e3ce4f7d88f63bf32b242f99df828bc56fb7fb9e42080ca803bcc404fe6422a8b569df85507e1 only-ipv4-tests.patch +177a0f1303f4b0204889fda3e643e02897f27f9b184a393339cc5271f57ce71b4cd0224e21641da75b777830f73d8e3c85072ca9559b75e0b1a1a615a4ab2b70 disable-perf-test.patch" diff --git a/community/libgdata/disable-perf-test.patch b/community/libgdata/disable-perf-test.patch new file mode 100644 index 0000000000..70cc4ae092 --- /dev/null +++ b/community/libgdata/disable-perf-test.patch @@ -0,0 +1,13 @@ +diff --git a/gdata/tests/meson.build b/gdata/tests/meson.build +index 52154e7..ced810a 100644 +--- a/gdata/tests/meson.build ++++ b/gdata/tests/meson.build +@@ -25,7 +25,6 @@ tests = { + 'general': {}, + 'oauth1-authorizer': {}, + 'oauth2-authorizer': {}, +- 'perf': {}, + 'picasaweb': { + 'dependencies': [gdk_pixbuf_dep], + 'should_fail': true, + |