diff options
author | rakuco <rakuco@FreeBSD.org> | 2016-03-15 05:21:43 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2016-03-15 05:21:43 +0800 |
commit | d75adf57dcdaacf04afc665ec3076cba13c70124 (patch) | |
tree | e9446e19b1bd44488a5e5ed241a2cae3f0120da9 /x11 | |
parent | 474dd7bbbadb2a98d8da65781d54510fcf07e703 (diff) | |
download | freebsd-ports-gnome-d75adf57dcdaacf04afc665ec3076cba13c70124.tar.gz freebsd-ports-gnome-d75adf57dcdaacf04afc665ec3076cba13c70124.tar.zst freebsd-ports-gnome-d75adf57dcdaacf04afc665ec3076cba13c70124.zip |
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)
Diffstat (limited to 'x11')
-rw-r--r-- | x11/virtualgl/Makefile | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/x11/virtualgl/Makefile b/x11/virtualgl/Makefile index 0afcd34b8dab..57f5dc0b6cee 100644 --- a/x11/virtualgl/Makefile +++ b/x11/virtualgl/Makefile @@ -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" |