aboutsummaryrefslogtreecommitdiffstats
path: root/community/remmina/APKBUILD
blob: 0c980728a0abb8837a9de8e10ae81ed7859fddb5 (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
47
48
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=remmina
pkgver=1.2.32.1
pkgrel=1
pkgdesc="Remmina is a remote desktop client written in GTK+"
url="https://www.remmina.org/"
arch="all"
license="GPL"
depends=""
makedepends="gtk+3.0-dev intltool zlib-dev libjpeg-turbo-dev gnutls-dev
	vte3-dev libgcrypt-dev libssh-dev libxkbfile-dev freerdp-dev
	avahi-ui-dev libvncserver-dev cmake json-glib-dev libsoup-dev
	openssl-dev"
replaces="remmina-plugins"
subpackages="$pkgname-dev $pkgname-lang $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/Remmina/archive/v$pkgver.tar.gz
	remmina-1.0.0-dsofix.patch
	libintl-underlink.patch
	no-execinfo.patch
	"

builddir="$srcdir"/Remmina-$pkgver
build() {
	cd "$builddir"
	cmake -DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DWITH_APPINDICATOR=OFF \
		-DWITH_AVAHI=ON \
		-DWITH_FREERDP=ON \
		-DWITH_GCRYPT=ON \
		-DWITH_LIBSSH=ON \
		-DWITH_PTHREAD=ON \
		-DWITH_TELEPATHY=OFF \
		-DWITH_VTE=ON \
		-DWITH_ZLIB=ON
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="ff3aa4f18c52afa43014e9485dfd47c9e343b09b3ffc6787bb55f145df85c0b3d68fd3245badf2210b3264d718bb0a05238d75c3dbb5bd472af759eaae6443f2  remmina-1.2.32.1.tar.gz
4a45c366d02c4dbccad156a7d4f37f8d88bb92ef577a04bc892572eab7327a654c656ead110f515ef1d330a99e339cca97021cc33775a7d534bbe3a093c5ee99  remmina-1.0.0-dsofix.patch
21fd8e27e70cea85d9fc8b649ed28b17e796604235d759ab5fe18b1fe52c23d9443b3a46e4ef544c5178d25c65967107f6f0aff134f7df9c722bbee1c7cc4e2b  libintl-underlink.patch
ea3700ac90519e2796d241775f61e695df15676d1542fb6637266415fd69f4296b5c737b38fd55c433e52b6714b2067d079eaf6c616c1dcff42920b441b93e83  no-execinfo.patch"