[gnome-build-meta/valentindavid/gnome-os-ostree: 22/25] Add QEMU tools



commit 775fc0b1cb56f517a78fc09c1187fcc121459d93
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 | 47 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
---
diff --git a/elements/vm/qemu-tools.bst b/elements/vm/qemu-tools.bst
new file mode 100644
index 00000000..12fde50c
--- /dev/null
+++ b/elements/vm/qemu-tools.bst
@@ -0,0 +1,47 @@
+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-deterministic: ''
+  conf-link-args: ''
+  conf-libtool-force-dlsearch: ''
+  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-extra}
+    %{conf-local}


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