[arch-commits] Commit in telegram-desktop/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun May 16 00:16:05 UTC 2021


    Date: Sunday, May 16, 2021 @ 00:16:04
  Author: svenstaro
Revision: 934852

upgpkg: telegram-desktop 2.7.4-2: Try to fix compatibility with ffmpeg 4.4

Modified:
  telegram-desktop/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-16 00:01:41 UTC (rev 934851)
+++ PKGBUILD	2021-05-16 00:16:04 UTC (rev 934852)
@@ -2,7 +2,7 @@
 # Contributor: hexchain <i at hexchain.org>
 pkgname=telegram-desktop
 pkgver=2.7.4
-pkgrel=1
+pkgrel=2
 pkgdesc='Official Telegram Desktop client'
 arch=('x86_64')
 url="https://desktop.telegram.org/"
@@ -11,8 +11,12 @@
          'qt5-imageformats' 'xxhash' 'libdbusmenu-qt5' 'kwayland' 'gtk3' 'glibmm' 'webkit2gtk')
 makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 'microsoft-gsl' 'libtg_owt')
 source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz"
+        https://github.com/telegramdesktop/tdesktop/commit/71deaa48afab2bcf9df67b9b347b1f44aad3a9ce.patch
+        https://github.com/telegramdesktop/tdesktop/commit/a8807bc915f2439acc7c84f06d931d96d6ca602a.patch
         "fix-webview-includes.patch")
 sha512sums=('0a796d7a8c5e5982bc60f19c41da53996a609bf794fad224e7beea5fc3816b5cf35f16b0ec2cc7279085c69996063a44085f48e1596dfe746d260a2e8f1b2d14'
+            'cabdadddc7a6873c7c6fc8128ceddf2712c0c73d3316520482162e5c67937bda2a627ddb2f078558a52e812c2a876351196488a5a75381d84a43815b873bac5b'
+            '72ef9bddef1f40e09b9c4334153f1ab8aaddf63d95d9f25dc1b0a0826b7f2ae24f7c5fc4cb5ce90aae2c3144a5d52c4cb870d643f447d654190c4a2c78079354'
             '5492c73f0b984da1e2d1f21c3a36c11c4b9ad511522dccd4d6440681f68d6ebc9e672806a534b1e551f736f080d3ef307c8ddd012e4646bd84d09c5e8fa85a40')
 
 prepare() {
@@ -21,6 +25,10 @@
     echo "target_link_libraries(external_webrtc INTERFACE jpeg)" | tee -a external/webrtc/CMakeLists.txt
     cd ../Telegram/lib_webview
     patch -Np1 -i "$srcdir"/fix-webview-includes.patch
+
+    cd ..
+    patch -Np2 -i "$srcdir"/71deaa48afab2bcf9df67b9b347b1f44aad3a9ce.patch
+    patch -Np2 -i "$srcdir"/a8807bc915f2439acc7c84f06d931d96d6ca602a.patch
 }
 
 build() {



More information about the arch-commits mailing list