aboutsummaryrefslogtreecommitdiffstats
path: root/main/remmina/APKBUILD
blob: 32cbf27442ec005f17a38f2c1a7ca03b45fad766 (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
39
40
41
42
43
44
45
46
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=remmina
pkgver=1.0.0
pkgrel=4
pkgdesc="Remmina is a remote desktop client written in GTK+"
url="http://remmina.sourceforge.net/"
arch="all"
license="GPL"
depends=
makedepends="gtk+-dev intltool zlib-dev jpeg-dev gnutls-dev vte-dev
	libgcrypt-dev libssh-dev libxkbfile-dev freerdp-dev avahi-dev
	cmake"
install=
replaces="remmina-plugins"
subpackages="$pkgname-dev $pkgname-lang"
source="https://github.com/downloads/FreeRDP/Remmina/Remmina-$pkgver.tar.gz
	underlinking.patch
	no-gnome-keyring.patch"

prepare() {
	cd "$srcdir"/FreeRDP-Remmina-*
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$srcdir"/FreeRDP-Remmina-*
	cmake -DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DWITH_PTHREAD=ON \
		-DWITH_TELEPATHY=OFF \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/FreeRDP-Remmina-*
	make DESTDIR="$pkgdir" install
}

md5sums="701c540acaab961bc3adf130a2ddb8b1  Remmina-1.0.0.tar.gz
594668bf54d4068cc57f8cfdae482adb  underlinking.patch
178d55f7aa59d6dc73b19e03201ad1e4  no-gnome-keyring.patch"