Date: Tuesday, February 1, 2022 @ 05:40:41
  Author: svenstaro
Revision: 1121726

upgpkg: libtg_owt 0.git11.1fd131d-1

Modified:
  libtg_owt/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-02-01 05:40:17 UTC (rev 1121725)
+++ PKGBUILD    2022-02-01 05:40:41 UTC (rev 1121726)
@@ -2,15 +2,19 @@
 # Maintainer: Sven-Hendrik Haase <[email protected]>
 
 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";
@@ -34,7 +38,7 @@
   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 \

Reply via email to