Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

vcpkg deps (#8926)

Vasyl Gello5e7d4fd2d62f
diff --git a/.github/workflows/flutter-build.yml b/.github/workflows/flutter-build.yml
index 6ca9d1360..530a3186c 100644
--- a/.github/workflows/flutter-build.yml
+++ b/.github/workflows/flutter-build.yml
@@ -120,12 +120,25 @@ jobs:
with:
vcpkgDirectory: C:\vcpkg
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
+ doNotCache: false
- name: Install vcpkg dependencies
env:
VCPKG_DEFAULT_HOST_TRIPLET: ${{ matrix.job.vcpkg-triplet }}
run: |
- $VCPKG_ROOT/vcpkg install --triplet ${{ matrix.job.vcpkg-triplet }} --x-install-root="$VCPKG_ROOT/installed"
+ if ! $VCPKG_ROOT/vcpkg \
+ install \
+ --triplet ${{ matrix.job.vcpkg-triplet }} \
+ --x-install-root="$VCPKG_ROOT/installed"; then
+ find "${VCPKG_ROOT}/" -name "*.log" | while read -r _1; do
+ echo "$_1:"
+ echo "======"
+ cat "$_1"
+ echo "======"
+ echo ""
+ done
+ exit 1
+ fi
shell: bash
- name: Build rustdesk
@@ -267,12 +280,25 @@ jobs:
with:
vcpkgDirectory: C:\vcpkg
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
+ doNotCache: false
- name: Install vcpkg dependencies
env:
VCPKG_DEFAULT_HOST_TRIPLET: ${{ matrix.job.vcpkg-triplet }}
run: |
- $VCPKG_ROOT/vcpkg install --triplet ${{ matrix.job.vcpkg-triplet }} --x-install-root="$VCPKG_ROOT/installed"
+ if ! $VCPKG_ROOT/vcpkg \
+ install \
+ --triplet ${{ matrix.job.vcpkg-triplet }} \
+ --x-install-root="$VCPKG_ROOT/installed"; then
+ find "${VCPKG_ROOT}/" -name "*.log" | while read -r _1; do
+ echo "$_1:"
+ echo "======"
+ cat "$_1"
+ echo "======"
+ echo ""
+ done
+ exit 1
+ fi
shell: bash
- name: Build rustdesk
@@ -453,10 +479,23 @@ jobs:
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
+ doNotCache: false
- name: Install vcpkg dependencies
run: |
- $VCPKG_ROOT/vcpkg install --triplet ${{ matrix.job.vcpkg-triplet }} --x-install-root="$VCPKG_ROOT/installed"
+ if ! $VCPKG_ROOT/vcpkg \
+ install \
+ --triplet ${{ matrix.job.vcpkg-triplet }} \
+ --x-install-root="$VCPKG_ROOT/installed"; then
+ find "${VCPKG_ROOT}/" -name "*.log" | while read -r _1; do
+ echo "$_1:"
+ echo "======"
+ cat "$_1"
+ echo "======"
+ echo ""
+ done
+ exit 1
+ fi
shell: bash
- name: Install Rust toolchain
@@ -667,10 +706,22 @@ jobs:
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
+ doNotCache: false
- name: Install vcpkg dependencies
run: |
- $VCPKG_ROOT/vcpkg install --x-install-root="$VCPKG_ROOT/installed"
+ if ! $VCPKG_ROOT/vcpkg \
+ install \
+ --x-install-root="$VCPKG_ROOT/installed"; then
+ find "${VCPKG_ROOT}/" -name "*.log" | while read -r _1; do
+ echo "$_1:"
+ echo "======"
+ cat "$_1"
+ echo "======"
+ echo ""
+ done
+ exit 1
+ fi
- name: Show version information (Rust, cargo, Clang)
shell: bash
@@ -864,23 +915,34 @@ jobs:
with:
vcpkgDirectory: /opt/artifacts/vcpkg
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
+ doNotCache: false
- name: Install vcpkg dependencies
run: |
case ${{ matrix.job.target }} in
aarch64-linux-android)
- ./flutter/build_android_deps.sh arm64-v8a
+ ANDROID_TARGET=arm64-v8a
;;
armv7-linux-androideabi)
- ./flutter/build_android_deps.sh armeabi-v7a
+ ANDROID_TARGET=armeabi-v7a
;;
x86_64-linux-android)
- ./flutter/build_android_deps.sh x86_64
+ ANDROID_TARGET=x86_64
;;
i686-linux-android)
- ./flutter/build_android_deps.sh x86
+ ANDROID_TARGET=x86
;;
esac
+ if ! ./flutter/build_android_deps.sh "${ANDROID_TARGET}"; then
+ find "${VCPKG_ROOT}/" -name "*.log" | while read -r _1; do
+ echo "$_1:"
+ echo "======"
+ cat "$_1"
+ echo "======"
+ echo ""
+ done
+ exit 1
+ fi
shell: bash
- name: Restore bridge files
@@ -1113,11 +1175,24 @@ jobs:
with:
vcpkgDirectory: /opt/artifacts/vcpkg
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
+ doNotCache: false
- name: Install vcpkg dependencies
if: matrix.job.arch == 'x86_64' || env.UPLOAD_ARTIFACT == 'true'
run: |
- $VCPKG_ROOT/vcpkg install --triplet ${{ matrix.job.vcpkg-triplet }} --x-install-root="$VCPKG_ROOT/installed"
+ if ! $VCPKG_ROOT/vcpkg \
+ install \
+ --triplet ${{ matrix.job.vcpkg-triplet }} \
+ --x-install-root="$VCPKG_ROOT/installed"; then
+ find "${VCPKG_ROOT}/" -name "*.log" | while read -r _1; do
+ echo "$_1:"
+ echo "======"
+ cat "$_1"
+ echo "======"
+ echo ""
+ done
+ exit 1
+ fi
shell: bash
- name: Restore bridge files
@@ -1500,7 +1575,16 @@ jobs:
cat ~/.cargo/config
# install dependencies from vcpkg
export VCPKG_ROOT=/opt/artifacts/vcpkg
- $VCPKG_ROOT/vcpkg install --triplet ${{ matrix.job.vcpkg-triplet }} --x-install-root="$VCPKG_ROOT/installed"
+ if ! $VCPKG_ROOT/vcpkg install --triplet ${{ matrix.job.vcpkg-triplet }} --x-install-root="$VCPKG_ROOT/installed"; then
+ find "${VCPKG_ROOT}/" -name "*.log" | while read -r _1; do
+ echo "$_1:"
+ echo "======"
+ cat "$_1"
+ echo "======"
+ echo ""
+ done
+ exit 1
+ fi
# build rustdesk
python3 ./res/inline-sciter.py
export CARGO_INCREMENTAL=0
diff --git a/res/vcpkg/opus/portfile.cmake b/res/vcpkg/opus/portfile.cmake
index 3e37dc1d8..b4288b220 100644
--- a/res/vcpkg/opus/portfile.cmake
+++ b/res/vcpkg/opus/portfile.cmake
@@ -2,7 +2,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO xiph/opus
REF "v${VERSION}"
- SHA512 ba79ad035993e7bc4c09b7d77964ba913eb0b2be33305e8a04a8c49aaab21c4d96ac828e31ae45484896105851fdfc8c305c63c8400e4481dd76c62a1c12286b
+ SHA512 4ffefd9c035671024f9720c5129bfe395dea04f0d6b730041c2804e89b1db6e4d19633ad1ae58855afc355034233537361e707f26dc53adac916554830038fab
HEAD_REF main
PATCHES fix-pkgconfig-version.patch
)
diff --git a/res/vcpkg/opus/vcpkg.json b/res/vcpkg/opus/vcpkg.json
index 4edeaa1e0..574879eed 100644
--- a/res/vcpkg/opus/vcpkg.json
+++ b/res/vcpkg/opus/vcpkg.json
@@ -1,6 +1,6 @@
{
"name": "opus",
- "version": "1.5.1",
+ "version": "1.5.2",
"description": "Totally open, royalty-free, highly versatile audio codec",
"homepage": "https://github.com/xiph/opus",
"license": "BSD-3-Clause",