summaryrefslogtreecommitdiff
path: root/libre/virt-manager-i686/PKGBUILD
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-02-25 16:54:16 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-02-27 01:31:19 +0100
commitf6f0cf7fcab9bdb30b59d6ed8dbb30e49ca25a68 (patch)
tree2f5c8cddc80730b28d52462bbd14734c52bf987f /libre/virt-manager-i686/PKGBUILD
parent6629813b30d7df076dc8619414d76b658a5de5f1 (diff)
downloadabslibre-f6f0cf7fcab9bdb30b59d6ed8dbb30e49ca25a68.tar.gz
abslibre-f6f0cf7fcab9bdb30b59d6ed8dbb30e49ca25a68.tar.bz2
abslibre-f6f0cf7fcab9bdb30b59d6ed8dbb30e49ca25a68.zip
libre: virt-install: add i686 version due to upstream lag
This restores virt-install 2.0.0 for i686 to fix this issue with pacman -Syu: :: installing virt-install (2.1.0-2.par1) breaks dependency 'virt-install=2.0.0' required by virt-manager Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre/virt-manager-i686/PKGBUILD')
-rw-r--r--libre/virt-manager-i686/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/libre/virt-manager-i686/PKGBUILD b/libre/virt-manager-i686/PKGBUILD
new file mode 100644
index 000000000..c8690799c
--- /dev/null
+++ b/libre/virt-manager-i686/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor (Arch): Daniel Micay <danielmicay@gmail.com>
+# Contributor (Arch): Jonathan Wiersma <archaur at jonw dot org>
+# Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgbase=virt-manager
+pkgname=(virt-install)
+pkgver=2.0.0
+pkgrel=3
+pkgrel+=.par1
+pkgdesc="Console user interface for managing virtual machines, without non-FSDG compliant distros and operating systems support"
+arch=('i686')
+url="http://virt-manager.org/"
+license=('GPL')
+depends=('libosinfo' 'libvirt-python' 'python-gobject' 'python-requests')
+makedepends=('intltool')
+source=("https://virt-manager.org/download/sources/virt-manager/virt-manager-$pkgver.tar.gz"
+ 'libre.patch')
+sha512sums=('5d0eb65dceb5c913973edaa52414b1665d1ed9cd3f226e28a592decddec2acd8fdb589f60736edf9b7d95830893812f9aecca2cbdd715033ca7ea53a95472876'
+ 'de6b88810094bf55515e32bfb6ff5abeb06a8f79c74095e8d57bf48423033eb3835bc9c21433e8525f362c2b144f9819437e46e7aabf64c54e7b3bfb7285e706')
+
+prepare() {
+ cd "$srcdir/$pkgbase-$pkgver"
+ patch -p1 -i ../libre.patch
+}
+
+build() {
+ cd "$srcdir/$pkgbase-$pkgver"
+ python setup.py build
+}
+
+package_virt-install() {
+ cd "$srcdir/$pkgbase-$pkgver"
+ python setup.py --no-update-icon-cache --no-compile-schemas install --root "$pkgdir"
+ python -m compileall "${pkgdir}/usr/share/virt-manager"
+ python -O -m compileall "${pkgdir}/usr/share/virt-manager"
+
+ # Split virt-manager
+ [[ -d $srcdir/virt-manager ]] && rm -r "$srcdir/virt-manager/"
+ mkdir "$srcdir"/virt-manager
+ mv "$pkgdir"/usr/bin/virt-manager \
+ "$pkgdir"/usr/share/{appdata,applications,glib-2.0,icons}/ \
+ "$pkgdir"/usr/share/man/man1/virt-manager.1 \
+ "$srcdir/virt-manager/"
+}