aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-games/APKBUILD
blob: 2395545ab7fb988a0fa4cdfbc208340c52303e5c (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-games
pkgver=3.38.0
pkgrel=0
pkgdesc="Browse and play your games"
url="https://wiki.gnome.org/Apps/Games"
arch="all !s390x !mips !mips64" # needs librsvg
license="GPL-3.0-or-later"
makedepends="meson gtk+3.0-dev vala grilo-dev libhandy1-dev librsvg-dev libmanette-dev
	libsoup-dev tracker-dev sqlite-dev libxml2-dev libarchive-dev retro-gtk-dev"
checkdepends="desktop-file-utils appstream-glib"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-games/${pkgver%.*}/gnome-games-$pkgver.tar.xz
	tracker3.patch"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="30f556f06e22e5ce94be632972cd0268a89c87026c1f2e66937ce397d65c9a1444abf1443f24340888df50fbe86750572417a48a006d509347a6550a5d17f1a4  gnome-games-3.38.0.tar.xz
34c2de9d2c7e49a5e6430e86f6d11eb5c3e701e784f096fa970d32ea941d33c272fd1f1d71ae5d2a914e0278848e9dae7d07c2ab72ca60aa7b3a16716ee876d6  tracker3.patch"