[gnome-build-meta/valentindavid/gnome-os-ostree: 13/17] Add QEMU tools



commit aa698ac1537f7e0a86760160389f2070b375bc6b
Author: Valentin David <valentin david codethink co uk>
Date:   Sun Nov 17 11:40:24 2019 +0100

    Add QEMU tools
    
    qemu-convert is required to build qcow2 images with genimage.

 elements/vm/qemu-tools.bst | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
---
diff --git a/elements/vm/qemu-tools.bst b/elements/vm/qemu-tools.bst
new file mode 100644
index 00000000..81098f80
--- /dev/null
+++ b/elements/vm/qemu-tools.bst
@@ -0,0 +1,43 @@
+kind: autotools
+
+sources:
+- kind: tar
+  url: https://download.qemu.org/qemu-4.2.0.tar.xz
+
+depends:
+- sdk/glib.bst
+- freedesktop-sdk.bst:components/libcap.bst
+- freedesktop-sdk.bst:components/pixman.bst
+- freedesktop-sdk.bst:components/python3.bst
+- freedesktop-sdk.bst:bootstrap-import.bst
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+
+variables:
+  localstatedir: '/'
+  conf-local: >-
+    --disable-werror
+    --disable-system
+    --disable-user
+    --disable-blobs
+    --enable-tools
+
+  # This is not using autoconf and does not support for example
+  # --exec-prefix
+  conf-args: >-
+    --prefix=%{prefix}
+    --bindir=%{bindir}
+    --sbindir=%{sbindir}
+    --sysconfdir=%{sysconfdir}
+    --datadir=%{datadir}
+    --includedir=%{includedir}
+    --libdir=%{libdir}
+    --libexecdir=%{libexecdir}
+    --localstatedir=%{localstatedir}
+    --sharedstatedir=%{sharedstatedir}
+    --mandir=%{mandir}
+    --infodir=%{infodir}
+    --host=%{triplet}
+    --build=%{triplet}
+    %{conf-local}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]