mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/libtg_owt to 0.git8.d578c76-3
This commit is contained in:
parent
50647dde77
commit
e3fcb75d02
1 changed files with 8 additions and 4 deletions
|
@ -7,13 +7,14 @@
|
|||
pkgname=libtg_owt
|
||||
_commit=d578c76
|
||||
pkgver=0.git8.${_commit}
|
||||
pkgrel=1
|
||||
pkgrel=3
|
||||
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')
|
||||
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"
|
||||
|
@ -22,7 +23,6 @@ b2sums=('SKIP'
|
|||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP')
|
||||
replaces=('libwebrtc')
|
||||
|
||||
prepare() {
|
||||
cd tg_owt
|
||||
|
@ -35,11 +35,15 @@ prepare() {
|
|||
|
||||
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 \
|
||||
-DTG_OWT_ARCH_ARMV7_USE_NEON=OFF
|
||||
ninja -C build
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue