diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2020-03-19 12:00:41 +0100 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-03-19 14:59:44 +0000 |
commit | 09157d0400f9265cffc3632778e88fc2bdb8c6c4 (patch) | |
tree | 539a9fb04c9cff8f52091de138ed6ba8ab90fa08 /community/gnome-software | |
parent | 4ac9f262fa28e2226727297e1c34573e412c7f41 (diff) | |
download | aports-09157d0400f9265cffc3632778e88fc2bdb8c6c4.tar.bz2 aports-09157d0400f9265cffc3632778e88fc2bdb8c6c4.tar.xz |
community/gnome-software: move from testing
Diffstat (limited to 'community/gnome-software')
-rw-r--r-- | community/gnome-software/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/community/gnome-software/APKBUILD b/community/gnome-software/APKBUILD new file mode 100644 index 0000000000..336bf718d9 --- /dev/null +++ b/community/gnome-software/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=gnome-software +pkgver=3.36.0 +pkgrel=0 +pkgdesc="Software lets you install and update applications and system extensions" +url="https://wiki.gnome.org/Apps/Software" +arch="all !s390x" +license="GPL-2.0-or-later" +makedepends="meson appstream-glib-dev gdk-pixbuf-dev libxmlb-dev glib-dev gtk+3.0-dev + json-glib-dev libsoup-dev gnome-desktop-dev gspell-dev polkit-dev gtk-doc + ostree-dev flatpak-dev libgudev-dev gnome-online-accounts-dev" +options="!check" # lots of failing tests +subpackages="$pkgname-lang $pkgname-doc $pkgname-dbg $pkgname-dev" +source="https://download.gnome.org/sources/gnome-software/${pkgver%.*}/gnome-software-$pkgver.tar.xz" + +case "$CARCH" in + x86*) makedepends="$makedepends fwupd-dev" ;; +esac + +build() { + case "$CARCH" in + x86*) conf="-Dfwupd=true" ;; + *) conf="-Dfwupd=false" ;; + esac + + + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=plain \ + -Dvalgrind=false \ + -Dmalcontent=false \ + -Dpackagekit=false \ + $conf \ + . output + ninja -C output +} + +check() { + ninja -C output test +} + +package() { + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="3727b738b0f669018b4b9b2af11dd86a1af6d8da7632b88c6ac47ef97b97299abb0aec47a6de2dc7e6afa33ee153f9df30e63e5dc83652a5402d6444389024c9 gnome-software-3.36.0.tar.xz" |