qemu-with-rbd/diff

47 lines
873 B
Text

diff --git a/main/qemu/APKBUILD b/main/qemu/APKBUILD
index df704b12de..a4c86a56ee 100644
--- a/main/qemu/APKBUILD
+++ b/main/qemu/APKBUILD
@@ -12,6 +12,7 @@ license="GPL-2.0 LGPL-2"
makedepends="
alsa-lib-dev
bison
+ ceph-dev
curl-dev
flex
glib-dev
@@ -24,6 +25,7 @@ makedepends="
libjpeg-turbo-dev
libnfs-dev
libpng-dev
+ librbd
libseccomp-dev
libssh-dev
libusb-dev
@@ -137,6 +139,7 @@ _modules="
block-dmg-bz2
block-nfs
block-ssh
+ block-rbd
ui-curses
ui-gtk
ui-sdl
@@ -248,7 +251,8 @@ build() {
--disable-brlapi \
--disable-mpath \
--disable-libnfs \
- --disable-capstone
+ --disable-capstone \
+ --disable-rbd
cd "$builddir"/build
_compile_common \
@@ -277,6 +281,7 @@ build() {
--enable-virtfs \
--enable-vnc \
--enable-vnc-jpeg \
+ --enable-rbd \
--enable-vnc-png \
--tls-priority=@QEMU,SYSTEM
}