temp/gnome-calculator: upgrade to 9999_git20210711 (MR 2212)

This commit is contained in:
Newbyte 2021-07-11 16:52:58 +02:00 committed by Dylan Van Assche
parent f48b6f19bd
commit 5f05b64259
No known key found for this signature in database
GPG key ID: 8642571587897EA1

View file

@ -1,19 +1,26 @@
# Forked from Alpine to apply Purism's mobile patches # Forked from Alpine to apply Purism's mobile patches
pkgname=gnome-calculator pkgname=gnome-calculator
pkgver=9999_git20200113 pkgver=9999_git20210711
pkgrel=0 pkgrel=0
_commit="b67ef929fdcb2677d31995044f8560574ee0e32f" _commit="73a615ca0a4b6808447e56618429e0506f2aa1a5"
pkgdesc="Calculator for solving mathematical equations" pkgdesc="Calculator for solving mathematical equations"
url="https://wiki.gnome.org/Apps/Calculator" url="https://wiki.gnome.org/Apps/Calculator"
arch="all !s390x !mips !mips64" # gtksourceview4 is not available on s390x arch="all !s390x !mips !mips64" # gtksourceview4 is not available on s390x
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
makedepends="vala gtksourceview4-dev glib-dev gtk+3.0-dev libsoup-dev makedepends="vala gtksourceview4-dev glib-dev gtk+3.0-dev libsoup-dev
libxml2-dev meson mpc1-dev mpfr-dev itstool libgee-dev libhandy-dev" libxml2-dev meson mpc1-dev mpfr-dev itstool libgee-dev libhandy1-dev"
subpackages="$pkgname-doc $pkgname-lang $pkgname-dev" subpackages="$pkgname-doc $pkgname-lang $pkgname-dev"
source="https://source.puri.sm/Librem5/gnome-calculator/-/archive/$_commit/gnome-calculator-$_commit.tar.gz" source="https://source.puri.sm/Librem5/gnome-calculator/-/archive/$_commit/gnome-calculator-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit" builddir="$srcdir/$pkgname-$_commit"
prepare() {
default_prepare
grep "\.patch$" debian/patches/series \
| xargs -I {} -t -r -n1 patch -p1 -i debian/patches/{}
}
build() { build() {
meson \ meson \
--prefix=/usr \ --prefix=/usr \
@ -33,4 +40,6 @@ package() {
DESTDIR="$pkgdir" ninja -C output install DESTDIR="$pkgdir" ninja -C output install
} }
sha512sums="952e0fb09b93852fd28803d41bf2518b9587d8adefb542e9bedf0a336aa94bb9befddd79e0b874cfcf7006e152b57ae036de6f2a922bc13934e6c713fab03f05 gnome-calculator-b67ef929fdcb2677d31995044f8560574ee0e32f.tar.gz" sha512sums="
2e96895a9893d38b3960b056fcfbf92d8d60afc0cc1133970836ddc205632fddfa9e388fef336032b3ee262bbf1d82a0a9db7317e53bf9b3a1ad35a6e7adc105 gnome-calculator-73a615ca0a4b6808447e56618429e0506f2aa1a5.tar.gz
"