Skip to content

Commit

Permalink
snapcraft.yaml: Add virt-v2v part
Browse files Browse the repository at this point in the history
Signed-off-by: Din Music <[email protected]>
  • Loading branch information
MusicDin committed Jul 11, 2024
1 parent 803237c commit 9686505
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9686505

Please sign in to comment.