summaryrefslogtreecommitdiff
path: root/community/remmina/PKGBUILD
blob: 76335d7d63afe97a35029ad1bf3721cc28f34416 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $Id: PKGBUILD 69472 2012-04-16 15:12:51Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=remmina
pkgver=1.0.0
pkgrel=5
pkgdesc="Remmina is a remote desktop client written in GTK+. "
arch=(i686 x86_64)
url="http://remmina.sourceforge.net/"
license=('GPL')
depends=('gtk2' 'zlib' 'libjpeg' 'libssh' 'libunique' 'avahi' 'vte3' 'libgcrypt' 'libxdmcp' 'libgnome-keyring')
makedepends=('intltool' 'pkgconfig' 'cmake'
	     'avahi' 'libxkbfile' 'freerdp' 'telepathy-glib')
optdepends=('avahi'
	    'libxkbfile'
	    'freerdp'
	    'telepathy-glib'
	    'gnome-keyring')
replaces=('remmina-plugins')
provides=("grdc" "grdc=$pkgver" 'remmina-plugins')
conflicts=("grdc")
install=remmina.install
source=(https://github.com/downloads/FreeRDP/Remmina/Remmina-$pkgver.tar.gz
	'https://github.com/FreeRDP/Remmina/commit/569d9bb702d06c061dfbbf3c590d57ea83a04369.diff'
	'https://github.com/FreeRDP/Remmina/commit/f7d1038ba358a295fb46c681db5c47e4ead97306.diff')
md5sums=('701c540acaab961bc3adf130a2ddb8b1'
         'a979c898d5e53446cec9d01912ad9243'
         'b2a9c0e80ac7b0c8a26935bbe289aa3b')

build() {
  cd ${srcdir}/FreeRDP-Remmina-*/
  patch -p1 -i "${srcdir}/569d9bb702d06c061dfbbf3c590d57ea83a04369.diff"
  patch -p1 -i "${srcdir}/f7d1038ba358a295fb46c681db5c47e4ead97306.diff"
  export LDFLAGS="-lX11 -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lpthread -lgnutls"
  cmake -DWITH_APPINDICATOR=OFF -DCMAKE_INSTALL_PREFIX=/usr .
  make
  make DESTDIR=${pkgdir} install
}