File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 rustup install 1.85.1 1.89.0
2424 rustup target add x86_64-unknown-linux-gnu --toolchain 1.89.0
2525 sudo apt update
26- sudo apt install -y meson ninja-build libglib2.0-dev libgcrypt20-dev libgirepository1.0-dev unzip automake build-essential file pkg-config git python3 libtool cmake openjdk-8-jre-headless libgit2-dev clang libncurses5-dev libncursesw5-dev zlib1g-dev llvm debhelper libclang-dev opencl-headers libssl-dev ocl-icd-opencl-dev libc6-dev-i386 valac libtss2-dev
26+ sudo apt install -y meson ninja-build libglib2.0-dev libgcrypt20-dev libgirepository1.0-dev unzip automake build-essential file pkg-config git python3 libtool cmake openjdk-8-jre-headless libgit2-dev clang libncurses5-dev libncursesw5-dev zlib1g-dev llvm debhelper libclang-dev opencl-headers libssl-dev ocl-icd-opencl-dev libc6-dev-i386 valac libtss2-dev libsecret-1-dev libjsoncpp-dev
2727 # - name: Build Epic Cash
2828 #run: |
2929 #cd crypto_plugins/flutter_libepiccash/scripts/linux/
3232 - name : Configure app
3333 run : |
3434 cd scripts
35- echo "yes" | ./build_app.sh -v "0.0.1" -b "1" -p "linux" -a "stack_wallet"
35+ echo "yes" | ./build_app.sh -v "0.0.1" -b "1" -p "linux" -a "stack_wallet" -s
3636
3737 - name : Get dependencies
3838 run : flutter pub get
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ APP_NAMED_IDS=("stack_wallet" "stack_duo" "campfire")
99
1010# Function to display usage.
1111usage () {
12- echo " Usage: $0 -v <version> -b <build_number> -p <platform> -a <app> [-i] [-f]"
12+ echo " Usage: $0 -v <version> -b <build_number> -p <platform> -a <app> [-i] [-f] [-s] "
1313 exit 1
1414}
1515
@@ -34,16 +34,18 @@ unset -v APP_NAMED_ID
3434# optional args (with defaults)
3535BUILD_CRYPTO_PLUGINS=0
3636BUILD_ISAR_FROM_SOURCE=0
37+ USE_SYSTEM_SECURE_STORAGE_DEPS=0
3738
3839# Parse command-line arguments.
39- while getopts " v:b:p:a:i:f " opt; do
40+ while getopts " v:b:p:a:i:fs " opt; do
4041 case " ${opt} " in
4142 v) APP_VERSION_STRING=" $OPTARG " ;;
4243 b) APP_BUILD_NUMBER=" $OPTARG " ;;
4344 p) APP_BUILD_PLATFORM=" $OPTARG " ;;
4445 a) APP_NAMED_ID=" $OPTARG " ;;
4546 i) BUILD_CRYPTO_PLUGINS=1 ;;
4647 f) BUILD_ISAR_FROM_SOURCE=1 ;;
48+ s) USE_SYSTEM_SECURE_STORAGE_DEPS=1 ;;
4749 * ) usage ;;
4850 esac
4951done
7476source " ${APP_PROJECT_ROOT_DIR} /scripts/app_config/templates/configure_template_files.sh"
7577
7678export BUILD_ISAR_FROM_SOURCE
79+ export USE_SYSTEM_SECURE_STORAGE_DEPS
7780
7881# checks for the correct platform dir and pushes it for later
7982if printf ' %s\0' " ${APP_PLATFORMS[@]} " | grep -Fxqz -- " ${APP_BUILD_PLATFORM} " ; then
Original file line number Diff line number Diff line change 11#! /bin/bash
2+
3+ if [ " ${USE_SYSTEM_SECURE_STORAGE_DEPS:- 0} " = " 1" ]; then
4+ echo " USE_SYSTEM_SECURE_STORAGE_DEPS is set; skipping build of jsoncpp and libsecret (using system packages)"
5+ exit 0
6+ fi
7+
28LINUX_DIRECTORY=$( pwd)
39JSONCPP_TAG=1.7.4
410LIBSECRET_TAG=0.21.4
You can’t perform that action at this time.
0 commit comments