virt-manager: update to 4.0.0

Closes #35955
This commit is contained in:
Michal Vasilek 2022-04-07 13:30:28 +02:00
parent e7c1951cb4
commit fed3f319cc
2 changed files with 24 additions and 9 deletions

View File

@ -0,0 +1,20 @@
--- a/setup.py
+++ b/setup.py
@@ -264,17 +264,6 @@ class my_install(setuptools.command.install.install):
setuptools.command.install.install.finalize_options(self)
def run(self):
- if not self.distribution.no_update_icon_cache:
- print("running gtk-update-icon-cache")
- icon_path = os.path.join(self.install_data, "share/icons/hicolor")
- self.spawn(["gtk-update-icon-cache", "-q", "-t", icon_path])
-
- if not self.distribution.no_compile_schemas:
- print("compiling gsettings schemas")
- gschema_install = os.path.join(self.install_data,
- "share/glib-2.0/schemas")
- self.spawn(["glib-compile-schemas", gschema_install])
-
setuptools.command.install.install.run(self)

View File

@ -1,10 +1,10 @@
# Template file for 'virt-manager'
pkgname=virt-manager
version=3.2.0
revision=2
version=4.0.0
revision=1
build_style=python3-module
pycompile_dirs="/usr/share/${pkgname}/virtManager"
hostmakedepends="gettext python3-docutils gtk-update-icon-cache"
hostmakedepends="gettext python3-docutils python3-setuptools"
depends="virt-manager-tools>=${version}_${revision} libvirt-glib
gtk-vnc spice-gtk gtksourceview4 dconf vte3 gir-freedesktop"
_coredeps="python3-gobject libvirt-python3 libosinfo
@ -16,14 +16,9 @@ license="GPL-2.0-or-later"
homepage="https://virt-manager.org"
changelog="https://raw.githubusercontent.com/virt-manager/virt-manager/master/NEWS.md"
distfiles="https://virt-manager.org/download/sources/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=2b6fe3d90d89e1130227e4b05c51e6642d89c839d3ea063e0e29475fd9bf7b86
checksum=515aaa2021a4bf352b0573098fe6958319b1ba8ec508ea37e064803f97f17086
python_version=3
post_install() {
rm $DESTDIR/usr/share/glib-2.0/schemas/gschemas.compiled \
$DESTDIR/usr/share/icons/hicolor/icon-theme.cache
}
virt-manager-tools_package() {
short_desc="Programs to create and clone virtual machines"
depends="${_coredeps} python3-argcomplete"