diff --git a/abi_used_libs b/abi_used_libs --- a/abi_used_libs +++ b/abi_used_libs @@ -1,4 +1,5 @@ ld-linux-x86-64.so.2 +libKF5WaylandClient.so.5 libQt5Core.so.5 libQt5DBus.so.5 libQt5Gui.so.5 @@ -33,7 +34,6 @@ libstdc++.so.6 libswresample.so.3 libswscale.so.5 -libvpx.so.6 libxcb-keysyms.so.1 libxcb-record.so.0 libxcb-screensaver.so.0 diff --git a/files/tg_owt-Link-against-shared-libvpx.patch b/files/tg_owt-Link-against-shared-libvpx.patch --- a/files/tg_owt-Link-against-shared-libvpx.patch +++ b/files/tg_owt-Link-against-shared-libvpx.patch @@ -12,7 +12,7 @@ index d970719..e4e5b4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -45,7 +45,6 @@ include(cmake/libpffft.cmake) +@@ -55,7 +55,6 @@ include(cmake/libpffft.cmake) include(cmake/librnnoise.cmake) include(cmake/libsrtp.cmake) include(cmake/libusrsctp.cmake) @@ -20,7 +20,7 @@ include(cmake/libwebrtcbuild.cmake) include(cmake/libyuv.cmake) if (NOT WIN32 AND NOT APPLE) -@@ -77,13 +76,6 @@ if (is_x86 OR is_x64) +@@ -89,13 +88,6 @@ if (is_x86 OR is_x64) tg_owt::librnnoise tg_owt::libsrtp tg_owt::libusrsctp @@ -34,7 +34,7 @@ tg_owt::libyuv ) else() -@@ -97,7 +89,6 @@ else() +@@ -109,7 +101,6 @@ else() tg_owt::librnnoise tg_owt::libsrtp tg_owt::libusrsctp @@ -42,7 +42,7 @@ tg_owt::libyuv ) endif() -@@ -125,6 +116,7 @@ endif() +@@ -137,6 +128,7 @@ endif() link_openssl(tg_owt) link_ffmpeg(tg_owt) link_opus(tg_owt) @@ -50,7 +50,7 @@ if (UNIX AND NOT APPLE) link_libalsa(tg_owt) -@@ -1867,18 +1859,6 @@ elseif (APPLE) +@@ -2131,18 +2123,6 @@ elseif (APPLE) ) endif() @@ -66,10 +66,10 @@ - ) -endif() - - set(export_targets - tg_owt - libabsl -@@ -1887,8 +1867,6 @@ set(export_targets + set(tg_owt_export tg_owt) + if (is_x86 OR is_x64) + set(tg_owt_export +@@ -2160,8 +2140,6 @@ set(export_targets librnnoise libsrtp libusrsctp diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,10 +1,9 @@ name : telegram -version : 2.5.1 -release : 141 +version : 2.5.8 +release : 142 source : - - https://github.com/telegramdesktop/tdesktop/releases/download/v2.5.1/tdesktop-2.5.1-full.tar.gz : f1cc5e876deaa4fa4eaafbba95f127d5a3114c166802902b8584099852b9eae2 - - https://github.com/desktop-app/tg_owt/archive/75ac66937341d8a9207375aaee79b4bdc500146c/tg_owt.tar.gz : 6e27cf6d8997630d04c45e15b654a91d3703a6726d5e09399c4795c8c330fe55 - - git|https://chromium.googlesource.com/libyuv/libyuv.git : 058746415698c6e101442c2b3e95f50832281671 + - https://github.com/telegramdesktop/tdesktop/releases/download/v2.5.8/tdesktop-2.5.8-full.tar.gz : 9c89cb31f8ba8a26821fe3c2769b04162e8d7629d327f9cd25a892e88878417e + - git|https://github.com/desktop-app/tg_owt.git : be23804afce3bb2e80a1d57a7c1318c71b82b7de license : GPL-3.0-or-later component : network.im summary : Telegram is a messaging app with a focus on speed and security, it’s super fast, simple and free. @@ -29,20 +28,18 @@ - pkgconfig(protobuf) - pkgconfig(vpx) - pkgconfig(xcb-keysyms) + - kwayland-devel - range-v3 - xxhash-devel - yasm rundeps : - qt5-imageformats setup : | - mkdir tg_owt - + cp -r $sources/tg_owt.git tg_owt pushd tg_owt - tar xf $sources/tg_owt.tar.gz --strip-components=1 - %patch -p1 < $pkgfiles/tg_owt-Link-against-shared-libvpx.patch - rmdir src/third_party/libyuv - ln -s $sources/libyuv.git src/third_party/libyuv - + # tg_out uses unreleased features of libvpx, so we cannot link it against + # the one in our repo (using the patch provided in this package). Until a new version + # is not released, use the bundled libvpx with git submodules. %cmake_ninja -DBUILD_SHARED_LIBS=NO # We want Telegram to statically link to tg_owt. %ninja_build popd diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -32,12 +32,12 @@ - - 2020-12-24 - 2.5.1 + + 2021-01-30 + 2.5.8 Packaging update Fabio Forni livingsilver94.solus@redaril.me \ No newline at end of file