summaryrefslogtreecommitdiff
path: root/pcr/spice-protocol
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-14 01:13:06 -0800
committerroot <root@rshg054.dnsready.net>2012-11-14 01:13:06 -0800
commit6fa5f08247aef1f757f376ef12bd4a6257c124f2 (patch)
treeb743d1e7cbc92a595661ecd730522cee45ebcabe /pcr/spice-protocol
parenta29329c38e50afd28d28c3a99e35d8774b9b19f8 (diff)
Wed Nov 14 01:13:05 PST 2012
Diffstat (limited to 'pcr/spice-protocol')
-rw-r--r--pcr/spice-protocol/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/pcr/spice-protocol/PKGBUILD b/pcr/spice-protocol/PKGBUILD
new file mode 100644
index 000000000..03c122275
--- /dev/null
+++ b/pcr/spice-protocol/PKGBUILD
@@ -0,0 +1,36 @@
+# Contributor: Parabola GNU / Linux-libre <aurelien@cwb.io>
+
+ pkgname=spice-protocol
+ pkgver=0.12.2
+ pkgrel=1
+ pkgdesc="SPICE protocol"
+ arch=('x86_64' 'i686')
+ url="http://spice-space.org"
+ license=('GPL')
+ makedepends=(python2-pyparsing)
+ depends=(pixman celt cegui alsa-utils libxrandr libxinerama libsasl
+libcacard)
+
+ source=(http://spice-space.org/download/releases/$pkgname-$pkgver.tar.bz2)
+
+ build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i 's,/usr/bin/env python,/usr/bin/python2,' spice-common/spice_codegen.py
+ PYTHON=python2 \
+ ./configure --prefix=/usr \
+ --enable-gui \
+ --enable-opengl \
+ --enable-smartcard \
+ # --enable-tunnel
+ make
+ }
+
+ package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+ }
+
+ # vim:set ts=2 sw=2 et:
+md5sums=('8bab5b67a00ec8429334963d361692ab')
+md5sums=('8bab5b67a00ec8429334963d361692ab')