mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 10:04:36 +02:00
meson 1.7.0 and later don't include test build targets in the default build target. With --no-rebuild the test targets aren't build at all. Removing --no-rebuild shouldn't cause any false rebuilds since the files aren't changed between the build() and check() step. Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891 Ref https://github.com/mesonbuild/meson/pull/10413
79 lines
1.8 KiB
Text
79 lines
1.8 KiB
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=gnome-boxes
|
|
pkgver=48.0
|
|
pkgrel=0
|
|
pkgdesc="Virtualization made simple"
|
|
url="https://apps.gnome.org/Boxes"
|
|
arch="all"
|
|
license="GPL-2.0-only"
|
|
makedepends="
|
|
desktop-file-utils
|
|
freerdp2-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
|
|
tinysparql-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-gpu-gl
|
|
qemu-hw-display-virtio-gpu-pci
|
|
qemu-hw-display-virtio-gpu-pci-gl
|
|
qemu-hw-display-virtio-vga
|
|
qemu-hw-display-virtio-vga-gl
|
|
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 \
|
|
-Db_lto=true \
|
|
-Dsmartcard=false \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
e019e491a667a76a4ef1c10b7dabf1c8528110768afcc684aba64a767329a7da57d5a78615e5f73c5c12c56ccfc044df5553746266f1bc207d8d986ea386c407 gnome-boxes-48.0.tar.xz
|
|
f66ee3b817856ad7a45723c656836f7097419ac0942544aaa04d646bd45480c07615e5a2e2a2987347dd6907fcd25ee9b0ac84bfdc6bbe8cdff919a99484827b add-smartcard-disable-option.patch
|
|
"
|