summaryrefslogtreecommitdiff
path: root/community/spice-gtk3/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-04 00:45:57 -0700
committerroot <root@rshg054.dnsready.net>2013-07-04 00:45:57 -0700
commit04b07250d0055e5cecd7c998660c5595699cfe1c (patch)
tree8697097210dfb2b705afb6ba145dafd08c476f84 /community/spice-gtk3/PKGBUILD
parent68e8645dcd1ce619af6d92f3645c43b15bc5ac71 (diff)
Thu Jul 4 00:45:57 PDT 2013
Diffstat (limited to 'community/spice-gtk3/PKGBUILD')
-rw-r--r--community/spice-gtk3/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/spice-gtk3/PKGBUILD b/community/spice-gtk3/PKGBUILD
new file mode 100644
index 000000000..803951dfc
--- /dev/null
+++ b/community/spice-gtk3/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 93453 2013-07-03 13:44:50Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Stefano Facchini <stefano.facchini@gmail.com>
+# Contributor: Jonathan Lestrelin <zanko@daemontux.org>
+# Derived from the spice-gtk PKGBUILD by
+# Contributor: Lucio Zara <pennega@gmail.com>
+
+pkgname=spice-gtk3
+pkgver=0.20
+pkgrel=2
+pkgdesc="A Gtk client and libraries for SPICE remote desktop servers (gtk3 version)."
+arch=('x86_64' 'i686')
+url="http://spice-space.org"
+license=('GPL')
+makedepends=('intltool' 'vala' 'python2-pyparsing' 'python2-gobject')
+depends=('libpulse' 'gtk3' 'spice' 'libusb' 'usbredir')
+conflicts=('spice-gtk')
+options=('!libtool')
+source=("http://www.spice-space.org/download/gtk/spice-gtk-$pkgver.tar.bz2")
+sha256sums=('b1355823b0ceb2e118c1f9a9a602ccab78e1e2edf2d93f71fa42d3bc85ca75df')
+
+build() {
+ cd "$srcdir/spice-gtk-$pkgver"
+ sed -i 's,/usr/bin/env python,/usr/bin/python2,' spice-common/spice_codegen.py
+ ./configure --prefix=/usr \
+ --with-gtk=3.0 \
+ --with-python \
+ --enable-vala \
+ --enable-smartcard=no
+ make
+}
+
+package() {
+ cd "$srcdir/spice-gtk-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}