Skip to content

Commit

Permalink
epm pack teamspeak3: pack libwebp.so.6 to teamspeak for fix install o…
Browse files Browse the repository at this point in the history
…n RedOS (eterbug #17822)
  • Loading branch information
Boria138 authored and vitlav committed Dec 1, 2024
1 parent 4fe8940 commit 708622b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 6 additions & 1 deletion pack.d/teamspeak3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,17 @@ false && rm -rfv qt.conf *.so* \
rm -v update
cd - >/dev/null

# pack libwebp.so.6 from ALT Linux
eget https://git.altlinux.org/tasks/177836/build/200/x86_64/rpms/libwebp6-0.5.2-alt2.x86_64.rpm
rpm2cpio libwebp6-0.5.2-alt2.x86_64.rpm | cpio -idmv
cp usr/lib64/* opt/$PRODUCT
rm libwebp6-0.5.2-alt2.x86_64.rpm

# TeamSpeak3-Client-linux_amd64-3.6.0.run
VERSION="$(echo $TAR | sed -e 's|.*-||' -e 's|\..*||')"
PKGNAME=$PRODUCT-$VERSION

erc a $PKGNAME.tar opt/$PRODUCT
erc pack $PKGNAME.tar opt || fatal

cat <<EOF >$PKGNAME.tar.eepm.yaml
name: $PRODUCT
Expand Down
2 changes: 0 additions & 2 deletions repack.d/teamspeak3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ if [ "$libevent" != "libevent-2.1.so.7" ] && epm assure patchelf ; then
#patchelf --replace-needed libquazip.so libquazip1-qt5.so.1.0.0 .$PRODUCTDIR/ts3client_linux_amd64
fi

epm install "libwebp.so.6()(64bit)" || epm install https://git.altlinux.org/tasks/177836/build/200/x86_64/rpms/libwebp6-0.5.2-alt2.x86_64.rpm || fatal "Can't install needed libwebp6"

# require missed libQt5WaylandClient.so.5
remove_file $PRODUCTDIR/platforms/libqwayland-generic.so
remove_file $PRODUCTDIR/platforms/libqwayland-egl.so
Expand Down

0 comments on commit 708622b

Please sign in to comment.