1 # Maintainer: Stefano Facchini <stefano.facchini@gmail.com>
2 pkgname=gnome-boxes-git
5 pkgdesc="A simple GNOME 3 application to access remote or virtual systems"
7 url="http://www.gnome.org"
9 depends=('gtk3' 'clutter-gtk' 'spice-gtk3-git' 'libvirt-glib-git'
10 'gtk-vnc-git' 'udev' 'libosinfo' 'dconf' 'hicolor-icon-theme'
11 'desktop-file-utils' 'shared-mime-info')
12 makedepends=('git' 'vala')
13 optdepends=('qemu-kvm-spice: to create new VMs')
14 provides=('gnome-boxes')
15 conflicts=('gnome-boxes')
16 install=gnome-boxes.install
17 source=('gtk-3.2-toolbar-fix.patch')
18 md5sums=('0dd09f031a13254a79526320d9bc36bb')
20 _gitroot=git://git.gnome.org/gnome-boxes
25 msg "Connecting to GIT server...."
27 if [[ -d "$_gitname" ]]; then
28 cd "$_gitname" && git pull origin
29 msg "The local files are updated."
31 git clone "$_gitroot" "$_gitname"
34 msg "GIT checkout done or server timeout"
35 msg "Starting build..."
37 rm -rf "$srcdir/$_gitname-build"
38 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
41 # Unbreak gnome-boxes with gtk+ 3.2
42 # (gnome-boxes would require gtk+ commit 5cf0450c69f7bbdb0d1ca22ec54355e3b3e8c9c2)
43 patch -p1 < "$srcdir/gtk-3.2-toolbar-fix.patch"
45 ./autogen.sh --prefix=/usr
50 cd "$srcdir/$_gitname-build"
51 make DESTDIR="$pkgdir/" install
54 # vim:set ts=2 sw=2 et: