summaryrefslogtreecommitdiff
path: root/repo/virt-manager/virt-manager.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/virt-manager/virt-manager.xibuild')
-rw-r--r--repo/virt-manager/virt-manager.xibuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/virt-manager/virt-manager.xibuild b/repo/virt-manager/virt-manager.xibuild
new file mode 100644
index 0000000..8397bbd
--- /dev/null
+++ b/repo/virt-manager/virt-manager.xibuild
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+NAME="virt-manager"
+DESC="GUI for managing virtual machines"
+
+MAKEDEPS="intltool glib python-docutils"
+DEPS="libvirt"
+
+PKG_VER=3.2.0
+SOURCE="https://releases.pagure.org/virt-manager/virt-manager-$PKG_VER.tar.gz"
+
+ADDITIONAL="
+fix-latest-libvirt-xml-output.patch
+tests-remove-sgio-unfiltered.patch
+"
+
+prepare () {
+ apply_patches
+}
+
+build() {
+ python3 setup.py build
+}
+
+
+package() {
+ python3 setup.py --no-update-icon-cache --no-compile-schemas install --root "$PKG_DEST"
+ python3 -m compileall "$PKG_DEST/usr/share/virt-manager"
+ python3 -O -m compileall "$PKG_DEST/usr/share/virt-manager"
+}