From 6194c7f5c4937f539892da0721f198bfad64bf2e Mon Sep 17 00:00:00 2001 From: Gleb Popov Date: Tue, 1 Apr 2025 16:04:08 +0300 Subject: [PATCH] net-im/zoom: Support building with LINUX_DEFAULT == rl9 --- net-im/zoom/Makefile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/net-im/zoom/Makefile b/net-im/zoom/Makefile index 1e81fa64aee4..173f547af72b 100644 --- a/net-im/zoom/Makefile +++ b/net-im/zoom/Makefile @@ -10,12 +10,8 @@ MAINTAINER= yuri@FreeBSD.org COMMENT= Zoom videoconferencing client (CAVEAT: Sound doesn't yet work) WWW= https://zoom.us/ -RUN_DEPENDS= linux-c7-xcb-util-image>0:x11/linux-c7-xcb-util-image \ - linux-c7-xcb-util-keysyms>0:x11/linux-c7-xcb-util-keysyms \ - linux-c7-xcb-util>0:x11/linux-c7-xcb-util - USES= cpe desktop-file-utils linux tar:xz -USE_LINUX= alsalib alsa-plugins-oss atk cairo-gobject dbuslibs fontconfig freetype gdkpixbuf2 gtk3 libdrm libglvnd pango xorglibs # pulseaudio-libs (asserts under the linux emulator) +USE_LINUX= alsalib alsa-plugins-oss atk cairo-gobject dbuslibs fontconfig freetype gdkpixbuf2 gtk3 libdrm libglvnd pango xcb-util xorglibs # pulseaudio-libs (asserts under the linux emulator) NO_BUILD= yes @@ -33,6 +29,13 @@ ${p:tu:S/-/_/g}_DESC= NVidia libraries x11/${p} ${p:tu:S/-/_/g}_RUN_DEPENDS= ${p}>0:x11/${p} .endfor +.include + +.if ${LINUX_DEFAULT} == c7 +RUN_DEPENDS= linux-c7-xcb-util-image>0:x11/linux-c7-xcb-util-image \ + linux-c7-xcb-util-keysyms>0:x11/linux-c7-xcb-util-keysyms +.endif + do-install: ${MKDIR} ${STAGEDIR}${LINUXBASE} cd ${WRKDIR} && ${CP} -r opt ${STAGEDIR}${LINUXBASE} @@ -45,4 +48,4 @@ do-install: ${REINPLACE_CMD} -i '' -e 's|/usr/bin/zoom|${LOCALBASE}/bin/zoom|' ${STAGEDIR}${PREFIX}/share/applications/Zoom.desktop ${INSTALL_DATA} ${WRKDIR}/usr/share/pixmaps/Zoom.png ${STAGEDIR}${PREFIX}/share/pixmaps/Zoom.png -.include +.include