# $Id: PKGBUILD 144335 2015-10-18 21:09:32Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Stefano Facchini # Contributor: Jonathan Lestrelin # Contributor: Lucio Zara pkgname=spice-gtk3 pkgver=0.30 pkgrel=1 pkgdesc="Gtk client and libraries for SPICE remote desktop servers (gtk3 version)" arch=('i686' 'x86_64') url="http://spice-space.org" license=('LGPL2.1') depends=('celt0.5.1' 'dbus-glib' 'gtk3' 'gstreamer0.10-good' 'libcacard' 'libpulse' 'usbredir' 'libsoup') makedepends=('gobject-introspection' 'intltool' 'python2-pyparsing' 'spice-protocol' 'usbutils' 'vala' 'sdl' 'python2-six') source=("http://www.spice-space.org/download/gtk/spice-gtk-$pkgver.tar.bz2") sha256sums=('44c7e22713246a2054c3c3b6e0280fd4c1fdbd2c8d33e5eb95bcda4748d5e973') sha256sums=('e23323fa399efba17b3c18475ef10a29815851be5e7dbedd246b28ee8eb1379c') sha256sums=('e23323fa399efba17b3c18475ef10a29815851be5e7dbedd246b28ee8eb1379c') sha256sums=('e23323fa399efba17b3c18475ef10a29815851be5e7dbedd246b28ee8eb1379c') prepare() { cd "$srcdir/spice-gtk-$pkgver" # sed -i 's,/usr/bin/env python,/usr/bin/python2,' spice-common/spice_codegen.py } build() { cd "$srcdir/spice-gtk-$pkgver" PYTHON=python2 ./configure --prefix=/usr \ --disable-static --enable-vala --with-gtk=3.0 \ --with-audio=pulse --with-audio=gstreamer \ --with-coroutine=gthread --sbindir=/usr/bin \ --enable-smartcard make } package() { cd "$srcdir/spice-gtk-$pkgver" make DESTDIR="$pkgdir/" install }