Skip to content

Commit

Permalink
x11/virtualgl: Update to 3.1.1
Browse files Browse the repository at this point in the history
- Update MASTER_SITES to official GH url
- Add licenses
- Drop USES=compiler

ChangeLog: https://github.com/VirtualGL/virtualgl/releases/tag/3.1.1
  • Loading branch information
nunotexbsd committed Feb 29, 2024
1 parent 5ed573b commit 7332ba6
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 32 deletions.
40 changes: 24 additions & 16 deletions x11/virtualgl/Makefile
@@ -1,28 +1,35 @@
PORTNAME= virtualgl
DISTVERSION= 3.1
DISTVERSION= 3.1.1
CATEGORIES= x11 graphics
MASTER_SITES= SF/${PORTNAME}/${DISTVERSION}
MASTER_SITES= https://github.com/VirtualGL/${PORTNAME}/releases/download/${DISTVERSION}/
DISTNAME= VirtualGL-${DISTVERSION}

MAINTAINER= eduardo@FreeBSD.org
COMMENT= Redirects commands from an OpenGL app to another X server
WWW= https://www.virtualgl.org

LICENSE= LGPL21 WXWINDOWS
LICENSE_COMB= multi
LICENSE_NAME_WXWINDOWS= wxWindows Library Licence, Version 3.1
LICENSE_FILE_LGPL21= ${WRKSRC}/LGPL.txt
LICENSE_FILE_WXWINDOWS= ${WRKSRC}/LICENSE.txt
LICENSE_PERMS_WXWINDOWS= dist-mirror pkg-mirror auto-accept

ONLY_FOR_ARCHS= aarch64 amd64 armv7 i386 powerpc powerpc64 powerpc64le

BUILD_DEPENDS= xcb-util-keysyms>0:x11/xcb-util-keysyms
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \
libturbojpeg.so:graphics/libjpeg-turbo \
libxcb-keysyms.so:x11/xcb-util-keysyms
libturbojpeg.so:graphics/libjpeg-turbo

USES= cmake compiler:c++11-lang gl localbase xorg
USES= cmake gl localbase xorg
USE_GL= egl gl glu
USE_XORG= x11 xcb xext xtst
USE_LDCONFIG= ${PREFIX}/VirtualGL/lib

CMAKE_ARGS= -DTJPEG_INCLUDE_DIR=${LOCALBASE}/include \
-DTJPEG_LIBRARY=${LOCALBASE}/lib/libturbojpeg.so \
-DVGL_FAKEXCB=on -DVGL_SYSTEMFLTK=on \
-DCMAKE_INSTALL_DOCDIR=${DOCSDIR}
CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR=${DOCSDIR} \
-DTJPEG_INCLUDE_DIR=${LOCALBASE}/include \
-DTJPEG_LIBRARY=${LOCALBASE}/lib/libturbojpeg.so
CMAKE_ON= VGL_FAKEXCB VGL_SYSTEMFLTK
CMAKE_INSTALL_PREFIX= ${LOCALBASE}/VirtualGL

# Some versioned symbols in virtualgl are undefined when libvglfaker.so
Expand All @@ -31,10 +38,11 @@ CMAKE_INSTALL_PREFIX= ${LOCALBASE}/VirtualGL
LDFLAGS+= -Wl,--undefined-version

DOCSDIR= ${LOCALBASE}/VirtualGL/doc
PORTDOCS= *

OPTIONS_DEFINE= OPENCL OPENSSL XVIDEO DOCS
OPTIONS_DEFINE= DOCS OPENCL OPENSSL XVIDEO
OPTIONS_DEFAULT= OPENCL
OPTIONS_SUB= yes
OPTIONS_SUB= yes

OPENCL_CMAKE_BOOL= VGL_FAKEOPENCL
OPENCL_BUILD_DEPENDS= opencl>=0:devel/opencl
Expand All @@ -45,16 +53,16 @@ OPENSSL_CMAKE_BOOL= VGL_USESSL
OPENSSL_USES= ssl

XVIDEO_CMAKE_BOOL= VGL_USEXV
XVIDEO_USE= XORG=xv
XVIDEO_USE= XORG=xv

.include <bsd.port.pre.mk>

.if ${ARCH} == "armv7" || ${ARCH} == "i386" || ${ARCH} == "powerpc"
PLIST_SUB+= I386="" \
AMD64="@comment "
PLIST_SUB+= AMD64="@comment " \
I386=""
.else
PLIST_SUB+= I386="@comment " \
AMD64=""
PLIST_SUB+= AMD64="" \
I386="@comment "
.endif

.include <bsd.port.post.mk>
6 changes: 3 additions & 3 deletions x11/virtualgl/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1680779381
SHA256 (VirtualGL-3.1.tar.gz) = 57bd20a9b1127de344313b6178b19610838a6af6309c059702788e41b6a875d0
SIZE (VirtualGL-3.1.tar.gz) = 1248818
TIMESTAMP = 1709207093
SHA256 (VirtualGL-3.1.1.tar.gz) = 1e4fd7a78f29d07a689f601a6f3db81e4f2ecf4e29baddf7e6dec0cfc90d7345
SIZE (VirtualGL-3.1.1.tar.gz) = 1223341
13 changes: 0 additions & 13 deletions x11/virtualgl/pkg-plist
Expand Up @@ -17,19 +17,6 @@ VirtualGL/bin/vglgenkey
VirtualGL/bin/vgllogin
VirtualGL/bin/vglrun
VirtualGL/bin/vglserver_config
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.md
%%PORTDOCS%%%%DOCSDIR%%/LGPL.txt
%%PORTDOCS%%%%DOCSDIR%%/LICENSE-FLTK.txt
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
%%PORTDOCS%%%%DOCSDIR%%/configdialog.gif
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/somerights20.png
%%PORTDOCS%%%%DOCSDIR%%/sshtunnel.png
%%PORTDOCS%%%%DOCSDIR%%/subsampling.gif
%%PORTDOCS%%%%DOCSDIR%%/vgltransport.png
%%PORTDOCS%%%%DOCSDIR%%/vgltransportservernetwork.png
%%PORTDOCS%%%%DOCSDIR%%/virtualgl.css
%%PORTDOCS%%%%DOCSDIR%%/x11transport.png
VirtualGL/include/rr.h
VirtualGL/include/rrtransport.h
VirtualGL/lib/libdlfaker.so
Expand Down

0 comments on commit 7332ba6

Please sign in to comment.