blob: ef5e3165500a8d12cf8f6633e3f0c1b62be634c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Contributors: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-calculator
pkgver=42.2
pkgrel=0
pkgdesc="Calculator for solving mathematical equations"
url="https://wiki.gnome.org/Apps/Calculator"
# s390x and riscv64 blocked by gtk4
arch="all !s390x !riscv64"
license="GPL-3.0-or-later"
# font needed for pango in tests and valadoc
makedepends="
glib-dev
gtksourceview5-dev
gtk4.0-dev
itstool
libadwaita-dev
libgee-dev
libsoup-dev
libxml2-dev
meson
mpc1-dev
mpfr-dev
ttf-cantarell
vala
"
subpackages="$pkgname-doc $pkgname-lang $pkgname-dev"
source="https://download.gnome.org/sources/gnome-calculator/${pkgver%.*}/gnome-calculator-$pkgver.tar.xz"
if [ "$CARCH" = armhf ]; then
options="$options !check" # tests time out on armhf
fi
build() {
abuild-meson . output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
81f644a6be66a6ca051c0adbca06eab61bd09f219385631ca2d66fff1c250c01080b3f401ff20b4ee296c0999481c8f1dc1d105521d7995ff682b8e1158ada5a gnome-calculator-42.2.tar.xz
"
|