Debian Codegraph @

build-scripts/platform/linux.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 [[ -z $WORKING_DIR ]] && WORKING_DIR=$(pwdscip-shell system . . pwd.)
4 [[ -z $VERSION ]] && VERSION=$(gitscip-shell system . . git. log --oneline -n 1 | awkscip-shell system . . awk. '{print $1}')
5
6 [[ -z $ARCH ]] && ARCH=".$(unamescip-shell system . . uname. -m)"
7
8
9 case "$1" in
10
11 'setup_qt')
12 sudoscip-shell system . . sudo. apt-get update -qq
13 sudoscip-shell system . . sudo. apt-get -y install cmake qt6-base-dev libquazip1-qt6-dev
14 ;;
15
16 'get_quazip')
17 wget https://github.com/stachenov/quazip/archive/refs/tags/v1.4.tar.gz
18 tarscip-shell system . . tar. -xvzf v1.4.tar.gz > /dev/nullscip-shell filesystem . . `/dev/null`.
19 mvscip-shell system . . mv. quazip-1.4/quazip quazip
20 ;;
21
22 'build')
23 ./build-scripts/revision.sh
24 cmakescip-shell system . . cmake. -DLINUX_QUAZIP_STATIC=ON .
25 makescip-shell system . . make.
26 ;;
27
28 'package')
29 mkdirscip-shell system . . mkdir. -p "build/"
30
31 mvscip-shell system . . mv. resources/README.txt .
32 tarscip-shell system . . tar. -cvf "build/cen64-qt_linux_$VERSION.tar.gz" --owner=0 --group=0 cen64-qt README.txt
33 ;;
34
35 esac