Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions qtox/docker/Dockerfile.alpine-static
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ RUN tar zxf <(curl -L https://github.com/webmproject/libvpx/archive/refs/tags/v1
&& make install \
&& rm -rf /opt/buildhome/build

RUN tar zxf <(curl -L https://github.com/TokTok/c-toxcore/releases/download/v0.2.20/c-toxcore-0.2.20.tar.gz) \
&& cd c-toxcore-0.2.20 \
RUN mkdir c-toxcore-v0.2.22 \
&& 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 \
&& cd c-toxcore-* \
&& cmake \
-DCMAKE_TOOLCHAIN_FILE="$SYSROOT/static-toolchain.cmake" \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
7 changes: 4 additions & 3 deletions qtox/docker/Dockerfile.android-builder
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright © 2024-2025 The TokTok team
# Copyright © 2024-2026 The TokTok team

ARG QT_VERSION=6.2.4

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

RUN tar zxf <(wget -O- https://github.com/TokTok/c-toxcore/releases/download/v0.2.20/c-toxcore-0.2.20.tar.gz) \
&& cd c-toxcore-0.2.20 \
RUN mkdir c-toxcore-v0.2.22 \
&& 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 \
&& cd c-toxcore-* \
&& cmake \
-DCMAKE_TOOLCHAIN_FILE="$ANDROID_NDK_ROOT/build/cmake/android.toolchain.cmake" \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
3 changes: 2 additions & 1 deletion qtox/download/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later AND MIT
# Copyright (c) 2017-2021 Maxim Biro <nurupo.contributions@gmail.com>
# Copyright (c) 2021 by The qTox Project Contributors
# Copyright (c) 2026 The TokTok team

check_sha256() {
if uname | grep -q Darwin; then
Expand All @@ -29,7 +30,7 @@ download_file() {
}

download_verify_extract_tarball() {
# Downlaoads the tarball at URL, ensures it has an sha256sum of HASH and
# Downloads the tarball at URL, ensures it has an sha256sum of HASH and
# extracts it to the CWD

local URL="$1"
Expand Down
6 changes: 3 additions & 3 deletions qtox/download/download_toxcore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

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

set -euo pipefail

TOXCORE_VERSION=0.2.21
TOXCORE_HASH=3443a45d085fb3dee20514243787d06acde2d6c89130076d6f932534581a4ac7
TOXCORE_VERSION=0.2.22
TOXCORE_HASH=276d447eb94e9d76e802cecc5ca7660c6c15128a83dfbe4353b678972aeb950a

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

Expand Down
Loading