1 # Maintainer: Stefano Facchini <stefano.facchini@gmail.com>
2 # Contributor: Jonathan Lestrelin <zanko@daemontux.org>
3 # Almost all of this PKGBUILD is taken from the vinagre one on abs from:
4 # Contributor: Jan de Groot <jgc@archlinux.org>
5 # Contributor: Allan McRae <mcrae_allan@hotmail.com>
6 # Contributor: lp76 <l.peduto@gmail.com>
12 pkgdesc="A VNC Client for the GNOME Desktop (with Spice support)"
13 arch=('i686' 'x86_64')
15 url="http://www.gnome.org/projects/vinagre/"
16 install=vinagre.install
17 depends=('libgnome-keyring' 'gtk-vnc' 'vte3' 'avahi' 'desktop-file-utils' 'hicolor-icon-theme' 'telepathy-glib' 'dconf' 'shared-mime-info' 'gnome-icon-theme' 'spice-gtk3')
18 optdepends=('rdesktop: RDP plugin')
19 makedepends=('gnome-doc-utils' 'intltool' 'rdesktop' 'openssh')
22 options=('!emptydirs' '!libtool')
23 source=(http://ftp.gnome.org/pub/GNOME/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.xz)
24 sha256sums=('1533cc447177f8d6c9cfe45d61b05904efbf66c86b86b4c332e972ff965d76bd')
27 cd "$srcdir/$_pkgname-$pkgver"
29 #building with as-needed breaks rdp
30 #https://bugzilla.gnome.org/show_bug.cgi?id=653558
31 export LDFLAGS="$LDFLAGS,--no-as-needed"
32 ./configure --prefix=/usr \
34 --disable-scrollkeeper \
35 --libexecdir=/usr/lib/vinagre \
42 cd "$srcdir/$_pkgname-$pkgver"
43 make DESTDIR="$pkgdir" install