tg_owt: update to 0.0.0.20220413.
This commit is contained in:
parent
555c5689a8
commit
23f78fa002
1 changed files with 6 additions and 9 deletions
|
@ -1,10 +1,9 @@
|
||||||
# Template file for 'tg_owt'
|
# Template file for 'tg_owt'
|
||||||
pkgname=tg_owt
|
pkgname=tg_owt
|
||||||
version=0.0.0.20211207
|
version=0.0.0.20220413
|
||||||
revision=1
|
revision=1
|
||||||
_commit=d5c3d43b959c7e9e7d8004b9b7fdadd12ce7d589
|
_commit=63a934db1ed212ebf8aaaa20f0010dd7b0d7b396
|
||||||
_libyuv_commit=ad890067f661dc747a975bc55ba3767fe30d4452
|
_libyuv_commit=ad890067f661dc747a975bc55ba3767fe30d4452
|
||||||
_libvpx_commit=5b63f0f821e94f8072eb483014cfc33b05978bb9
|
|
||||||
wrksrc="tg_owt-$_commit"
|
wrksrc="tg_owt-$_commit"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_SHARED_LIBS=OFF -DTG_OWT_ARCH_ARMV7_USE_NEON=OFF"
|
configure_args="-DBUILD_SHARED_LIBS=OFF -DTG_OWT_ARCH_ARMV7_USE_NEON=OFF"
|
||||||
|
@ -12,19 +11,18 @@ hostmakedepends="pkg-config yasm protobuf"
|
||||||
makedepends="alsa-lib-devel pulseaudio-devel openssl-devel opus-devel
|
makedepends="alsa-lib-devel pulseaudio-devel openssl-devel opus-devel
|
||||||
pipewire-devel ffmpeg-devel libjpeg-turbo-devel protobuf-devel
|
pipewire-devel ffmpeg-devel libjpeg-turbo-devel protobuf-devel
|
||||||
libevent-devel libXcomposite-devel libXrandr-devel libXdamage-devel
|
libevent-devel libXcomposite-devel libXrandr-devel libXdamage-devel
|
||||||
libXrender-devel libglib-devel"
|
libepoxy-devel libdrm-devel libXrender-devel libglib-devel libgbm-devel
|
||||||
|
libvpx-devel"
|
||||||
depends="$makedepends"
|
depends="$makedepends"
|
||||||
short_desc="WebRTC library for Telegram-desktop"
|
short_desc="WebRTC library for Telegram-desktop"
|
||||||
maintainer="John <me@johnnynator.dev>"
|
maintainer="John <me@johnnynator.dev>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://github.com/desktop-app/tg_owt"
|
homepage="https://github.com/desktop-app/tg_owt"
|
||||||
distfiles="https://github.com/desktop-app/tg_owt/archive/${_commit}.tar.gz
|
distfiles="https://github.com/desktop-app/tg_owt/archive/${_commit}.tar.gz
|
||||||
https://chromium.googlesource.com/webm/libvpx/+archive/${_libvpx_commit}.tar.gz
|
|
||||||
https://chromium.googlesource.com/libyuv/libyuv/+archive/${_libyuv_commit}.tar.gz"
|
https://chromium.googlesource.com/libyuv/libyuv/+archive/${_libyuv_commit}.tar.gz"
|
||||||
checksum="@693bf80128946881c9dd357218c806c7e98f02daec02e076f1d123d3e6afc525
|
checksum="@677f3dff8619e8e9e38ece55579ad10a5e162145644ec9afa11ac45dcd96904e
|
||||||
@ea967f58e720be3a8f8105d48fedb983570679c8ced8ffbad48fb673089c7ed9
|
|
||||||
@1dd51820852df840c339bf3f18e6cf1166de33d5631a69cd1eae5b2b34c113e3"
|
@1dd51820852df840c339bf3f18e6cf1166de33d5631a69cd1eae5b2b34c113e3"
|
||||||
skip_extraction="${_libvpx_commit}.tar.gz ${_libyuv_commit}.tar.gz"
|
skip_extraction="${_libyuv_commit}.tar.gz"
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
makedepends+=" musl-legacy-compat"
|
makedepends+=" musl-legacy-compat"
|
||||||
|
@ -36,5 +34,4 @@ fi
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_libyuv_commit}.tar.gz -C ${wrksrc}/src/third_party/libyuv
|
bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_libyuv_commit}.tar.gz -C ${wrksrc}/src/third_party/libyuv
|
||||||
bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_libvpx_commit}.tar.gz -C ${wrksrc}/src/third_party/libvpx/source/libvpx
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue