svn commit: r550459 - head/net-im/zoom
Yuri Victorovich
yuri at FreeBSD.org
Mon Sep 28 23:30:43 UTC 2020
Author: yuri
Date: Mon Sep 28 23:30:42 2020
New Revision: 550459
URL: https://svnweb.freebsd.org/changeset/ports/550459
Log:
net-im/zoom: Add options for OpenGL libraries to install for user convenience
Modified:
head/net-im/zoom/Makefile
head/net-im/zoom/pkg-message
Modified: head/net-im/zoom/Makefile
==============================================================================
--- head/net-im/zoom/Makefile Mon Sep 28 23:03:06 2020 (r550458)
+++ head/net-im/zoom/Makefile Mon Sep 28 23:30:42 2020 (r550459)
@@ -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
@@ -20,6 +21,18 @@ USE_LINUX= alsalib alsa-plugins-oss atk cairo-gobject
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}
Modified: head/net-im/zoom/pkg-message
==============================================================================
--- head/net-im/zoom/pkg-message Mon Sep 28 23:03:06 2020 (r550458)
+++ head/net-im/zoom/pkg-message Mon Sep 28 23:30:42 2020 (r550459)
@@ -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"
More information about the svn-ports-head
mailing list