aboutsummaryrefslogtreecommitdiffstats
path: root/community/remmina/APKBUILD
blob: 8d30362f932d85a5f5267dbf8a68b72535c0820c (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.3.4
pkgrel=0
pkgdesc="Remmina is a remote desktop client written in GTK+"
url="https://www.remmina.org/"
arch="all"
license="GPL-2.0-or-later"
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
	"
options="!check" # No test suite available
builddir="$srcdir"/Remmina-$pkgver

build() {
	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() {
	make DESTDIR="$pkgdir" install
}

sha512sums="3904ea847c5ca48fcc0250b350d0a0f6f979c9b6beaa5e190b28d647ea18095b7b0133ee09aac1bcb4dd29de41f4934c5d41da0aef26c957a6bc448980b88ad9  remmina-1.3.4.tar.gz
8c06cfb4cd7eb74f641d6524c2fb5c941022df1d3f428c9f57a88b9714ec602b0baf962a9947aa83de3ccfaed237956743b4eb0083c4dde0cc9740b958bba007  remmina-1.0.0-dsofix.patch
4801c06297f0aca412edb6991355cd94ecedf3e8f564aa23e442454418c74608726c082b54b1001b542db707cdbc00541392a24a27e503a904ca5effc1e66d84  libintl-underlink.patch
ea3700ac90519e2796d241775f61e695df15676d1542fb6637266415fd69f4296b5c737b38fd55c433e52b6714b2067d079eaf6c616c1dcff42920b441b93e83  no-execinfo.patch"