aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-boxes/APKBUILD
blob: 7199fc813ba05768f4b290a6dae3470de69d560a (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
39
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-boxes
pkgver=42.2
pkgrel=0
pkgdesc="Virtualization made simple"
url="https://wiki.gnome.org/Apps/Boxes"
# riscv64 and s390x blocked by polkit -> libvirt
arch="all !riscv64 !s390x"
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 libhandy1-dev"
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/gnome-boxes/${pkgver%%.*}/gnome-boxes-$pkgver.tar.xz
	add-smartcard-disable-option.patch
	"

build() {
	abuild-meson \
		-Dsmartcard=false \
		. 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="
04689313be9d98af536d53794ec3138bd66809b55eea89b31b2c900ca4288c1abd1914c7bbcc78131cde750eade2c92405eede616863b84c1ec8f1d04af13acc  gnome-boxes-42.2.tar.xz
9a219a2bfc3af33cccde86ad78a4748873a6715afe5fea5d913ba47ca7fe8ae2627b389c561e71f7d74065502378e947acdcecd53342d3183abe6b5e3236c6df  add-smartcard-disable-option.patch
"