tg_owt: update to dcb5069.

- Updated libyuv to 77c2121
- Depends additionally on libstrp

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2023-06-10 18:41:55 +05:30 committed by John Zimmermann
parent c33ceaa14a
commit 4edaeda0e3

View file

@ -1,11 +1,12 @@
# Template file for 'tg_owt'
pkgname=tg_owt
version=0.0.0.20230107
version=0.0.0.20230610
revision=1
_commit=5098730b9eb6173f0b52068fe2555b7c1015123a
_libyuv_commit=00950840d1c9bcbb3eb6ebc5aac5793e71166c8b
_commit=dcb5069ff76bd293e86928804208737e6cee2ccc
_libyuv_commit=77c2121f7e6b8e694d6e908bbbe9be24214097da
_abseil_commit=8c0b94e793a66495e0b1f34a5eb26bd7dc672db0
_crc32c_commit=21fc8ef30415a635e7351ffa0e5d5367943d4a94
_libsrtp_commit=a566a9cfcd619e8327784aa7cff4a1276dc1e895
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=OFF -DTG_OWT_ARCH_ARMV7_USE_NEON=OFF"
hostmakedepends="pkg-config yasm protobuf"
@ -22,12 +23,14 @@ homepage="https://github.com/desktop-app/tg_owt"
distfiles="https://github.com/desktop-app/tg_owt/archive/${_commit}.tar.gz
https://chromium.googlesource.com/libyuv/libyuv/+archive/${_libyuv_commit}.tar.gz
https://github.com/google/crc32c/archive/${_crc32c_commit}.tar.gz
https://github.com/abseil/abseil-cpp/archive/${_abseil_commit}.tar.gz"
checksum="@592f434300370529150e46f6414dbb0a5c91dfe7b5977dff624163554f2927b9
@36881fb364593925d012ff452eda3eb54c2c50cd322f353b76071d342ef72c1d
https://github.com/abseil/abseil-cpp/archive/${_abseil_commit}.tar.gz
https://github.com/cisco/libsrtp/archive/${_libsrtp_commit}.tar.gz"
checksum="@6cdfbf64a3e5f4876cc936162fbe57400dd342d4e30c21209d3870853b5a29da
@4ed69a9a02126185bb50ec5dabc4e9bb53886deb7a1fd878c6bad248ab73db4e
@b359ed4f5fd0321d807fd7301e66399c311c1fe6ab4c6a0f5538587d97ba4a8d
@05b5d2f4b540602e8b247116be0559b8a26addac53f026f751a93163946936fb"
skip_extraction="${_libyuv_commit}.tar.gz ${_crc32c_commit}.tar.gz ${_abseil_commit}.tar.gz"
@05b5d2f4b540602e8b247116be0559b8a26addac53f026f751a93163946936fb
@012d2e3055921e4a33b839e35acbb0a28b5bdc7146d04d9f217ab3d29b103606"
skip_extraction="${_libyuv_commit}.tar.gz ${_crc32c_commit}.tar.gz ${_abseil_commit}.tar.gz ${_libsrtp_commit}.tar.gz"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
@ -41,4 +44,5 @@ post_extract() {
bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_libyuv_commit}.tar.gz -C ${wrksrc}/src/third_party/libyuv
bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_crc32c_commit}.tar.gz --strip-components 1 -C ${wrksrc}/src/third_party/crc32c/src
bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_abseil_commit}.tar.gz --strip-components 1 -C ${wrksrc}/src/third_party/abseil-cpp
bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_libsrtp_commit}.tar.gz --strip-components 1 -C ${wrksrc}/src/third_party/libsrtp
}