aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-boxes/APKBUILD
blob: 7744216f1fe95d68cff91c321e10613e42cc6674 (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
32
33
34
35
36
37
38
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-boxes
pkgver=3.36.4
pkgrel=0
pkgdesc="Virtualization made simple"
url="https://wiki.gnome.org/Apps/Boxes"
# https://build.alpinelinux.org/buildlogs/build-edge-ppc64le/testing/gnome-boxes/gnome-boxes-3.34.0-r0.log
arch="all !ppc64le !mips !mips64" # blocked by webkit2gtk on mips
license="GPL-2.0-only"
depends="libvirt-daemon"
makedepends="meson vala libarchive-dev glib-dev gtk+3.0-dev gtk-vnc-dev
	libosinfo-dev libsecret-dev libsoup-dev libusb-dev libvirt-glib-dev
	libxml2-dev spice-gtk-dev tracker-dev vte3-dev webkit2gtk-dev
	libgudev-dev freerdp-dev itstool"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-boxes/${pkgver%.*}/gnome-boxes-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="310357afdf62398193891fe396103c7e22722cf773aac71d75b737a797238364dc15ab0a645136901dd5b2e89e56b14a9a7b1b215bf98a838bcc2de5909d5e5d  gnome-boxes-3.36.4.tar.xz"