854c99bafa
* build: Tried to streamline and fix AppImage building * build: Tried fixing build * build: Added back version key * build: Fixed AppImage name * build: Fixed python bundling, fixed ELF uploading * build: Don't upload a bunch of AppImage garbage files in the portable ELF version * build: Fixed another wrong library path * build: Removed old manual AppImage building scripts
32 lines
854 B
Bash
Executable File
32 lines
854 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
echo "As of 2020-12, Debian stable does not include g++-10, needs debian testing or unstable."
|
|
|
|
# Tested on 2020-12-09 with Docker image bitnami/minideb:unstable
|
|
|
|
# Install pkgconf (adds minimum dependencies) only if the equivalent pkf-config is not already installed.
|
|
if ! which pkg-config
|
|
then
|
|
PKGCONF="pkgconf"
|
|
fi
|
|
|
|
apt install -y \
|
|
build-essential \
|
|
gcc-11 \
|
|
g++-11 \
|
|
lld \
|
|
${PKGCONF:-} \
|
|
cmake \
|
|
make \
|
|
ccache \
|
|
libglfw3-dev \
|
|
libglm-dev \
|
|
libmagic-dev \
|
|
libmbedtls-dev \
|
|
python3-dev \
|
|
libfreetype-dev \
|
|
libgtk-3-dev \
|
|
|
|
echo "Please consider this before running cmake (useful on e.g. Ubuntu 20.04):"
|
|
echo "export CXX=g++-11"
|