void-packages/srcpkgs/turbovnc/template
Juan RP 42228c4e04 turbovnc: update to 2.2.2.
Signed-off-by: Juan RP <xtraeme@gmail.com>
2019-06-04 19:50:41 +02:00

30 lines
966 B
Bash

# Template file for 'turbovnc'
pkgname=turbovnc
version=2.2.2
revision=1
build_style=cmake
configure_args="-DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so -DTVNC_BUILDJAVA=0
-DTVNC_SYSTEMLIBS=ON"
hostmakedepends="rsync"
makedepends="libjpeg-turbo-devel libXt-devel libXaw-devel libXcursor-devel pam-devel
zlib-devel freetype-devel bzip2-devel libressl-devel"
depends="perl"
short_desc="Optimized version of TightVNC VNC client"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://virtualgl.org"
distfiles="${SOURCEFORGE_SITE}/turbovnc/${pkgname}-${version}.tar.gz"
checksum=7f1593a3db88dc800d0f82091252ca293b1980a28417b9834ce713eb7e0d09bc
conf_files="/etc/*.conf"
archs="i686* x86_64* ppc64*"
conflicts="tigervnc>=0"
# Need this to make <sys/socket.h> define struct ucred with musl
CFLAGS="-D_GNU_SOURCE"
post_install() {
rm -rf ${DESTDIR}/etc/sysconfig
rm -rf ${DESTDIR}/etc/init.d
rm ${DESTDIR}/usr/share/man/man1/Xserver.1
}