tg_owt: update to 0.0.0.20220508.

This commit is contained in:
John 2022-07-10 22:24:26 +02:00
parent b2aea0c2d6
commit 4d6a6dd659
1 changed files with 10 additions and 6 deletions

View File

@ -1,9 +1,10 @@
# Template file for 'tg_owt'
pkgname=tg_owt
version=0.0.0.20220413
version=0.0.0.20220508
revision=1
_commit=63a934db1ed212ebf8aaaa20f0010dd7b0d7b396
_commit=10d5f4bf77333ef6b43516f90d2ce13273255f41
_libyuv_commit=ad890067f661dc747a975bc55ba3767fe30d4452
_crc32c_commit=21fc8ef30415a635e7351ffa0e5d5367943d4a94
wrksrc="tg_owt-$_commit"
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=OFF -DTG_OWT_ARCH_ARMV7_USE_NEON=OFF"
@ -19,10 +20,12 @@ maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
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"
checksum="@677f3dff8619e8e9e38ece55579ad10a5e162145644ec9afa11ac45dcd96904e
@1dd51820852df840c339bf3f18e6cf1166de33d5631a69cd1eae5b2b34c113e3"
skip_extraction="${_libyuv_commit}.tar.gz"
https://chromium.googlesource.com/libyuv/libyuv/+archive/${_libyuv_commit}.tar.gz
https://github.com/google/crc32c/archive/${_crc32c_commit}.tar.gz"
checksum="@b8a4b1a9e4f8936c02b4a31c19d6282a914df976b9cbdfadb3ae40ca1a185ac6
@1dd51820852df840c339bf3f18e6cf1166de33d5631a69cd1eae5b2b34c113e3
@b359ed4f5fd0321d807fd7301e66399c311c1fe6ab4c6a0f5538587d97ba4a8d"
skip_extraction="${_libyuv_commit}.tar.gz ${_crc32c_commit}"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
@ -34,4 +37,5 @@ fi
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
}