Skip to content

Commit fb11dc9

Browse files
committed
chore: update qtox toxcore to v0.2.22
1 parent f911be5 commit fb11dc9

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

qtox/docker/Dockerfile.alpine-static

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ RUN tar zxf <(curl -L https://github.com/webmproject/libvpx/archive/refs/tags/v1
8181
&& make install \
8282
&& rm -rf /opt/buildhome/build
8383

84-
RUN tar zxf <(curl -L https://github.com/TokTok/c-toxcore/releases/download/v0.2.20/c-toxcore-0.2.20.tar.gz) \
85-
&& cd c-toxcore-0.2.20 \
84+
RUN mkdir c-toxcore-v0.2.22 \
85+
&& tar zxf <(curl -L https://github.com/TokTok/c-toxcore/releases/download/v0.2.22/c-toxcore-v0.2.22.tar.gz) -C c-toxcore-v0.2.22 \
86+
&& cd c-toxcore-* \
8687
&& cmake \
8788
-DCMAKE_TOOLCHAIN_FILE="$SYSROOT/static-toolchain.cmake" \
8889
-DCMAKE_BUILD_TYPE=Release \

qtox/docker/Dockerfile.android-builder

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: GPL-3.0-or-later
2-
# Copyright © 2024-2025 The TokTok team
2+
# Copyright © 2024-2026 The TokTok team
33

44
ARG QT_VERSION=6.2.4
55

@@ -302,8 +302,9 @@ RUN tar jxf <(wget -O- https://github.com/kcat/openal-soft/releases/download/1.2
302302
#COPY --from=build-libvpx $SYSROOT/usr $SYSROOT/usr
303303
#COPY --from=build-opus $SYSROOT/usr $SYSROOT/usr
304304

305-
RUN tar zxf <(wget -O- https://github.com/TokTok/c-toxcore/releases/download/v0.2.20/c-toxcore-0.2.20.tar.gz) \
306-
&& cd c-toxcore-0.2.20 \
305+
RUN mkdir c-toxcore-v0.2.22 \
306+
&& tar zxf <(wget -O- https://github.com/TokTok/c-toxcore/releases/download/v0.2.22/c-toxcore-v0.2.22.tar.gz) -C c-toxcore-v0.2.22 \
307+
&& cd c-toxcore-* \
307308
&& cmake \
308309
-DCMAKE_TOOLCHAIN_FILE="$ANDROID_NDK_ROOT/build/cmake/android.toolchain.cmake" \
309310
-DCMAKE_BUILD_TYPE=Release \

qtox/download/common.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# SPDX-License-Identifier: GPL-3.0-or-later AND MIT
44
# Copyright (c) 2017-2021 Maxim Biro <nurupo.contributions@gmail.com>
55
# Copyright (c) 2021 by The qTox Project Contributors
6+
# Copyright (c) 2026 The TokTok team
67

78
check_sha256() {
89
if uname | grep -q Darwin; then
@@ -29,7 +30,7 @@ download_file() {
2930
}
3031

3132
download_verify_extract_tarball() {
32-
# Downlaoads the tarball at URL, ensures it has an sha256sum of HASH and
33+
# Downloads the tarball at URL, ensures it has an sha256sum of HASH and
3334
# extracts it to the CWD
3435

3536
local URL="$1"

qtox/download/download_toxcore.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
# SPDX-License-Identifier: GPL-3.0-or-later
44
# Copyright © 2021 by The qTox Project Contributors
5-
# Copyright © 2024-2025 The TokTok team
5+
# Copyright © 2024-2026 The TokTok team
66

77
set -euo pipefail
88

9-
TOXCORE_VERSION=0.2.21
10-
TOXCORE_HASH=3443a45d085fb3dee20514243787d06acde2d6c89130076d6f932534581a4ac7
9+
TOXCORE_VERSION=0.2.22
10+
TOXCORE_HASH=276d447eb94e9d76e802cecc5ca7660c6c15128a83dfbe4353b678972aeb950a
1111

1212
source "$(dirname "$(realpath "$0")")/common.sh"
1313

0 commit comments

Comments
 (0)