community/libtg_owt to 0.git11.1fd131d-1

This commit is contained in:
Kevin Mihelich 2022-02-01 13:48:29 +00:00
parent c7aa056898
commit b862874007

View file

@ -5,15 +5,19 @@
# - disable neon (-DTG_OWT_ARCH_ARMV7_USE_NEON=OFF)
pkgname=libtg_owt
_commit=6708e0d
pkgver=0.git10.${_commit}
pkgrel=2
# It seems the currently desired version can be gotten from
# https://github.com/telegramdesktop/tdesktop/blob/dev/Telegram/build/docker/centos_env/Dockerfile
_commit=1fd131d
pkgver=0.git11.${_commit}
pkgrel=1
pkgdesc='WebRTC library'
arch=('x86_64')
url='https://github.com/desktop-app/tg_owt'
license=('BSD')
# libdrm is dynamically loaded via dlopen
depends=('libdrm')
makedepends=('git' 'ninja' 'unzip' 'cmake' 'protobuf' 'libxrandr' 'libxcomposite' 'openssl' 'glibc'
'ffmpeg' 'libva' 'opus' 'yasm' 'libjpeg-turbo' 'pipewire' 'libxtst' 'abseil-cpp')
'ffmpeg' 'libva' 'opus' 'yasm' 'libjpeg-turbo' 'pipewire' 'libxtst' 'abseil-cpp' 'libepoxy')
options=('staticlibs')
source=("tg_owt::git+${url}.git#commit=${_commit}"
"libvpx::git+https://chromium.googlesource.com/webm/libvpx.git"
@ -37,7 +41,7 @@ build() {
cd tg_owt
export CFLAGS+=" -ffat-lto-objects"
export CXXFLAGS+=" -ffat-lto-objects"
export CXXFLAGS+=" -ffat-lto-objects -I/usr/include/libdrm"
# Upstream stated that only static builds are really supported so that's what we'll do.
# https://github.com/desktop-app/tg_owt/issues/75#issuecomment-992061171
cmake \