1
0
mirror of synced 2024-12-03 03:37:19 +01:00
ImHex/dist/get_deps_debian.sh
Mary 413443aa95 Build LLVM demangler directly with our sources
This remove dep on LLVM library by building the demangler as part of the
project.

This should help with building on macOS.
2020-12-18 17:56:41 +01:00

30 lines
679 B
Bash

#!/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 \
cmake \
g++-10 \
${PKGCONF:-} \
nlohmann-json3-dev \
libcapstone-dev \
libmagic-dev \
libglfw3-dev \
libglm-dev \
libjsoncpp-dev \
libssl-dev \
libstdc++-10-dev \
python3-dev \
libfreetype-dev
echo "Please consider this before running cmake (useful on e.g. Ubuntu 20.04):"
echo "export CXX=g++-10"