extra/libtg_owt to 0.git26.c9cc439-1

This commit is contained in:
Kevin Mihelich 2024-07-25 23:55:06 +00:00
parent db39c3731a
commit aa731b9fbb
2 changed files with 14 additions and 8 deletions

View file

@ -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

View file

@ -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() {