diff --git a/extra/libtg_owt/.SRCINFO b/extra/libtg_owt/.SRCINFO index 698ccf39b..a94363333 100644 --- a/extra/libtg_owt/.SRCINFO +++ b/extra/libtg_owt/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = libtg_owt pkgdesc = WebRTC library - pkgver = 0.git25.afd9d5d + pkgver = 0.git26.c9cc439 pkgrel = 1 url = https://github.com/desktop-app/tg_owt arch = x86_64 @@ -25,15 +25,17 @@ pkgbase = libtg_owt depends = libdrm depends = libxdamage options = staticlibs - source = git+https://github.com/desktop-app/tg_owt.git#commit=afd9d5d31798d3eacf9ed6c30601e91d0f1e4d60 + source = git+https://github.com/desktop-app/tg_owt.git#commit=c9cc4390ab951f2cbc103ff783a11f398b27660b source = git+https://chromium.googlesource.com/libyuv/libyuv/ source = git+https://github.com/google/crc32c source = git+https://github.com/abseil/abseil-cpp source = git+https://github.com/cisco/libsrtp - b2sums = b9f1270b273f87bac80c481599a001b67b47aff6127977e21e5cc16fc70312f771accf7d49d1b55706442d04df5b76c53e374c488926cccb47e499aeb9b13f3a + source = libtg_owt_ffmpeg7.patch::https://patch-diff.githubusercontent.com/raw/desktop-app/tg_owt/pull/128.patch + b2sums = 3a3a67816c4f6637fd5cd1752049ed95911edde3149ce4190fa066b745cd837f969cc8d9669976d01f0a96fcaa7cdd99342a2616154ce895000c617f5156a5ee b2sums = SKIP b2sums = SKIP b2sums = SKIP b2sums = SKIP + b2sums = 2f86d30632e200e9082727eb19ccb33f44f1a57b33b007f5d64e222af1ec95bd85cae5297d3011c692dfe4bf7251d03f7f7d8edd3c7e0dac44cfee2fe50c7e11 pkgname = libtg_owt diff --git a/extra/libtg_owt/PKGBUILD b/extra/libtg_owt/PKGBUILD index 9f93ba80d..d52ff2c0f 100644 --- a/extra/libtg_owt/PKGBUILD +++ b/extra/libtg_owt/PKGBUILD @@ -7,8 +7,8 @@ pkgname=libtg_owt # It seems the currently desired version can be gotten from # https://github.com/telegramdesktop/tdesktop/blob/dev/Telegram/build/docker/centos_env/Dockerfile -_commit=afd9d5d31798d3eacf9ed6c30601e91d0f1e4d60 -pkgver=0.git25.${_commit:0:7} +_commit=c9cc4390ab951f2cbc103ff783a11f398b27660b +pkgver=0.git26.${_commit:0:7} pkgrel=1 pkgdesc='WebRTC library' arch=('x86_64') @@ -23,12 +23,14 @@ source=("git+${url}.git#commit=${_commit}" "git+https://chromium.googlesource.com/libyuv/libyuv/" "git+https://github.com/google/crc32c" "git+https://github.com/abseil/abseil-cpp" - "git+https://github.com/cisco/libsrtp") -b2sums=('b9f1270b273f87bac80c481599a001b67b47aff6127977e21e5cc16fc70312f771accf7d49d1b55706442d04df5b76c53e374c488926cccb47e499aeb9b13f3a' + "git+https://github.com/cisco/libsrtp" + libtg_owt_ffmpeg7.patch::https://patch-diff.githubusercontent.com/raw/desktop-app/tg_owt/pull/128.patch) +b2sums=('3a3a67816c4f6637fd5cd1752049ed95911edde3149ce4190fa066b745cd837f969cc8d9669976d01f0a96fcaa7cdd99342a2616154ce895000c617f5156a5ee' 'SKIP' 'SKIP' 'SKIP' - 'SKIP') + 'SKIP' + '2f86d30632e200e9082727eb19ccb33f44f1a57b33b007f5d64e222af1ec95bd85cae5297d3011c692dfe4bf7251d03f7f7d8edd3c7e0dac44cfee2fe50c7e11') prepare() { cd tg_owt @@ -38,6 +40,8 @@ prepare() { git submodule set-url src/third_party/abseil-cpp "$srcdir"/abseil-cpp git submodule set-url src/third_party/libsrtp "$srcdir"/libsrtp git -c protocol.file.allow=always submodule update + + patch -Np1 -i "$srcdir"/libtg_owt_ffmpeg7.patch } build() {