From 0191ba50e747a899dfb54ec14486af27f8f7d7f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Treffenst=C3=A4dt?= Date: Wed, 13 May 2020 09:23:04 +0200 Subject: [PATCH] New package: zoom-system-qt-5.0.403652.0509_1 --- .../zoom-system-qt/files/DISTRIBUTION-DETAILS | 1 + srcpkgs/zoom-system-qt/template | 47 +++++++++++++++++++ srcpkgs/zoom-system-qt/update | 2 + srcpkgs/zoom/template | 1 + 4 files changed, 51 insertions(+) create mode 100644 srcpkgs/zoom-system-qt/files/DISTRIBUTION-DETAILS create mode 100644 srcpkgs/zoom-system-qt/template create mode 100644 srcpkgs/zoom-system-qt/update diff --git a/srcpkgs/zoom-system-qt/files/DISTRIBUTION-DETAILS b/srcpkgs/zoom-system-qt/files/DISTRIBUTION-DETAILS new file mode 100644 index 00000000000..f0dd4227896 --- /dev/null +++ b/srcpkgs/zoom-system-qt/files/DISTRIBUTION-DETAILS @@ -0,0 +1 @@ +Zoom is non-distributable software. See the terms of service at https://zoom.us/terms/ diff --git a/srcpkgs/zoom-system-qt/template b/srcpkgs/zoom-system-qt/template new file mode 100644 index 00000000000..c3ecce8df96 --- /dev/null +++ b/srcpkgs/zoom-system-qt/template @@ -0,0 +1,47 @@ +# Template file for 'zoom-system-qt' +pkgname=zoom-system-qt +version=5.0.403652.0509 +revision=1 +archs="x86_64" +wrksrc=zoom +create_wrksrc=yes +depends="qt5 qt5-graphicaleffects qt5-imageformats qt5-quickcontrols qt5-quickcontrols2 qt5-svg qt5-script qt5-declarative" +short_desc="Video Conferencing and Web Conferencing Service (use system qt)" +maintainer="Lucas L. Treffenstädt " +license="custom:Proprietary" +homepage="https://zoom.us/" +distfiles="https://zoom.us/client/${version}/zoom_x86_64.pkg.tar.xz" +checksum=d21821d3f3068e03ea86751c4d1d72b737488d54ba770f4d42a26effd631f785 +conflicts="zoom>=0" +repository=nonfree +noshlibprovides=yes +noverifyrdeps=yes +restricted=yes +nopie=yes + +pre_install() { + 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} + 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 +} + +do_install() { + vcopy opt . + vcopy usr . + vlicense ${FILESDIR}/DISTRIBUTION-DETAILS +} diff --git a/srcpkgs/zoom-system-qt/update b/srcpkgs/zoom-system-qt/update new file mode 100644 index 00000000000..7b40f77946c --- /dev/null +++ b/srcpkgs/zoom-system-qt/update @@ -0,0 +1,2 @@ +site="https://zoom.us/download?os=linux" +pattern='Version \K[\d.]+(?=)' diff --git a/srcpkgs/zoom/template b/srcpkgs/zoom/template index 308301fa571..a6aeb824658 100644 --- a/srcpkgs/zoom/template +++ b/srcpkgs/zoom/template @@ -11,6 +11,7 @@ license="custom:Proprietary" homepage="https://zoom.us/" distfiles="https://zoom.us/client/${version}/zoom_x86_64.pkg.tar.xz" checksum=d21821d3f3068e03ea86751c4d1d72b737488d54ba770f4d42a26effd631f785 +conflicts="zoom-system-qt>=0" repository=nonfree noshlibprovides=yes noverifyrdeps=yes