2020-03-08 17:47:24 +01:00
|
|
|
# $NetBSD: Makefile,v 1.32 2020/03/08 16:48:04 wiz Exp $
|
2006-10-15 16:03:41 +02:00
|
|
|
#
|
|
|
|
|
2019-02-01 13:45:21 +01:00
|
|
|
DISTNAME= libvncserver-LibVNCServer-0.9.12
|
|
|
|
PKGNAME= libVNCServer-0.9.12
|
2020-03-08 17:47:24 +01:00
|
|
|
PKGREVISION= 3
|
2006-10-15 16:03:41 +02:00
|
|
|
CATEGORIES= net
|
2017-01-09 08:55:15 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=LibVNC/}
|
|
|
|
GITHUB_PROJECT= libvncserver
|
|
|
|
GITHUB_TAG= LibVNCServer-${PKGVERSION_NOREV}
|
2006-10-15 16:03:41 +02:00
|
|
|
|
2019-11-11 23:43:22 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-01-09 08:55:15 +01:00
|
|
|
HOMEPAGE= https://libvnc.github.io/
|
2006-10-15 16:03:41 +02:00
|
|
|
COMMENT= Easy API to write one's own vnc server
|
2009-05-07 14:19:15 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
2019-02-01 13:45:21 +01:00
|
|
|
# XXX doesn't really use c++ but cmake is being uncooperative
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
USE_CMAKE= yes
|
2006-10-15 16:03:41 +02:00
|
|
|
|
2019-02-01 13:45:21 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= libvncserver.pc.cmakein
|
|
|
|
PKGCONFIG_OVERRIDE+= libvncclient.pc.cmakein
|
2011-04-04 11:13:44 +02:00
|
|
|
|
2019-02-01 13:45:21 +01:00
|
|
|
CMAKE_ARGS+= -DWITH_FFMPEG=OFF
|
|
|
|
CMAKE_ARGS+= -DWITH_SDL=OFF
|
|
|
|
CMAKE_ARGS+= -DWITH_SYSTEMD=OFF
|
2007-07-11 16:37:25 +02:00
|
|
|
|
2019-02-01 13:45:21 +01:00
|
|
|
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
|
2007-07-11 16:37:25 +02:00
|
|
|
|
2019-02-25 10:48:26 +01:00
|
|
|
LDFLAGS.SunOS+= -lsocket
|
|
|
|
|
2011-04-04 11:13:44 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2019-02-01 13:45:21 +01:00
|
|
|
.include "../../archivers/lzo/buildlink3.mk"
|
2007-07-11 16:37:25 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2017-01-09 08:55:15 +01:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2010-12-23 12:44:24 +01:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2007-07-11 16:37:25 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2006-10-15 16:03:41 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|