53 lines
1.4 KiB
Bash
53 lines
1.4 KiB
Bash
# Template file for 'zoom'
|
|
pkgname=zoom
|
|
version=6.1.1.443
|
|
revision=1
|
|
archs="x86_64"
|
|
create_wrksrc=yes
|
|
depends="libglvnd pulseaudio-utils"
|
|
short_desc="Video Conferencing and Web Conferencing Service"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="custom:Proprietary"
|
|
homepage="https://zoom.us/"
|
|
distfiles="https://cdn.zoom.us/prod/${version}/zoom_x86_64.rpm"
|
|
checksum=f40552efa0b9245ffd83d8bb2ac1bd14ffd84e35563a9fc9cf286a550b341fde
|
|
repository=nonfree
|
|
noshlibprovides=yes
|
|
restricted=yes
|
|
nopie=yes
|
|
build_options="systemqt"
|
|
desc_option_systemqt="Use system QT libraries"
|
|
|
|
pre_install() {
|
|
# rm -rf opt/zoom/Qt/qml/QtQml/RemoteObjects
|
|
# rm -rf opt/zoom/Qt/qml/Qt/labs
|
|
# rm -rf opt/zoom/Qt/qml/QtQuick/Scene2D
|
|
# rm -rf opt/zoom/Qt/qml/QtQuick/Scene3D
|
|
if [ "${build_option_systemqt}" ]; then
|
|
rm -f opt/zoom/libQt5*.so{,.*}
|
|
rm -f opt/zoom/libicu*.so{,.*}
|
|
|
|
rm -rf opt/zoom/*integrations
|
|
rm -rf opt/zoom/audio
|
|
rm -rf opt/zoom/generic
|
|
rm -rf opt/zoom/iconengines
|
|
rm -rf opt/zoom/imageformats
|
|
rm -rf opt/zoom/platforms
|
|
rm -rf opt/zoom/platforminputcontexts
|
|
rm -rf opt/zoom/platformthemes
|
|
rm -rf opt/zoom/Qt{,GraphicalEffects,Qml,Quick,Quick.2,Wayland}
|
|
rm -rf opt/zoom/wayland-*
|
|
rm -f opt/zoom/libmpg123.so
|
|
rm -f opt/zoom/libfaac1.so
|
|
rm -f opt/zoom/libturbojpeg.so{,.*}
|
|
rm -f opt/zoom/libquazip.so{,.*}
|
|
|
|
rm opt/zoom/qt.conf
|
|
fi
|
|
}
|
|
|
|
do_install() {
|
|
vcopy "*" /
|
|
vlicense ${FILESDIR}/DISTRIBUTION-DETAILS
|
|
}
|