[arch-commits] Commit in libtg_owt/repos (2 files)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Thu Dec 9 01:02:40 UTC 2021
Date: Thursday, December 9, 2021 @ 01:02:39
Author: svenstaro
Revision: 1065743
archrelease: copy trunk to community-testing-x86_64
Added:
libtg_owt/repos/community-testing-x86_64/
libtg_owt/repos/community-testing-x86_64/PKGBUILD
(from rev 1065742, libtg_owt/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: libtg_owt/repos/community-testing-x86_64/PKGBUILD (from rev 1065742, libtg_owt/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-12-09 01:02:39 UTC (rev 1065743)
@@ -0,0 +1,47 @@
+# Maintainer: Jiachen YANG <farseerfc at archlinux dot org>
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+
+pkgname=libtg_owt
+_commit=d5c3d43
+pkgver=0.git9.${_commit}
+pkgrel=1
+pkgdesc='WebRTC library'
+arch=('x86_64')
+url='https://github.com/desktop-app/tg_owt'
+license=('BSD')
+depends=('protobuf' 'libxrandr' 'libxcomposite' 'openssl' 'glibc' 'ffmpeg' 'libva' 'opus' 'yasm' 'libjpeg-turbo' 'pipewire' 'libxtst')
+makedepends=('git' 'ninja' 'unzip' 'cmake')
+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'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
+replaces=('libwebrtc')
+
+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 update
+}
+
+build() {
+ cd tg_owt
+ cmake \
+ -B build \
+ -G Ninja \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ ninja -C build
+}
+
+package() {
+ cd tg_owt
+ DESTDIR="${pkgdir}/" ninja -C build install
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list