mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
parent
e7c1951cb4
commit
fed3f319cc
2 changed files with 24 additions and 9 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'virt-manager'
|
# Template file for 'virt-manager'
|
||||||
pkgname=virt-manager
|
pkgname=virt-manager
|
||||||
version=3.2.0
|
version=4.0.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_dirs="/usr/share/${pkgname}/virtManager"
|
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
|
depends="virt-manager-tools>=${version}_${revision} libvirt-glib
|
||||||
gtk-vnc spice-gtk gtksourceview4 dconf vte3 gir-freedesktop"
|
gtk-vnc spice-gtk gtksourceview4 dconf vte3 gir-freedesktop"
|
||||||
_coredeps="python3-gobject libvirt-python3 libosinfo
|
_coredeps="python3-gobject libvirt-python3 libosinfo
|
||||||
|
@ -16,14 +16,9 @@ license="GPL-2.0-or-later"
|
||||||
homepage="https://virt-manager.org"
|
homepage="https://virt-manager.org"
|
||||||
changelog="https://raw.githubusercontent.com/virt-manager/virt-manager/master/NEWS.md"
|
changelog="https://raw.githubusercontent.com/virt-manager/virt-manager/master/NEWS.md"
|
||||||
distfiles="https://virt-manager.org/download/sources/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="https://virt-manager.org/download/sources/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=2b6fe3d90d89e1130227e4b05c51e6642d89c839d3ea063e0e29475fd9bf7b86
|
checksum=515aaa2021a4bf352b0573098fe6958319b1ba8ec508ea37e064803f97f17086
|
||||||
python_version=3
|
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() {
|
virt-manager-tools_package() {
|
||||||
short_desc="Programs to create and clone virtual machines"
|
short_desc="Programs to create and clone virtual machines"
|
||||||
depends="${_coredeps} python3-argcomplete"
|
depends="${_coredeps} python3-argcomplete"
|
||||||
|
|
Loading…
Add table
Reference in a new issue