mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/libtg_owt to 0.git6.91d836d-2
This commit is contained in:
parent
8c03ca65e4
commit
ed946dd17d
1 changed files with 9 additions and 17 deletions
|
@ -6,7 +6,7 @@
|
|||
pkgname=libtg_owt
|
||||
_commit=91d836d
|
||||
pkgver=0.git6.${_commit}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='WebRTC library - static linked'
|
||||
arch=('x86_64')
|
||||
url='https://github.com/desktop-app/tg_owt'
|
||||
|
@ -17,7 +17,7 @@ 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")
|
||||
"pipewire::git+https://github.com/PipeWire/pipewire.git")
|
||||
b2sums=('SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
|
@ -35,24 +35,16 @@ prepare() {
|
|||
|
||||
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 \
|
||||
cmake \
|
||||
-B build \
|
||||
-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_DLOPEN_PIPEWIRE=OFF \
|
||||
-DTG_OWT_ARCH_ARMV7_USE_NEON=OFF \
|
||||
..
|
||||
ninja
|
||||
-DTG_OWT_ARCH_ARMV7_USE_NEON=OFF
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd tg_owt/build
|
||||
DESTDIR="${pkgdir}/" ninja install
|
||||
cd tg_owt
|
||||
DESTDIR="${pkgdir}/" ninja -C build install
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue