# Maintainer: Jan Alexander Steffens (heftig) # Contributor: Jan de Groot # Contributor: Allan McRae # Contributor: lp76 pkgname=vinagre pkgver=3.22.0+r160+gc86e114 pkgrel=1 epoch=1 pkgdesc="A VNC Client for the GNOME desktop" url="https://wiki.gnome.org/Apps/Vinagre" arch=(x86_64) license=(GPL) depends=(libsecret gtk-vnc vte3 telepathy-glib avahi spice-gtk3 gnutls freerdp) makedepends=(docbook-xsl intltool openssh itstool spice-protocol vala gnome-common appstream-glib git gobject-introspection) optdepends=('openssh: SSH plugin') _commit=c86e114efe31381bff3cad008e9f2cd84a83a803 # master source=("git+https://gitlab.gnome.org/GNOME/vinagre.git#commit=$_commit") b2sums=('SKIP') pkgver() { cd $pkgname git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g' } prepare() { cd $pkgname NOCONFIGURE=1 ./autogen.sh } build() { cd $pkgname CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/$pkgname \ --enable-rdp --enable-spice --enable-compile-warnings=minimum make } package() { cd $pkgname make DESTDIR="$pkgdir" install } # vim:set sw=2 sts=-1 et: