diff --git a/snapcraft.yaml b/snapcraft.yaml index bf39068c5..624e0a4bb 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -740,6 +740,8 @@ parts: - bin/ovn-sbctl spice-protocol: + after: + - virt-v2v source: https://gitlab.freedesktop.org/spice/spice-protocol source-depth: 1 source-tag: v0.14.4 @@ -803,6 +805,49 @@ parts: - lib/*/libspice-server*so* - lib/*/libpixman*so* + virt-v2v: + source: https://github.com/libguestfs/virt-v2v + source-tag: v2.4.0 + source-type: git + source-depth: 1 + plugin: autotools + autotools-configure-parameters: + - --prefix= + build-packages: + - genisoimage + - gettext + - libguestfs-ocaml-dev + - libjansson-dev + - libnbd-ocaml-dev + - libosinfo-1.0-dev + - libpcre2-dev + - libvirt-ocaml-dev + - libxml2-dev + - pkg-config + stage-packages: + - libguestfs0 + - libnbd0 + - libosinfo-1.0-0 + - libfuse2 + - libyajl2 + - libvirt0 + organize: + usr/bin/: bin/ + usr/lib/: lib/ + stage: + - bin/virt-v2v + - bin/virt-v2v-in-place + - bin/virt-v2v-inspector + - lib/*/libfuse.so* + - lib/*/libguestfs.so* + - lib/*/libnbd.so* + - lib/*/libosinfo*so* + - lib/*/libsoup*so* + - lib/*/libvirt.so* + - lib/*/libxml2.so* + - lib/*/libxslt.so* + - lib/*/libyajl.so* + swtpm: after: - libtpms