aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-boxes/APKBUILD
blob: 15494594f408af5686afe4671c97d5f11ac8c1c7 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-boxes
pkgver=42.0.1
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="
74968525943ff1a695f2d0cbcd3b9066f2b8c87d6b3b7dea5dab2911600fb09c961ee547a759eed2a23636c7b242a86b56e5ee579dc01e9e9c9caac67a845b03  gnome-boxes-42.0.1.tar.xz
87486e45ecd06642f0381d940078138ff88eb104bb176d0dd9dbcfa766a2075c26ba67cf49736374f9c018847e126d7a48c0ceddbceae05f46506eace357bde1  add-smartcard-disable-option.patch
"