diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-12 06:35:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-12 06:39:09 +0000 |
commit | aebf9c2bbfd05260911ff77ff8f950e06d98fdc2 (patch) | |
tree | 9ae4175a82ed5df077729bea3f8a5647d874fa21 /main/virt-manager | |
parent | 7116484c04e6c133b25ff1c9f8ebc8213dafd368 (diff) | |
download | aports-aebf9c2bbfd05260911ff77ff8f950e06d98fdc2.tar.bz2 aports-aebf9c2bbfd05260911ff77ff8f950e06d98fdc2.tar.xz |
main/virt-manager: upgrade to 0.10.0
Diffstat (limited to 'main/virt-manager')
-rw-r--r-- | main/virt-manager/APKBUILD | 60 |
1 files changed, 40 insertions, 20 deletions
diff --git a/main/virt-manager/APKBUILD b/main/virt-manager/APKBUILD index bdfd00ad1..d5e26a67b 100644 --- a/main/virt-manager/APKBUILD +++ b/main/virt-manager/APKBUILD @@ -1,18 +1,20 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=virt-manager -pkgver=0.9.5 -pkgrel=2 +pkgver=0.10.0 +pkgrel=0 pkgdesc="GUI for managing virtual machines" url="http://virt-manager.et.redhat.com/" arch="noarch" license="GPL2+" -depends="gconf gtk-vnc librsvg libvirt libxml2 py-dbus py-gnome-gconf python - rarian virtinst vte py-urlgrabber py-gtk-vnc py-spice-gtk - py-gtk py-libxml2" +depends="python py-gobject3 gtk+3.0 vte3 py-libxml2 $pkgname-common + libvirt-glib spice-gtk gtk-vnc>=0.5.2-r2" depends_dev="intltool" -makedepends="$depends_dev" +_common_deps="py-libxml2 py-urlgrabber py-ipaddr py-libvirt" +makedepends="$depends_dev grep $_common_deps" install= -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-lang + $pkgname-common + virt-install:virt_install" source="http://virt-manager.et.redhat.com/download/sources/virt-manager/virt-manager-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver @@ -22,22 +24,40 @@ prepare() { build() { cd "$_builddir" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --with-default-graphics=spice \ - --without-tui \ - || return 1 - make || return 1 + python setup.py build || return 1 } package() { cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } -md5sums="2b622a0f4cd53f83665d9841b5a3cefa virt-manager-0.9.5.tar.gz" -sha256sums="5d2afb282fb8c4401f9e203dcb41a62746b9a909258d440d508219bc1a33803d virt-manager-0.9.5.tar.gz" -sha512sums="a1ecf6fe9f3ddacfe43006cfc388d9324c457be91767792119d8a112b190739e3274dfeb7cffd28534b86a33f86079c569d8337eeddaa9d60ed69f82d8a4627f virt-manager-0.9.5.tar.gz" +common() { + pkgdesc="Common files used by virt-manager and virt-install" + depends="$_common_deps" + mkdir -p "$subpkgdir"/usr/share/virt-manager "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/share/virt-manager/virtcli \ + "$pkgdir"/usr/share/virt-manager/virtconv \ + "$pkgdir"/usr/share/virt-manager/virtinst \ + "$subpkgdir"/usr/share/virt-manager || return 1 +} + +virt_install() { + pkgdesc="Utilities for installing virtual machines" + depends="$pkgname-common=$pkgver-r$pkgrel" + mkdir -p "$subpkgdir"/usr/share/virt-manager "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/share/virt-manager/virt-install \ + "$pkgdir"/usr/share/virt-manager/virt-clone \ + "$pkgdir"/usr/share/virt-manager/virt-image \ + "$pkgdir"/usr/share/virt-manager/virt-convert \ + "$subpkgdir"/usr/share/virt-manager/ || return 1 + mv "$pkgdir"/usr/bin/virt-install \ + "$pkgdir"/usr/bin/virt-clone \ + "$pkgdir"/usr/bin/virt-image \ + "$pkgdir"/usr/bin/virt-convert \ + "$subpkgdir"/usr/bin/ || return 1 +} + +md5sums="e23b8d2a7623b4e8e256c25735f332c8 virt-manager-0.10.0.tar.gz" +sha256sums="59bd8f316917228885261a1ecbeb9aadbb0b0e02cdf5fc974c78113c5814346d virt-manager-0.10.0.tar.gz" +sha512sums="13eaed3645ccee79da6a972e02bb182b5bd24981ff55b6322b8aaf2689fab520f22f1e729bb5f5287d66526252a31a531c6595ee27489a52fb4829ae18cf8204 virt-manager-0.10.0.tar.gz" |