aboutsummaryrefslogtreecommitdiffstats
path: root/community/qemu/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qemu/APKBUILD')
-rw-r--r--community/qemu/APKBUILD12
1 files changed, 11 insertions, 1 deletions
diff --git a/community/qemu/APKBUILD b/community/qemu/APKBUILD
index 20e922183e..7cad7aa664 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=1
+pkgrel=2
pkgdesc="QEMU is a generic machine emulator and virtualizer"
url="https://qemu.org/"
arch="all"
@@ -167,6 +167,15 @@ _modules="
ui-opengl
ui-spice-core
"
+
+case "$CARCH" in
+ mips*|riscv64) ;;
+ *)
+ makedepends="$makedepends ceph-dev"
+ _modules="$_modules block-rbd"
+ _configure_rbd="--enable-rbd"
+esac
+
for _mod in $_modules; do
subpackages="$subpackages $pkgname-$_mod:_module"
done
@@ -303,6 +312,7 @@ build() {
--enable-vnc-jpeg \
--enable-vnc-png \
--enable-zstd \
+ $_configure_rbd \
--tls-priority=@QEMU,SYSTEM
}