aboutsummaryrefslogtreecommitdiffstats
path: root/community/qemu/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qemu/APKBUILD')
-rw-r--r--community/qemu/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/community/qemu/APKBUILD b/community/qemu/APKBUILD
index 7cad7aa664..6c58f6df8c 100644
--- a/community/qemu/APKBUILD
+++ b/community/qemu/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qemu
pkgver=6.1.0
-pkgrel=2
+pkgrel=3
pkgdesc="QEMU is a generic machine emulator and virtualizer"
url="https://qemu.org/"
arch="all"
@@ -136,9 +136,6 @@ for _sub in $_subsystems; do
done
_modules="
- accel-tcg-i386
- accel-tcg-x86_64
-
audio-alsa
audio-oss
audio-pa
@@ -356,8 +353,14 @@ _subsys() {
system*) depends="qemu";;
esac
- mkdir -p "$subpkgdir"/usr/bin
- mv "$pkgdir"/usr/bin/qemu-$name "$subpkgdir"/usr/bin/
+ amove /usr/bin/qemu-$name
+
+ case "$name" in
+ system-x86_64|system-i386)
+ provides="qemu-accel-tcg-${name#system-}"
+ amove /usr/lib/qemu/accel-tcg-${name#system-}.so
+ ;;
+ esac
}
img() {