mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
zoom: add build option to use system qt libraries
This commit is contained in:
parent
1dd2d0264b
commit
ecf7d8a085
1 changed files with 26 additions and 0 deletions
|
@ -5,6 +5,7 @@ revision=1
|
||||||
archs="x86_64"
|
archs="x86_64"
|
||||||
wrksrc=zoom
|
wrksrc=zoom
|
||||||
create_wrksrc=yes
|
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"
|
short_desc="Video Conferencing and Web Conferencing Service"
|
||||||
maintainer="Daniel Santana <daniel@santana.tech>"
|
maintainer="Daniel Santana <daniel@santana.tech>"
|
||||||
license="custom:Proprietary"
|
license="custom:Proprietary"
|
||||||
|
@ -16,6 +17,31 @@ noshlibprovides=yes
|
||||||
noverifyrdeps=yes
|
noverifyrdeps=yes
|
||||||
restricted=yes
|
restricted=yes
|
||||||
nopie=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() {
|
do_install() {
|
||||||
vcopy opt .
|
vcopy opt .
|
||||||
|
|
Loading…
Add table
Reference in a new issue