summaryrefslogtreecommitdiff
path: root/testing/vinagre
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-19 23:14:52 +0000
committerroot <root@rshg054.dnsready.net>2011-10-19 23:14:52 +0000
commit6c5c865fa6674610732dd8427bf8f09f3c166299 (patch)
tree6873cd726394afbad834d3950d854e87b57cb2cd /testing/vinagre
parent791dde5091677cd6370690f9df9fb7cbdcfe0968 (diff)
Wed Oct 19 23:14:52 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..189f5a3c2
--- /dev/null
+++ b/testing/vinagre/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 140698 2011-10-18 08:19:26Z 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.1
+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=('077dc011d048e9ed7a683ed74dc027c5c7e47d0b95b99acb493bf99fff22369c')
+
+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
+}