aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-boxes/APKBUILD
blob: 67ac7770ac41ce2bc40ebc09462d379220804b20 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-boxes
pkgver=3.37.90
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 !s390x" # 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 gtksourceview4-dev libhandy-dev"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-boxes/${pkgver%.*}/gnome-boxes-$pkgver.tar.xz"

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="e5c67272686120f5e7ae7a220afb9f9cd669063f359cdb4b7442b9fe5690cb3378827a492ccb0217d4fd966ce91a09b8b315fa7cfa201e94f55d8694c93297de  gnome-boxes-3.37.90.tar.xz"