Github messages for voidlinux
 help / color / mirror / Atom feed
From: mithodin <mithodin@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: zoom-system-qt-5.0.403652.0509_1
Date: Fri, 15 May 2020 09:32:04 +0200	[thread overview]
Message-ID: <20200515073204.g3qYh5EhkcttCreFDyGwkT6QWF_KfO5Si_1LDdSF41U@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21908@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 679 bytes --]

There is an updated pull request by mithodin against master on the void-packages repository

https://github.com/mithodin/void-packages newzoom
https://github.com/void-linux/void-packages/pull/21908

New package: zoom-system-qt-5.0.403652.0509_1
Add package for zoom using system libraries (modelled after https://aur.archlinux.org/packages/zoom-system-qt/). This adds e.g. wayland support and removes doubled and possibly outdated qt libraries. However, since this might break if zoom isn't updating to a close enough qt release, it's better to keep zoom with included qt around as well.

A patch file from https://github.com/void-linux/void-packages/pull/21908.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-newzoom-21908.patch --]
[-- Type: text/x-diff, Size: 1670 bytes --]

From e468ec83e76931eb85a9e1780afd791dd188d0ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lucas=20Treffenst=C3=A4dt?=
 <lucas.treffenstaedt@tngtech.com>
Date: Wed, 13 May 2020 09:23:04 +0200
Subject: [PATCH] zoom: add build option to use system qt libraries

---
 srcpkgs/zoom/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/srcpkgs/zoom/template b/srcpkgs/zoom/template
index 308301fa571..b238d7fdecc 100644
--- a/srcpkgs/zoom/template
+++ b/srcpkgs/zoom/template
@@ -5,6 +5,7 @@ revision=1
 archs="x86_64"
 wrksrc=zoom
 create_wrksrc=yes
+depends="$(vopt_if systemqt 'qt5 qt5-graphicaleffects qt5-imageformats qt5-quickcontrols qt5-quickcontrols2 qt5-svg qt5-script qt5-declarative')"
 short_desc="Video Conferencing and Web Conferencing Service"
 maintainer="Daniel Santana <daniel@santana.tech>"
 license="custom:Proprietary"
@@ -16,6 +17,31 @@ noshlibprovides=yes
 noverifyrdeps=yes
 restricted=yes
 nopie=yes
+build_options="systemqt"
+desc_option_systemqt="Use system QT libraries"
+
+pre_install() {
+	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}
+		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 opt .

  parent reply	other threads:[~2020-05-15  7:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-13  7:37 [PR PATCH] " mithodin
2020-05-13 20:08 ` Chocimier
2020-05-14 11:28 ` mithodin
2020-05-14 15:43 ` [PR PATCH] [Updated] " mithodin
2020-05-14 15:44 ` mithodin
2020-05-15  7:30 ` [PR PATCH] [Updated] " mithodin
2020-05-15  7:32 ` mithodin [this message]
2020-05-15  7:33 ` mithodin
2020-05-21 16:00 ` [PR PATCH] [Merged]: " Hoshpak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200515073204.g3qYh5EhkcttCreFDyGwkT6QWF_KfO5Si_1LDdSF41U@z \
    --to=mithodin@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).