net-im/zoom: Add options for OpenGL libraries to install for user convenience
This commit is contained in:
parent
aae93a4fa6
commit
1a68c2ca31
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550459
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= zoom
|
||||
DISTVERSION= 5.3.465578.0920
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-im net-p2p
|
||||
MASTER_SITES= https://zoom.us/client/${DISTVERSION}/
|
||||
PKGNAMESUFFIX= -video-conferencing-client
|
||||
@ -21,6 +22,18 @@ NO_BUILD= yes
|
||||
|
||||
PLIST_SUB= LINUXBASE=${LINUXBASE}
|
||||
|
||||
LINUX_NVIDIA_LIBS_AVAILABLE= linux-nvidia-libs linux-nvidia-libs-304 linux-nvidia-libs-340 linux-nvidia-libs-390
|
||||
|
||||
OPTIONS_RADIO= PREINSTALL_GL_DRIVER
|
||||
OPTIONS_RADIO_PREINSTALL_GL_DRIVER= ${LINUX_NVIDIA_LIBS_AVAILABLE:tu:S/-/_/g}
|
||||
|
||||
PREINSTALL_GL_DRIVER_DESC= Install OpenGL libraries for your system:
|
||||
|
||||
.for p in ${LINUX_NVIDIA_LIBS_AVAILABLE}
|
||||
${p:tu:S/-/_/g}_DESC= NVidia libraries x11/${p}
|
||||
${p:tu:S/-/_/g}_RUN_DEPENDS= ${p}>0:x11/${p}
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${LINUXBASE}
|
||||
cd ${WRKDIR} && ${CP} -r opt ${STAGEDIR}${LINUXBASE}
|
||||
|
@ -17,6 +17,8 @@ In order to run Zoom you need:
|
||||
devfs /compat/linux/dev devfs rw 0 0
|
||||
3. Have Linux OpenGL package for your video card is installed.
|
||||
It could be one of linux-nvidia-libs*, etc.
|
||||
Enable a port option corresponding to your OpenGL driver, if applicable.
|
||||
Try running with LIBGL_ALWAYS_SOFTWARE=1 if zoom crashes because of OpenGL.
|
||||
4. Have multimedia/webcamd installed and running. The usual way to
|
||||
start webcamd is to have these two lines in /etc/rc.conf:
|
||||
webcamd_enable="YES"
|
||||
|
Loading…
Reference in New Issue
Block a user