void-packages/srcpkgs/virt-manager/template

48 lines
1.7 KiB
Bash

# Template file for 'virt-manager'
pkgname=virt-manager
version=2.2.1
revision=2
archs=noarch
build_style=python3-module
hostmakedepends="intltool python3-devel glib-devel gtk-update-icon-cache
python3-gobject libosinfo libvirt-python3 libxml2-python3 python3-requests"
depends="gnome-ssh-askpass openbsd-netcat yajl
gir-freedesktop libvirt-glib spice-gtk gtk-vnc vte3
dmidecode virt-manager-tools>=${version}_${revision}
gtksourceview4"
short_desc="User interface for managing virtual machines"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2.0-or-later"
homepage="https://virt-manager.org"
distfiles="https://virt-manager.org/download/sources/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=cfd88d66e834513e067b4d3501217e21352fadb673103bacb9e646da9f029a1b
post_install() {
rm $DESTDIR/usr/share/glib-2.0/schemas/gschemas.compiled \
$DESTDIR/usr/share/icons/hicolor/icon-theme.cache
}
virt-manager-tools_package() {
archs=noarch
short_desc="Programs to create and clone virtual machines"
depends="libosinfo python3-gobject libvirt-python3 python3-urllib3 libxml2-python3 python3-requests"
pycompile_dirs="/usr/share/${sourcepkg}"
python_version=3
pkg_install() {
vmove usr/bin/virt-clone
vmove usr/bin/virt-convert
vmove usr/bin/virt-install
vmove usr/bin/virt-xml
vmove usr/share/man/man1/virt-install.1
vmove usr/share/man/man1/virt-convert.1
vmove usr/share/man/man1/virt-clone.1
vmove usr/share/man/man1/virt-xml.1
vmove usr/share/virt-manager/virt-clone
vmove usr/share/virt-manager/virt-convert
vmove usr/share/virt-manager/virt-install
vmove usr/share/virt-manager/virt-xml
vmove usr/share/virt-manager/virtconv
vmove usr/share/virt-manager/virtinst
}
}