From b862874007a9e5a1b7ef3fce4a2fc2893eab49fd Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Tue, 1 Feb 2022 13:48:29 +0000 Subject: [PATCH] community/libtg_owt to 0.git11.1fd131d-1 --- community/libtg_owt/PKGBUILD | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/community/libtg_owt/PKGBUILD b/community/libtg_owt/PKGBUILD index efd3c28a5..90723c9b9 100644 --- a/community/libtg_owt/PKGBUILD +++ b/community/libtg_owt/PKGBUILD @@ -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 \