c5ce6754ad
The full release of TigerVNC 1.8.0 is now available. Lots of changes have been made since the last release, but the highlights are: - Overhaul of the Java client to match the look and behaviour of the native client - Initial work for multi-threaded decoding in the Java client - vncconfig no longer needed for clipboard with Xvnc/libvnc.so - vncserver has system wide config support - Reduced CPU usage in the native viewer on macOS - macOS requirement raised to 10.6 - Full support for alpha cursors in Xvnc/libvnc.so and both viewers
104 lines
4 KiB
Makefile
104 lines
4 KiB
Makefile
# $NetBSD: Makefile,v 1.18 2017/09/13 08:33:03 wiz Exp $
|
|
|
|
DISTNAME= tigervnc-1.8.0
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=TigerVNC/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
XORG_SERVER_FILE= xorg-server-1.17.2
|
|
SITES.${XORG_SERVER_FILE}.tar.bz2= ${MASTER_SITE_XORG:=xserver/}
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${XORG_SERVER_FILE}.tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://tigervnc.org/
|
|
COMMENT= High-performance, platform-neutral VNC client/server
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
BUILD_DEPENDS+= xorg-util-macros-[0-9]*:../../devel/xorg-util-macros
|
|
BUILD_DEPENDS+= font-util-[0-9]*:../../fonts/font-util
|
|
BUILD_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
|
|
|
|
DEPENDS+= mcookie-[0-9]*:../../x11/mcookie
|
|
|
|
USE_CMAKE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= msgmerge patch perl:run autoconf automake autoreconf pkg-config gmake bash
|
|
BUILD_DIRS= . unix/xserver
|
|
INSTALL_DIRS= . unix/xserver/hw/vnc
|
|
|
|
LDFLAGS+= ${BUILDLINK_LDADD.gettext}
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix"
|
|
OVERRIDE_GNU_CONFIG_SCRIPTS= yes
|
|
LIBTOOL_OVERRIDE=unix/xserver/libtool
|
|
|
|
SUBST_CLASSES+= hpath
|
|
SUBST_STAGE.hpath= pre-configure
|
|
SUBST_MESSAGE.hpath= fixing hardcoded paths
|
|
SUBST_FILES.hpath= unix/vncserver
|
|
SUBST_SED.hpath+= -e 's|/usr/local/vnc/classes|${PREFIX}/share/vnc/classes|g'
|
|
SUBST_VARS.hpath+= PREFIX X11BASE
|
|
|
|
REPLACE_PERL+= unix/vncserver
|
|
|
|
post-extract:
|
|
cd ${WRKDIR} && ${EXTRACTOR} ${_DISTDIR}/${XORG_SERVER_FILE}.tar.bz2
|
|
cp -r ${WRKDIR}/${XORG_SERVER_FILE}/* ${WRKSRC}/unix/xserver
|
|
|
|
post-patch:
|
|
cd ${WRKSRC}/unix/xserver && ${PATCH} --batch -p1 <../xserver117.patch
|
|
|
|
XORG_CONFIGURE_ARGS+= --prefix=${PREFIX} --mandir=${PREFIX}/${PKGMANDIR}
|
|
XORG_CONFIGURE_ARGS+= --disable-xwayland --disable-kdrive --disable-xephyr
|
|
XORG_CONFIGURE_ARGS+= --disable-static --disable-xinerama --without-dtrace
|
|
XORG_CONFIGURE_ARGS+= --disable-xorg --disable-xnest --disable-xvfb --disable-dmx
|
|
XORG_CONFIGURE_ARGS+= --disable-config-hal --disable-config-udev --with-pic
|
|
XORG_CONFIGURE_ARGS+= --disable-unit-tests --disable-devel-docs --disable-selective-werror
|
|
XORG_CONFIGURE_ARGS+= --disable-dri --enable-dri2 --disable-dri3 --enable-glx --enable-glx-tls
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${X11_TYPE} != "modular"
|
|
# when using native X, tigervnc server can't find xkb rules or xkbcomp without the following:
|
|
XORG_CONFIGURE_ARGS+= --with-xkb-path=${X11BASE}/lib/X11/xkb
|
|
XORG_CONFIGURE_ARGS+= --with-xkb-bin-directory=${X11BASE}/bin
|
|
.endif
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC}/unix/xserver && autoreconf -fvi && \
|
|
${PKGSRC_SETENV} ${_CONFIGURE_SCRIPT_ENV} CONFIG_SHELL=${BASH} \
|
|
${CONFIG_SHELL} ${CONFIG_SHELL_FLAGS} \
|
|
./configure ${XORG_CONFIGURE_ARGS}
|
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
.include "../../security/gnutls/buildlink3.mk"
|
|
.include "../../security/libgcrypt/buildlink3.mk"
|
|
.include "../../x11/libXft/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXcursor/buildlink3.mk"
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
|
.include "../../x11/libXtst/buildlink3.mk"
|
|
.include "../../x11/libdrm/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.fltk+= fltk>=1.3.3
|
|
.include "../../x11/fltk13/buildlink3.mk"
|
|
.include "../../x11/pixman/buildlink3.mk"
|
|
.include "../../x11/xcmiscproto/buildlink3.mk"
|
|
.include "../../x11/xtrans/buildlink3.mk"
|
|
.include "../../x11/bigreqsproto/buildlink3.mk"
|
|
.include "../../x11/compositeproto/buildlink3.mk"
|
|
.include "../../x11/damageproto/buildlink3.mk"
|
|
.include "../../x11/dri2proto/buildlink3.mk"
|
|
.include "../../x11/libXfont/buildlink3.mk"
|
|
.include "../../x11/libxkbfile/buildlink3.mk"
|
|
.include "../../x11/randrproto/buildlink3.mk"
|
|
.include "../../x11/fontsproto/buildlink3.mk"
|
|
.include "../../x11/glproto/buildlink3.mk"
|
|
.include "../../x11/presentproto/buildlink3.mk"
|
|
.include "../../x11/resourceproto/buildlink3.mk"
|
|
.include "../../x11/scrnsaverproto/buildlink3.mk"
|
|
.include "../../x11/videoproto/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|