[gnome-build-meta/valentindavid/gnome-boxes] core-deps/libvirt.bst: Update and fix dependencies



commit 7736900a21e0b76046cf688cf0e212472fa98655
Author: Valentin David <valentin david codethink co uk>
Date:   Thu Jul 16 15:12:57 2020 +0200

    core-deps/libvirt.bst: Update and fix dependencies

 elements/core-deps.bst                |  5 +++
 elements/core-deps/dnsmasq.bst        |  6 ++++
 elements/core-deps/ebtables.bst       |  8 +++++
 elements/core-deps/libvirt.bst        | 39 +++++++++++++++++++++---
 elements/core-deps/qemu.bst           | 57 +++++++++++++++++++++++++++++++++++
 elements/core-deps/spice-protocol.bst |  6 ++--
 elements/core-deps/spice-server.bst   | 13 ++++++++
 elements/core-deps/yajl.bst           |  8 +++++
 8 files changed, 134 insertions(+), 8 deletions(-)
---
diff --git a/elements/core-deps.bst b/elements/core-deps.bst
index e10b3bb2..2a830fe5 100644
--- a/elements/core-deps.bst
+++ b/elements/core-deps.bst
@@ -16,7 +16,9 @@ depends:
 - core-deps/colord-gtk.bst
 - core-deps/colord.bst
 - core-deps/cups-pk-helper.bst
+- core-deps/dnsmasq.bst
 - core-deps/dotconf.bst
+- core-deps/ebtables.bst
 - core-deps/eos-updater.bst
 - core-deps/espeak.bst
 - core-deps/evolution-data-server.bst
@@ -99,12 +101,14 @@ depends:
 - core-deps/pyatspi.bst
 - core-deps/pycups.bst
 - core-deps/python-pyparsing.bst
+- core-deps/qemu.bst
 - core-deps/rpcsvc-proto.bst
 - core-deps/samba.bst
 - core-deps/sane-backends.bst
 - core-deps/speech-dispatcher.bst
 - core-deps/spice-gtk.bst
 - core-deps/spice-protocol.bst
+- core-deps/spice-server.bst
 - core-deps/startup-notification.bst
 - core-deps/system-config-printer.bst
 - core-deps/template-glib.bst
@@ -118,3 +122,4 @@ depends:
 - core-deps/upower.bst
 - core-deps/vte.bst
 - core-deps/xmlb.bst
+- core-deps/yajl.bst
diff --git a/elements/core-deps/dnsmasq.bst b/elements/core-deps/dnsmasq.bst
new file mode 100644
index 00000000..3d17f810
--- /dev/null
+++ b/elements/core-deps/dnsmasq.bst
@@ -0,0 +1,6 @@
+kind: make
+sources:
+- kind: tar
+  url: http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.81.tar.xz
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
diff --git a/elements/core-deps/ebtables.bst b/elements/core-deps/ebtables.bst
new file mode 100644
index 00000000..a6ffe174
--- /dev/null
+++ b/elements/core-deps/ebtables.bst
@@ -0,0 +1,8 @@
+kind: autotools
+sources:
+- kind: tar
+  url: http://ftp.netfilter.org/pub/ebtables/ebtables-2.0.11.tar.gz
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
diff --git a/elements/core-deps/libvirt.bst b/elements/core-deps/libvirt.bst
index c7b754f8..28420787 100644
--- a/elements/core-deps/libvirt.bst
+++ b/elements/core-deps/libvirt.bst
@@ -1,20 +1,49 @@
 kind: autotools
 sources:
 - kind: tar
-  url: https://libvirt.org/sources/libvirt-4.9.0.tar.xz
+  url: https://libvirt.org/sources/libvirt-6.5.0.tar.xz
 build-depends:
+- core-deps/rpcsvc-proto.bst
 - freedesktop-sdk.bst:components/libxslt.bst
 - freedesktop-sdk.bst:components/python3.bst
 - freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
 depends:
-- freedesktop-sdk.bst:components/libnl.bst
-- core-deps/portablexdr.bst
+- sdk/glib.bst
+- core-deps/dnsmasq.bst
+- core-deps/ebtables.bst
+- core-deps/qemu.bst
+- core-deps/yajl.bst
+- freedesktop-sdk.bst:components/dbus.bst
+- freedesktop-sdk.bst:components/dmidecode.bst
 - freedesktop-sdk.bst:components/gnutls.bst
+- freedesktop-sdk.bst:components/iproute2.bst
+- freedesktop-sdk.bst:components/libnl.bst
 - freedesktop-sdk.bst:components/libtirpc.bst
 - freedesktop-sdk.bst:components/libxml2.bst
 - freedesktop-sdk.bst:components/lvm2.bst
+- freedesktop-sdk.bst:components/systemd.bst
+- freedesktop-sdk.bst:components/xorg-lib-pciaccess.bst
 - freedesktop-sdk.bst:bootstrap-import.bst
 config:
+  configure-commands:
+  - mkdir build
+  - |
+    cd build
+    %{configure}
+  build-commands:
+  - |
+    cd build
+    %{make}
   install-commands:
-    (>):
-    - mv %{install-root}/var/run %{install-root}
+  - |
+    cd build
+    %{make-install}
+  - mv %{install-root}/var/run %{install-root}
+variables:
+  conf-cmd: ../configure
+  # --disable-Werror does not work
+  conf-global: >-
+    --disable-static
+    --host=%{triplet}
+    --build=%{triplet}
+    --with-init-script=systemd
diff --git a/elements/core-deps/qemu.bst b/elements/core-deps/qemu.bst
new file mode 100644
index 00000000..76c7733b
--- /dev/null
+++ b/elements/core-deps/qemu.bst
@@ -0,0 +1,57 @@
+kind: autotools
+
+sources:
+- kind: tar
+  url: https://download.qemu.org/qemu-5.0.0.tar.xz
+
+build-depends:
+- core-deps/spice-protocol.bst
+- core-deps/spice-server.bst
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+
+depends:
+- freedesktop-sdk.bst:components/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
+
+variables:
+  (?):
+  - arch == "x86_64":
+      targets: --target-list=x86_64-softmmu,i386-softmmu
+  - arch == "i686":
+      targets: --target-list=x86_64-softmmu,i386-softmmu
+  - arch == "aarch64":
+      targets: --target-list=aarch64-softmmu,arm-softmmu
+  - arch == "arm":
+      targets: --target-list=arm-softmmu
+  - arch == "powerpc64le":
+      targets: --target-list=ppc64-softmmu
+
+  conf-local: >-
+    --disable-werror
+    --enable-system
+    --disable-user
+    --enable-spice
+
+  # --exec-prefix --disable-static are not accepted
+  conf-args: >-
+    %{targets}
+    --prefix="%{prefix}"
+    --bindir="%{bindir}"
+    --sbindir="%{sbindir}"
+    --sysconfdir="%{sysconfdir}"
+    --datadir="%{datadir}"
+    --includedir="%{includedir}"
+    --libdir="%{libdir}"
+    --libexecdir="%{libexecdir}"
+    --localstatedir="%{localstatedir}"
+    --sharedstatedir="%{sharedstatedir}"
+    --mandir="%{mandir}"
+    --infodir="%{infodir}"
+    --localstatedir=/
+    --host=%{triplet}
+    --build=%{triplet}
+    %{conf-extra}
+    %{conf-local}
diff --git a/elements/core-deps/spice-protocol.bst b/elements/core-deps/spice-protocol.bst
index da271b4b..7753029c 100644
--- a/elements/core-deps/spice-protocol.bst
+++ b/elements/core-deps/spice-protocol.bst
@@ -1,8 +1,8 @@
-kind: autotools
+kind: meson
 sources:
 - kind: tar
-  url: spice:releases/spice-protocol-0.14.1.tar.bz2
+  url: spice:releases/spice-protocol-0.14.2.tar.xz
 build-depends:
-- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
 depends:
 - freedesktop-sdk.bst:bootstrap-import.bst
diff --git a/elements/core-deps/spice-server.bst b/elements/core-deps/spice-server.bst
new file mode 100644
index 00000000..8a8b68f0
--- /dev/null
+++ b/elements/core-deps/spice-server.bst
@@ -0,0 +1,13 @@
+kind: autotools
+sources:
+- kind: tar
+  url: spice:releases/spice-server/spice-0.14.3.tar.bz2
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+depends:
+- core-deps/spice-protocol.bst
+- sdk/glib.bst
+- freedesktop-sdk.bst:components/jpeg.bst
+- freedesktop-sdk.bst:components/opus.bst
+- freedesktop-sdk.bst:components/pixman.bst
+- freedesktop-sdk.bst:bootstrap-import.bst
diff --git a/elements/core-deps/yajl.bst b/elements/core-deps/yajl.bst
new file mode 100644
index 00000000..322dfd4c
--- /dev/null
+++ b/elements/core-deps/yajl.bst
@@ -0,0 +1,8 @@
+kind: cmake
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-cmake.bst
+
+sources:
+- kind: tar
+  url: http://github.com/lloyd/yajl/tarball/2.1.0


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