Commit 6c9da665 authored by Timothée Floure's avatar Timothée Floure
Browse files

community/qemu: enable rbd support

parent b3b85738
Pipeline #60898 canceled with stages
in 10 minutes and 14 seconds
# Contributor: Sergei Lukin <sergej.lukin@gmail.com>
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Contributor: Timothée Floure <timothee.floure@ungleich.ch>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# 2020-06-15: CEPH is only available for x86_64 and aarch64 at the moment.
case "$CARCH" in
x86*|aarch64)
rbd_depends="ceph-dev"
rbd_module="block-rbd"
rbd_support="--enable-rbd"
;;
esac
pkgname=qemu
pkgver=5.0.0
pkgrel=1
pkgrel=2
pkgdesc="QEMU is a generic machine emulator and virtualizer"
url="https://qemu.org/"
arch="all"
......@@ -48,7 +59,9 @@ makedepends="
xfsprogs-dev
zlib-dev
zlib-static
$rbd_depends
"
pkggroups="qemu"
install="$pkgname.pre-install $pkgname.post-install"
# suid needed for qemu-bridge-helper
......@@ -144,7 +157,9 @@ _modules="
ui-gtk
ui-sdl
ui-spice-app
$rbd_module
"
for _mod in $_modules; do
subpackages="$subpackages $pkgname-$_mod:_module"
done
......@@ -280,6 +295,7 @@ build() {
--enable-vnc \
--enable-vnc-jpeg \
--enable-vnc-png \
$rbd_support \
--tls-priority=@QEMU,SYSTEM
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment