[arch-commits] Commit in libtg_owt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jiachen Yang
farseerfc at gemini.archlinux.org
Fri Dec 31 01:05:49 UTC 2021
Date: Friday, December 31, 2021 @ 01:05:49
Author: farseerfc
Revision: 1089070
archrelease: copy trunk to community-x86_64
Added:
libtg_owt/repos/community-x86_64/PKGBUILD
(from rev 1089069, libtg_owt/trunk/PKGBUILD)
Deleted:
libtg_owt/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-31 01:05:17 UTC (rev 1089069)
+++ PKGBUILD 2021-12-31 01:05:49 UTC (rev 1089070)
@@ -1,51 +0,0 @@
-# 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=3
-pkgdesc='WebRTC library'
-arch=('x86_64')
-url='https://github.com/desktop-app/tg_owt'
-license=('BSD')
-makedepends=('git' 'ninja' 'unzip' 'cmake' 'protobuf' 'libxrandr' 'libxcomposite' 'openssl' 'glibc'
- 'ffmpeg' 'libva' 'opus' 'yasm' 'libjpeg-turbo' 'pipewire' 'libxtst' 'abseil-cpp')
-options=('staticlibs')
-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')
-
-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
-
- # 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 \
- -B build \
- -G Ninja \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_SHARED_LIBS=OFF
- ninja -C build
-}
-
-package() {
- cd tg_owt
- DESTDIR="${pkgdir}/" ninja -C build install
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: libtg_owt/repos/community-x86_64/PKGBUILD (from rev 1089069, libtg_owt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-31 01:05:49 UTC (rev 1089070)
@@ -0,0 +1,51 @@
+# Maintainer: Jiachen YANG <farseerfc at archlinux dot org>
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+
+pkgname=libtg_owt
+_commit=6708e0d
+pkgver=0.git10.${_commit}
+pkgrel=1
+pkgdesc='WebRTC library'
+arch=('x86_64')
+url='https://github.com/desktop-app/tg_owt'
+license=('BSD')
+makedepends=('git' 'ninja' 'unzip' 'cmake' 'protobuf' 'libxrandr' 'libxcomposite' 'openssl' 'glibc'
+ 'ffmpeg' 'libva' 'opus' 'yasm' 'libjpeg-turbo' 'pipewire' 'libxtst' 'abseil-cpp')
+options=('staticlibs')
+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')
+
+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
+
+ # 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 \
+ -B build \
+ -G Ninja \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=OFF
+ 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