aboutsummaryrefslogtreecommitdiffstats
path: root/community/aisleriot/APKBUILD
blob: ba52710f3018e845f7273cfb2562818b45789c0b (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
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer:
pkgname=aisleriot
pkgver=3.22.25
pkgrel=0
pkgdesc="Solitaire and other card games for GNOME"
url="https://wiki.gnome.org/Apps/Aisleriot"
arch="all !s390x !riscv64" # limited by librsvg -> rust
license="GPL-3.0-or-later"
options="!strip" # guille libraries cannot be stripped
depends="guile"
depends_doc="yelp"
makedepends="
	bash
	gmp-dev
	gtk+3.0-dev
	guile-dev
	itstool
	libcanberra-dev
	librsvg-dev
	libxml2
	libxml2-dev
	libxml2-utils
	meson
	"
subpackages="$pkgname-doc $pkgname-lang"
source="https://gitlab.gnome.org/GNOME/aisleriot/-/archive/$pkgver/aisleriot-$pkgver.tar.gz"

build() {
	abuild-meson \
		-Dtheme_kde=false \
		-Dsound=false \
		. 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="
cf05f53618f73a58b26fc76fa4cb5cc9f4e250e545d0a18c837b1d97bc1ee9277b4ef27048cce84ebc67b72f069279397e9c3a83472fe1eb3522032c9a955241  aisleriot-3.22.25.tar.gz
"