aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-boxes/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnome-boxes/APKBUILD')
-rw-r--r--community/gnome-boxes/APKBUILD74
1 files changed, 55 insertions, 19 deletions
diff --git a/community/gnome-boxes/APKBUILD b/community/gnome-boxes/APKBUILD
index 5b2f05ccae1..72e581acd57 100644
--- a/community/gnome-boxes/APKBUILD
+++ b/community/gnome-boxes/APKBUILD
@@ -1,31 +1,68 @@
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
-# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnome-boxes
-pkgver=41.1
+pkgver=46.0
pkgrel=0
pkgdesc="Virtualization made simple"
url="https://wiki.gnome.org/Apps/Boxes"
-# riscv64 and s390x blocked by polkit -> libvirt
-arch="all !riscv64 !s390x"
+arch="all"
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"
-source="https://download.gnome.org/sources/gnome-boxes/${pkgver%.*}/gnome-boxes-$pkgver.tar.xz
- fix-build.patch
- disable-smartcard-support.patch
+makedepends="
+ desktop-file-utils
+ freerdp-dev
+ glib-dev
+ gtk+3.0-dev
+ gtk-vnc-dev
+ gtksourceview4-dev
+ itstool
+ libarchive-dev
+ libgudev-dev
+ libhandy1-dev
+ libosinfo-dev
+ libportal-dev
+ libsecret-dev
+ libsoup3-dev
+ libusb-dev
+ libvirt-glib-dev
+ libxml2-dev
+ meson
+ spice-gtk-dev
+ tracker-dev
+ vala
+ vte3-dev
+ webkit2gtk-4.1-dev
+ "
+depends="
+ libvirt-qemu
+ qemu
+ qemu-audio-spice
+ qemu-chardev-spice
+ qemu-img
+ qemu-hw-display-qxl
+ qemu-hw-display-virtio-gpu
+ qemu-hw-display-virtio-vga
+ qemu-hw-usb-redirect
+ "
+case $CARCH in
+ x86_64) depends="$depends qemu-system-x86_64";;
+ x86) depends="$depends qemu-system-i386";;
+ aarch64) depends="$depends qemu-system-aarch64";;
+esac
+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 . output
- meson compile ${JOBS:+-j ${JOBS}} -C output
+ abuild-meson \
+ -Db_lto=true \
+ -Dsmartcard=false \
+ . output
+ meson compile -C output
}
check() {
- meson test --no-rebuild -v -C output
+ meson test --no-rebuild --print-errorlogs -C output
}
package() {
@@ -33,7 +70,6 @@ package() {
}
sha512sums="
-bff2a46fd6e4a861382fa22c67935b4f69567a26952de2c5fda441983fe34eb907f655a185e633c106f09e68f1517fb23af633c4f6cfad02d2f7e9e51f79595a gnome-boxes-41.1.tar.xz
-6a8aecfa792ea6a4f0088eeccf60eec0c74beb4095246274b2cb746100188b6a38aa1164a8e283d10f2175c2a01af6a6458317a9557050135771645b7383e13d fix-build.patch
-6a09dd5c9513ce64e06cf0688191c7e53dd65724d7bde88e88df4f19045023f817bad05b48c386f1659cf51283eed601361561e4bc244ddf2bc66e23c5896b82 disable-smartcard-support.patch
+f5c3289d90729d8c8a8044e9392eb10f6fafc1718007ec9192b7445fa93fb2c05cecd3fcf0c3ce20554e676d9bec47c335df01e2b45b613c39eb5dd4a4f2cea8 gnome-boxes-46.0.tar.xz
+f66ee3b817856ad7a45723c656836f7097419ac0942544aaa04d646bd45480c07615e5a2e2a2987347dd6907fcd25ee9b0ac84bfdc6bbe8cdff919a99484827b add-smartcard-disable-option.patch
"