PKGBUILDs/community/spice-gtk3/PKGBUILD

41 lines
1.2 KiB
Bash
Raw Normal View History

2014-02-04 01:36:00 +00:00
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Stefano Facchini <stefano.facchini@gmail.com>
# Contributor: Jonathan Lestrelin <zanko@daemontux.org>
# Contributor: Lucio Zara <pennega@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - drop libcacard dep
pkgname=spice-gtk3
2016-06-22 19:26:33 +00:00
pkgver=0.32
2016-06-23 16:05:34 +00:00
pkgrel=2
2014-02-04 01:36:00 +00:00
pkgdesc="Gtk client and libraries for SPICE remote desktop servers (gtk3 version)"
arch=('i686' 'x86_64')
url="http://spice-space.org"
license=('LGPL2.1')
2014-08-29 15:43:53 +00:00
depends=('celt0.5.1' 'dbus-glib' 'gtk3' 'libpulse' 'usbredir' 'libsoup')
makedepends=('gobject-introspection' 'intltool' 'python2-pyparsing' 'spice-protocol' 'usbutils'
2015-06-27 00:09:12 +00:00
'vala' 'sdl' 'python2-six')
2014-02-04 01:36:00 +00:00
source=("http://www.spice-space.org/download/gtk/spice-gtk-$pkgver.tar.bz2")
2016-06-22 19:26:33 +00:00
md5sums=('09930abb5ebe1b25b0f6988eb5716f98')
2014-02-04 01:36:00 +00:00
prepare() {
cd "$srcdir/spice-gtk-$pkgver"
2015-10-18 21:57:24 +00:00
# sed -i 's,/usr/bin/env python,/usr/bin/python2,' spice-common/spice_codegen.py
2014-02-04 01:36:00 +00:00
}
build() {
cd "$srcdir/spice-gtk-$pkgver"
PYTHON=python2 ./configure --prefix=/usr \
--disable-static --enable-vala --with-gtk=3.0 \
2014-08-29 15:43:53 +00:00
--with-audio=pulse \
2014-04-14 12:06:48 +00:00
--with-coroutine=gthread --sbindir=/usr/bin
2014-02-04 01:36:00 +00:00
make
}
package() {
cd "$srcdir/spice-gtk-$pkgver"
make DESTDIR="$pkgdir/" install
}