mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/libtg_owt to 0.git24.592b14d-2
This commit is contained in:
parent
d88c14e542
commit
751c36c62b
2 changed files with 50 additions and 9 deletions
38
extra/libtg_owt/.SRCINFO
Normal file
38
extra/libtg_owt/.SRCINFO
Normal file
|
@ -0,0 +1,38 @@
|
|||
pkgbase = libtg_owt
|
||||
pkgdesc = WebRTC library
|
||||
pkgver = 0.git24.592b14d
|
||||
pkgrel = 2
|
||||
url = https://github.com/desktop-app/tg_owt
|
||||
arch = x86_64
|
||||
license = BSD
|
||||
makedepends = git
|
||||
makedepends = ninja
|
||||
makedepends = unzip
|
||||
makedepends = cmake
|
||||
makedepends = protobuf
|
||||
makedepends = libxrandr
|
||||
makedepends = libxcomposite
|
||||
makedepends = openssl
|
||||
makedepends = glibc
|
||||
makedepends = ffmpeg
|
||||
makedepends = libva
|
||||
makedepends = opus
|
||||
makedepends = yasm
|
||||
makedepends = libjpeg-turbo
|
||||
makedepends = pipewire
|
||||
makedepends = libxtst
|
||||
makedepends = libepoxy
|
||||
depends = libdrm
|
||||
options = staticlibs
|
||||
source = git+https://github.com/desktop-app/tg_owt.git#commit=592b14d13bf9103226e90a83571e24c49f6bfdcd
|
||||
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 = c43ea062f8d28696fea5068f51a3548330b906606a256e8096e3e73f346b4bb5942db05b79f3e98daf1bcf195e8f966f52cc2e8e630af25ba06ac671ea5fd233
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
|
||||
pkgname = libtg_owt
|
|
@ -9,7 +9,7 @@ pkgname=libtg_owt
|
|||
# https://github.com/telegramdesktop/tdesktop/blob/dev/Telegram/build/docker/centos_env/Dockerfile
|
||||
_commit=592b14d13bf9103226e90a83571e24c49f6bfdcd
|
||||
pkgver=0.git24.${_commit:0:7}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='WebRTC library'
|
||||
arch=('x86_64')
|
||||
url='https://github.com/desktop-app/tg_owt'
|
||||
|
@ -19,11 +19,13 @@ depends=('libdrm')
|
|||
makedepends=('git' 'ninja' 'unzip' 'cmake' 'protobuf' 'libxrandr' 'libxcomposite' 'openssl' 'glibc'
|
||||
'ffmpeg' 'libva' 'opus' 'yasm' 'libjpeg-turbo' 'pipewire' 'libxtst' 'libepoxy')
|
||||
options=('staticlibs')
|
||||
source=("tg_owt::git+${url}.git#commit=${_commit}"
|
||||
"libvpx::git+https://chromium.googlesource.com/webm/libvpx.git"
|
||||
"libyuv::git+https://chromium.googlesource.com/libyuv/libyuv.git"
|
||||
"pipewire::git+https://github.com/PipeWire/pipewire.git")
|
||||
b2sums=('SKIP'
|
||||
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=('c43ea062f8d28696fea5068f51a3548330b906606a256e8096e3e73f346b4bb5942db05b79f3e98daf1bcf195e8f966f52cc2e8e630af25ba06ac671ea5fd233'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP')
|
||||
|
@ -31,9 +33,10 @@ b2sums=('SKIP'
|
|||
prepare() {
|
||||
cd tg_owt
|
||||
git submodule init
|
||||
git config submodule.src/third_party/libvpx/source/libvpx.url "$srcdir"/libvpx
|
||||
git config submodule.src/third_party/libyuv.url "$srcdir"/libyuv
|
||||
git config submodule.src/third_party/pipewire.url "$srcdir"/pipewire
|
||||
git submodule set-url src/third_party/libyuv "$srcdir"/libyuv
|
||||
git submodule set-url src/third_party/crc32c/src "$srcdir"/crc32c
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue