aboutsummaryrefslogtreecommitdiffstats
path: root/testing/guacamole-server/APKBUILD
blob: 0db624c6c30d143428f4e590e8d18368560cdd72 (plain) (blame)
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
49
50
51
52
53
54
55
56
57
# Contributor:
# Maintainer:
pkgname=guacamole-server
pkgver=1.2.0
pkgrel=3
pkgdesc="package for guacamole server"
url="https://guacamole.apache.org"
arch="all !mips64" # Tests fail
license="GPL-3.0-or-later"
makedepends="cairo-dev libjpeg-turbo-dev libpng-dev ossp-uuid-dev ffmpeg-dev
	freerdp-dev pango-dev libssh2-dev libvncserver-dev pulseaudio-dev
	openssl-dev libvorbis-dev libwebp-dev perl libwebsockets-dev cunit-dev
	"
subpackages="$pkgname-doc $pkgname-dev"
source="http://apache.org/dyn/closer.cgi?action=download&filename=guacamole/$pkgver/source/guacamole-server-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-static \
		--with-libavcodec \
		--with-libavutil \
		--with-libswscale \
		--with-ssl \
		--without-winsock \
		--with-vorbis \
		--with-pulse \
		--with-pango \
		--with-terminal \
		--with-vnc \
		--with-rdp \
		--with-ssh \
		--without-telnet \
		--with-webp \
		--with-websockets
	make
}

check() {
	# 4 Tests fail on s390x
	# test_common 10
	# test_common 12
	# test_common 13
	# test_common 14
	[ "$CARCH" = s390x ] && return 0
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="8d25ca6fab292ca5393034fec39179fda70eb8f31dcd069ef8c7638d7ac171ccaeb87f3fb3c668eb790688838fcd4eb6cf38df9aae38822fbd09dacb4d9db211  guacamole-server-1.2.0.tar.gz"