Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2016 21:21:43 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411115 - head/x11/virtualgl
Message-ID:  <201603142121.u2ELLh1Z034077@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Mon Mar 14 21:21:43 2016
New Revision: 411115
URL: https://svnweb.freebsd.org/changeset/ports/411115

Log:
  Reduce number of dependencies, add SSL option.
  
  - Drop dependencies, that are not from ${WRKSRC}/BUILDING.txt.
  - Add optional OpenSSL support.
  - Turn (added) XVideo dependency into an option.
  - Drop obsolete comment (jpeg-turbo can be compiled for non-amd64/i386
    architectures since r388256).
  - Bump PORTREVISION.
  
  PR:		203237
  Submitted by:	Andriy Voskoboinyk <s3erios@gmail.com>
  Approved by:	maintainer timeout (175 days)

Modified:
  head/x11/virtualgl/Makefile

Modified: head/x11/virtualgl/Makefile
==============================================================================
--- head/x11/virtualgl/Makefile	Mon Mar 14 20:02:15 2016	(r411114)
+++ head/x11/virtualgl/Makefile	Mon Mar 14 21:21:43 2016	(r411115)
@@ -3,6 +3,7 @@
 
 PORTNAME=	virtualgl
 PORTVERSION=	2.4.1
+PORTREVISION=	1
 CATEGORIES=	x11 graphics
 MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}
 DISTNAME=	VirtualGL-${PORTVERSION}
@@ -10,13 +11,10 @@ DISTNAME=	VirtualGL-${PORTVERSION}
 MAINTAINER=	davidjx8p@gmail.com
 COMMENT=	Redirects commands from an OpenGL app to another X server
 
-LIB_DEPENDS=	libdrm.so:${PORTSDIR}/graphics/libdrm \
-		libfltk.so:${PORTSDIR}/x11-toolkits/fltk \
-		libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \
+LIB_DEPENDS=	libfltk.so:${PORTSDIR}/x11-toolkits/fltk \
 		libturbojpeg.so:${PORTSDIR}/graphics/libjpeg-turbo \
 		libxcb-keysyms.so:${PORTSDIR}/x11/xcb-util-keysyms
 
-# due to the libjpeg-turbo requirement
 ONLY_FOR_ARCHS=	amd64 i386
 
 CMAKE_INSTALL_PREFIX=	${LOCALBASE}/VirtualGL
@@ -24,13 +22,23 @@ DOCSDIR=	${LOCALBASE}/VirtualGL/doc
 
 USES=		cmake compiler:c++11-lang
 USE_GL=		gl glu
-USE_XORG=	x11 xau xcb xdamage xdmcp xext xfixes xxf86vm
+USE_XORG=	x11 xcb xext
 CMAKE_ARGS=	-DTJPEG_INCLUDE_DIR=${LOCALBASE}/include\
 		-DTJPEG_LIBRARY=${LOCALBASE}/lib/libturbojpeg.so\
 		-DVGL_FAKEXCB=on -DVGL_SYSTEMFLTK=on -DVGL_SYSTEMGLX=on
 USE_LDCONFIG=	${PREFIX}/VirtualGL/fakelib ${PREFIX}/VirtualGL/lib
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+OPTIONS_DEFINE=	OPENSSL XVIDEO
+
+OPENSSL_CMAKE_ON=	-DVGL_USESSL:BOOL=ON
+OPENSSL_CMAKE_OFF=	-DVGL_USESSL:BOOL=OFF
+OPENSSL_USE=	OPENSSL=yes
+
+XVIDEO_CMAKE_ON=	-DVGL_USEXV:BOOL=ON
+XVIDEO_CMAKE_OFF=	-DVGL_USEXV:BOOL=OFF
+XVIDEO_USE=	XORG=xv
+
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "i386"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603142121.u2ELLh1Z034077>