diff options
Diffstat (limited to 'community/appstream-glib/APKBUILD')
-rw-r--r-- | community/appstream-glib/APKBUILD | 56 |
1 files changed, 27 insertions, 29 deletions
diff --git a/community/appstream-glib/APKBUILD b/community/appstream-glib/APKBUILD index 6bd8ecfd789..3ef10e6cb6d 100644 --- a/community/appstream-glib/APKBUILD +++ b/community/appstream-glib/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Leo <thinkabit.ukim@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=appstream-glib -pkgver=0.7.17 +pkgver=0.8.2 pkgrel=1 pkgdesc="Library for AppStream metadata" url="https://people.freedesktop.org/~hughsient/appstream-glib/" @@ -9,34 +9,35 @@ arch="all" license="LGPL-2.0-or-later" depends="gsettings-desktop-schemas" makedepends=" - meson - glib-dev - libarchive-dev - libsoup-dev - json-glib-dev - gdk-pixbuf-dev - gtk+3.0-dev - freetype-dev + curl-dev fontconfig-dev - yaml-dev + freetype-dev + gdk-pixbuf-dev + glib-dev + gobject-introspection-dev gperf + gtk+3.0-dev + json-glib-dev + libarchive-dev libgcab-dev - gobject-introspection-dev + meson + yaml-dev " subpackages=" + $pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-lang $pkgname-builder $pkgname-bash-completion:bashcomp:noarch - $pkgname-dbg" -source="https://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-$pkgver.tar.xz" -options="!check" # selftest fails due to updated metadata at upstream + " +source="https://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-$pkgver.tar.xz + as-yaml-support-application-yaml-mimetype.patch + " build() { - meson \ - --prefix=/usr \ - --buildtype=plain \ + abuild-meson \ + -Db_lto=true \ -Ddep11=true \ -Dbuilder=true \ -Drpm=false \ @@ -47,21 +48,15 @@ build() { -Dgtk-doc=false \ -Dintrospection=true \ output - ninja -C output + meson compile -C output } check() { - case "$CARCH" in - armv7|armhf) - # Flaky tests, fail or pass on drone ci alternating between pushes - return 0 - ;; - esac - ninja -C output test + meson test --no-rebuild --print-errorlogs -C output } package() { - DESTDIR="$pkgdir" ninja -C output install + DESTDIR="$pkgdir" meson install --no-rebuild -C output # Remove installed tests rm -rf "$pkgdir"/usr/share/installed-tests/appstream-glib @@ -83,7 +78,10 @@ bashcomp() { pkgdesc="Bash completions for $pkgname" install_if="$pkgname=$pkgver-r$pkgrel bash-completion" - install -Dm644 "$pkgdir"/usr/share/bash-completion/completions/* \ - "$subpkgdir"/usr/share/bash-completion/completions + amove usr/share/bash-completion/completions } -sha512sums="72eae6057a4b18b6eca34c795c2bfd982fd7a31500b70beb9553bdf8a7617a03319a2813eb93af20f2e39678ef6ee524dee48b2cbcccde0736f9d10a547ca223 appstream-glib-0.7.17.tar.xz" + +sha512sums=" +c9c21049ab43f5da8595aa07a3c2e097163a05b5e0fc030e4e3326136cd18127f04ad9edf08c12aea823b89048b43808cc60759cc26fcf2541cd9c1acbb29e28 appstream-glib-0.8.2.tar.xz +c6b585a1e42bbc9d71b355e14712d79092a5f07c2afe762764a9e71e72044ef51eecbcb07447291b454cb35ce84225dd7ffd14ce3d83753d482309b78ef26a93 as-yaml-support-application-yaml-mimetype.patch +" |