# Description: A desktop user interface for managing virtual machines through libvirt
# URL: https://virt-manager.org/
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: libosinfo qemu python3-gobject libvirt-glib libvirt-python vte3 gtk-vnc gtksourceview

name=virt-manager
version=4.1.0
release=2
source=(https://releases.pagure.org/virt-manager/$name-$version.tar.gz)

build() {
	cd $name-$version
	cat >> setup.cfg <<EOD
[options]
packages = find:
EOD
	/usr/bin/python3 setup.py configure --prefix=/usr --default-hvs=qemu
	/usr/bin/python3 setup.py build
	/usr/bin/python3 setup.py --no-update-icon-cache --no-compile-schemas \
		install --root $PKG

	rm -r $PKG/usr/share/locale
}
