blob: e9fc59da637a9c665eb8888a2205eebcaf8606ec (
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
|
# $NetBSD: Makefile,v 1.29 2019/07/20 22:46:02 wiz Exp $
#
DISTNAME= libvncserver-LibVNCServer-0.9.12
PKGNAME= libVNCServer-0.9.12
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=LibVNC/}
GITHUB_PROJECT= libvncserver
GITHUB_TAG= LibVNCServer-${PKGVERSION_NOREV}
MAINTAINER= pierrick@bs-network.net
HOMEPAGE= https://libvnc.github.io/
COMMENT= Easy API to write one's own vnc server
LICENSE= gnu-gpl-v2
# XXX doesn't really use c++ but cmake is being uncooperative
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
USE_CMAKE= yes
PKGCONFIG_OVERRIDE+= libvncserver.pc.cmakein
PKGCONFIG_OVERRIDE+= libvncclient.pc.cmakein
CMAKE_ARGS+= -DWITH_FFMPEG=OFF
CMAKE_ARGS+= -DWITH_SDL=OFF
CMAKE_ARGS+= -DWITH_SYSTEMD=OFF
CMAKE_ARGS+= -DWITH_THREADS=ON
CMAKE_ARGS+= -DWITH_TIGHTVNC_FILETRANSFER=ON
CMAKE_ARGS+= -DWITH_WEBSOCKETS=ON
CMAKE_ARGS+= -DWITH_24BPP=ON
CMAKE_ARGS+= -DWITH_LZO=ON
CMAKE_ARGS+= -DWITH_ZLIB=ON
CMAKE_ARGS+= -DWITH_JPEG=ON
CMAKE_ARGS+= -DWITH_PNG=ON
LDFLAGS.SunOS+= -lsocket
.include "options.mk"
.include "../../archivers/lzo/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|