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
7d6a5cee
Commit
7d6a5cee
authored
Mar 19, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play zoom: fix repack (ALT bug 41775) (ALT bug 41954)
parent
6055676d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
zoom.sh
repack.d/zoom.sh
+15
-0
No files found.
repack.d/zoom.sh
View file @
7d6a5cee
...
...
@@ -8,6 +8,7 @@ SPEC="$2"
# 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
...
...
@@ -15,9 +16,23 @@ fi
# TODO: add all subdirs
subst
's|%files|%files\n%dir /opt/zoom|'
$SPEC
# fix broken symlink
rm
-fv
$BUILDROOT
/usr/bin/zoom
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 libfdkaac libmpg123 libquazip libturbojpeg libicu
;
do
subst
"1i%filter_from_requires /^
$i
.*/d"
$SPEC
done
epm assure patchelf
||
exit
for
i
in
$BUILDROOT
/opt/zoom/
{
libicui18n.so,libicui18n.so.56,libicuuc.so,libicuuc.so.56
}
;
do
a
=
patchelf
--set-rpath
'$ORIGIN/'
$i
done
# qt5-3d libqt5-3dquickscene2d
rm
-v
$BUILDROOT
/opt/zoom/QtQuick/Scene2D/libqtquickscene2dplugin.so
$BUILDROOT
/opt/zoom/QtQuick/Scene3D/libqtquickscene3dplugin.so
subst
's|.*/opt/zoom/QtQuick/Scene2D/libqtquickscene2dplugin.so.*||'
$SPEC
subst
's|.*/opt/zoom/QtQuick/Scene3D/libqtquickscene3dplugin.so.*||'
$SPEC
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