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
f39a5b0c
Commit
f39a5b0c
authored
1 year ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack viber: add libevent-2.1.so.7 workaround
parent
d9f9e8ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
viber.sh
repack.d/viber.sh
+16
-1
No files found.
repack.d/viber.sh
View file @
f39a5b0c
...
...
@@ -12,7 +12,22 @@ PRODUCTDIR=/opt/viber
add_bin_link_command
add_bin_link_command
$PRODUCTCUR
$PRODUCT
#subst '1i%filter_from_requires /^libtiff.so.5(LIBTIFF_.*/d' $SPEC
# hack, todo: update libevent in p10
get_libevent
()
{
local
libdir
for
libdir
in
/usr/lib/x86_64-linux-gnu /usr/lib64 /lib64
;
do
basename
$(
ls
$libdir
/libevent-2.1.so.[0-9] 2>/dev/null
)
2>/dev/null
done
|
head
-n1
}
libevent
=
"
$(
get_libevent
)
"
[
-n
"
$libevent
"
]
||
fatal
"libevent is missed, install it before"
if
[
"
$libevent
"
!=
"libevent-2.1.so.7"
]
&&
epm assure patchelf
;
then
patchelf
--replace-needed
libevent-2.1.so.7
$libevent
.
$PRODUCTDIR
/lib/libQt6WebEngineCore.so.6
fi
fix_desktop_file
...
...
This diff is collapsed.
Click to expand it.
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