extra/libtg_owt to 0.git28.be39b8c-3

This commit is contained in:
Kevin Mihelich 2025-03-16 12:51:47 +00:00
parent a1b5c251da
commit 8a3329673c
2 changed files with 8 additions and 2 deletions
extra/libtg_owt

View file

@ -1,7 +1,7 @@
pkgbase = libtg_owt
pkgdesc = WebRTC library
pkgver = 0.git28.be39b8c
pkgrel = 2
pkgrel = 3
url = https://github.com/desktop-app/tg_owt
arch = x86_64
license = BSD-3-Clause
@ -27,11 +27,13 @@ pkgbase = libtg_owt
depends = libxdamage
options = staticlibs
source = git+https://github.com/desktop-app/tg_owt.git#commit=be39b8c8d0db1f377118f813f0c4bd331d341d5e
source = libtg-pipewire-types.patch::https://github.com/desktop-app/tg_owt/pull/149.patch
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 = 48df65bbb3e6e8808517e1effa4b0202049c6bcb35a5f8e7004f7a2bd48f4b2a373fd8caeb26e3d25ac2b3646e778b16c714964b75e80a4edc64a421eaab861f
b2sums = a1a68be62f61544e0762e080e9500e75754fdc9098931ce470ff1654414bee91db21e00c9e6e56b12b6a8e2d2cdcca2f1a5c2360c0272eb5dae6ff8a27df6286
b2sums = SKIP
b2sums = SKIP
b2sums = SKIP

View file

@ -9,7 +9,7 @@ pkgname=libtg_owt
# https://github.com/telegramdesktop/tdesktop/blob/dev/Telegram/build/docker/centos_env/Dockerfile
_commit=be39b8c8d0db1f377118f813f0c4bd331d341d5e
pkgver=0.git28.${_commit:0:7}
pkgrel=2
pkgrel=3
pkgdesc='WebRTC library'
arch=('x86_64')
url='https://github.com/desktop-app/tg_owt'
@ -20,11 +20,13 @@ makedepends=('git' 'ninja' 'unzip' 'cmake' 'protobuf' 'libxrandr' 'libxcomposite
'ffmpeg' 'libva' 'opus' 'yasm' 'libjpeg-turbo' 'pipewire' 'libxtst' 'libepoxy' 'openh264')
options=('staticlibs')
source=("git+${url}.git#commit=${_commit}"
libtg-pipewire-types.patch::https://github.com/desktop-app/tg_owt/pull/149.patch
"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=('48df65bbb3e6e8808517e1effa4b0202049c6bcb35a5f8e7004f7a2bd48f4b2a373fd8caeb26e3d25ac2b3646e778b16c714964b75e80a4edc64a421eaab861f'
'a1a68be62f61544e0762e080e9500e75754fdc9098931ce470ff1654414bee91db21e00c9e6e56b12b6a8e2d2cdcca2f1a5c2360c0272eb5dae6ff8a27df6286'
'SKIP'
'SKIP'
'SKIP'
@ -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-pipewire-types.patch
}
build() {