[arch-commits] Commit in libwebrtc/repos (2 files)

Jiachen Yang farseerfc at archlinux.org
Wed Nov 11 08:27:34 UTC 2020


    Date: Wednesday, November 11, 2020 @ 08:27:33
  Author: farseerfc
Revision: 750002

archrelease: copy trunk to community-testing-x86_64

Added:
  libwebrtc/repos/community-testing-x86_64/
  libwebrtc/repos/community-testing-x86_64/PKGBUILD
    (from rev 750001, libwebrtc/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: libwebrtc/repos/community-testing-x86_64/PKGBUILD (from rev 750001, libwebrtc/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-11-11 08:27:33 UTC (rev 750002)
@@ -0,0 +1,39 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+
+pkgname=libwebrtc
+_commit=12f4a27
+pkgver=83.git2.${_commit}
+pkgrel=1
+pkgdesc='WebRTC library - static linked'
+arch=('x86_64')
+url='https://webrtc.org/?hl=de'
+license=('custom:BSD')
+depends=('protobuf')
+makedepends=('git' 'ninja' 'unzip' 'cmake' 'libxrandr' 'libxcomposite' 'openssl' 'glibc' 'ffmpeg' 'libva' 'opus' 'yasm' 'libjpeg-turbo')
+options=('staticlibs')
+source=("tg_owt::git+https://github.com/desktop-app/tg_owt.git#commit=${_commit}")
+b2sums=('SKIP')
+
+
+build() {
+  cd tg_owt
+  mkdir build
+  cd build
+  # path to openssl include is intentionally wrong, so that it will not mess up srtp include headers
+  cmake -G Ninja \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DTG_OWT_SPECIAL_TARGET=linux \
+    -DTG_OWT_LIBJPEG_INCLUDE_PATH=/usr/include \
+    -DTG_OWT_OPENSSL_INCLUDE_PATH=/usr/include \
+    -DTG_OWT_OPUS_INCLUDE_PATH=/usr/include/opus \
+    -DTG_OWT_FFMPEG_INCLUDE_PATH=/usr/include \
+    ..
+  #  -DTG_OWT_LIBJPEG_INCLUDE_PATH=$(pwd)/../../mozjpeg/output/include \
+  ninja
+}
+
+package() {
+  cd tg_owt/build
+  DESTDIR="${pkgdir}/" ninja install
+}



More information about the arch-commits mailing list