Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
1f866b6a
Commit
1f866b6a
authored
Jan 22, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack zoom: fix repack (ALT bug 44988)
parent
221fe327
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
16 deletions
+23
-16
zoom.sh
repack.d/zoom.sh
+23
-16
No files found.
repack.d/zoom.sh
View file @
1f866b6a
...
...
@@ -11,14 +11,12 @@ PRODUCTDIR=/opt/zoom
# TODO: s/freetype/libfreetype/
# see https://bugzilla.altlinux.org/show_bug.cgi?id=38892
if
[
!
-f
/lib64/ld-linux-x86-64.so.2
]
;
then
# TODO: use patchelf
# drop x86_64 req from 32 bit binary
sed
-E
-i
-e
"s@/lib64/ld-linux-x86-64.so.2@/lib/ld-linux.so.2
\x
0________@"
$BUILDROOT
/opt/zoom/libQt5Core.so.
*
fi
# TODO: add all subdirs
subst
's|%files|%files\n%dir /opt/zoom|'
$SPEC
# obosleted bug
#if [ ! -f /lib64/ld-linux-x86-64.so.2 ] ; then
# # TODO: use patchelf
# # drop x86_64 req from 32 bit binary
# sed -E -i -e "s@/lib64/ld-linux-x86-64.so.2@/lib/ld-linux.so.2\x0________@" $BUILDROOT/opt/zoom/libQt5Core.so.*
#fi
# TODO: remove it after fix https://bugzilla.altlinux.org/42189
# fix broken symlink
...
...
@@ -27,18 +25,23 @@ ln -sv /opt/zoom/ZoomLauncher $BUILDROOT/usr/bin/zoom
subst
'1i%filter_from_requires /^mesa-dri-drivers(x86-32)/d'
$SPEC
# ignore embedded libs
for
i
in
libQt5 libav lib
fdkaac libmpg123 libquazip libturbojpeg libicu
;
do
# ignore embedded libs
requires
for
i
in
libQt5 libav lib
swresample libfdkaac libmpg123 libquazip libturbojpeg libicu libOpenCL
;
do
subst
"1i%filter_from_requires /^
$i
.*/d"
$SPEC
done
epm assure patchelf
||
exit
for
i
in
$BUILDROOT
/opt/zoom/
{
libicui18n.so,libicui18n.so.
*
,libicuuc.so,libicuuc.so.
*
,cef/libcef.so
}
;
do
a
=
patchelf
--set-rpath
'$ORIGIN/'
$i
||
continue
for
i
in
$BUILDROOT
/opt/zoom/Qt/lib/
*
.so.
*
;
do
a
=
patchelf
--set-rpath
'$ORIGIN:$ORIGIN/../../'
$i
||
continue
done
#for i in $BUILDROOT/opt/zoom/cef/libcef.so ; do
# a= patchelf --set-rpath '$ORIGIN/../' $i || continue
#done
for
i
in
$BUILDROOT
/opt/zoom/
{
zoom,zopen
}
;
do
a
=
patchelf
--set-rpath
'$ORIGIN
/'
:
"
$PRODUCTDIR
/cef"
$i
a
=
patchelf
--set-rpath
'$ORIGIN
:$ORIGIN/Qt/lib:$ORIGIN/cef'
$i
done
if
[
-d
$BUILDROOT
/opt/zoom/QtQuick/Scene2D
]
;
then
...
...
@@ -47,9 +50,13 @@ if [ -d $BUILDROOT/opt/zoom/QtQuick/Scene2D ] ; then
remove_file /opt/zoom/QtQuick/Scene3D/libqtquickscene3dplugin.so
fi
for
i
in
$BUILDROOT
/opt/zoom/xcbglintegrations/libqxcb-
*
-integration
.so
;
do
a
=
patchelf
--set-rpath
"
$PRODUCTDIR
"
$i
done
#for i in $BUILDROOT/opt/zoom/Qt/qml/Qt/labs/lottieqt/liblottieqtplugin.so ; do
# a= patchelf --set-rpath "$PRODUCTDIR/Qt/lib" $i
#done
echo
"Fix for /opt/zoom/Qt/qml/Qt/labs/lottieqt/liblottieqtplugin.so: library libQt5Bodymovin.so.5 not found"
# qt5-qtlottie
remove_file /opt/zoom/Qt/qml/Qt/labs/lottieqt/liblottieqtplugin.so
install_deps
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment