summaryrefslogtreecommitdiff
path: root/testing/vinagre
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-15 23:14:47 +0000
committerroot <root@rshg054.dnsready.net>2011-11-15 23:14:47 +0000
commit91ef4ffb2e0ba850501329a8bbc0b326788bd58c (patch)
tree3731bbc0887d98ae3a45395f9826cc51ae3473c3 /testing/vinagre
parent28b13b7e8e6e1e4fa1593f0dfb1c37569f2f90a8 (diff)
Tue Nov 15 23:14:47 UTC 2011
Diffstat (limited to 'testing/vinagre')
-rw-r--r--testing/vinagre/PKGBUILD37
-rw-r--r--testing/vinagre/vinagre.install20
2 files changed, 57 insertions, 0 deletions
diff --git a/testing/vinagre/PKGBUILD b/testing/vinagre/PKGBUILD
new file mode 100644
index 000000000..e7fb8932a
--- /dev/null
+++ b/testing/vinagre/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 142764 2011-11-14 21:29:43Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Maintainer: Allan McRae <mcrae_allan@hotmail.com>
+# Contributor: lp76 <l.peduto@gmail.com>
+
+pkgname=vinagre
+pkgver=3.2.2
+pkgrel=1
+pkgdesc="A VNC Client for the GNOME Desktop"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.gnome.org/projects/vinagre/"
+install=vinagre.install
+depends=('libgnome-keyring' 'gtk-vnc' 'vte3' 'telepathy-glib' 'avahi' 'desktop-file-utils' 'dconf' 'shared-mime-info' 'gnome-icon-theme')
+optdepends=('openssh: SSH plugin'
+ 'rdesktop: RDP plugin')
+makedepends=('gnome-doc-utils' 'intltool' 'rdesktop' 'openssh')
+groups=('gnome-extra')
+options=('!emptydirs' '!libtool')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('1533cc447177f8d6c9cfe45d61b05904efbf66c86b86b4c332e972ff965d76bd')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ #building with as-needed breaks rdp
+ #https://bugzilla.gnome.org/show_bug.cgi?id=653558
+ export LDFLAGS="$LDFLAGS,--no-as-needed"
+ ./configure --prefix=/usr --sysconfdir=/etc --disable-scrollkeeper \
+ --libexecdir=/usr/lib/vinagre --enable-rdp --disable-spice
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
diff --git a/testing/vinagre/vinagre.install b/testing/vinagre/vinagre.install
new file mode 100644
index 000000000..68158ac80
--- /dev/null
+++ b/testing/vinagre/vinagre.install
@@ -0,0 +1,20 @@
+post_install() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-mime-database usr/share/mime > /dev/null
+}
+
+pre_upgrade() {
+ if (( $(vercmp $2 2.91.91-2) < 0 )); then
+ usr/sbin/gconfpkg --uninstall vinagre
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}