From 708622b87ecaccd8b7541557cade2d00d258ce31 Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Tue, 12 Nov 2024 20:19:18 +0500 Subject: [PATCH] epm pack teamspeak3: pack libwebp.so.6 to teamspeak for fix install on RedOS (eterbug #17822) --- pack.d/teamspeak3.sh | 7 ++++++- repack.d/teamspeak3.sh | 2 -- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pack.d/teamspeak3.sh b/pack.d/teamspeak3.sh index c6870c0b4..4d2920b76 100755 --- a/pack.d/teamspeak3.sh +++ b/pack.d/teamspeak3.sh @@ -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 <$PKGNAME.tar.eepm.yaml name: $PRODUCT diff --git a/repack.d/teamspeak3.sh b/repack.d/teamspeak3.sh index 97eaa7ce2..3f51b006d 100755 --- a/repack.d/teamspeak3.sh +++ b/repack.d/teamspeak3.sh @@ -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