2020-12-09 15:16:23 +01:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
# Install pkgconf (adds minimum dependencies) only if the equivalent pkf-config is not already installed.
|
2021-09-21 21:33:34 +02:00
|
|
|
if ! which pkg-config
|
2020-12-09 15:16:23 +01:00
|
|
|
then
|
|
|
|
PKGCONF="pkgconf"
|
|
|
|
fi
|
|
|
|
|
2021-02-28 15:24:02 +01:00
|
|
|
apt install -y \
|
|
|
|
build-essential \
|
2022-06-25 12:19:59 +02:00
|
|
|
gcc-12 \
|
|
|
|
g++-12 \
|
2022-01-13 21:31:01 +01:00
|
|
|
lld \
|
2021-02-28 15:24:02 +01:00
|
|
|
${PKGCONF:-} \
|
|
|
|
cmake \
|
|
|
|
make \
|
2021-09-19 21:49:09 +02:00
|
|
|
ccache \
|
2021-02-28 15:24:02 +01:00
|
|
|
libglfw3-dev \
|
|
|
|
libglm-dev \
|
|
|
|
libmagic-dev \
|
|
|
|
libmbedtls-dev \
|
|
|
|
libfreetype-dev \
|
2022-07-08 09:23:53 +02:00
|
|
|
libdbus-1-dev \
|
2023-07-14 22:03:44 +02:00
|
|
|
xdg-desktop-portal \
|
|
|
|
ninja-build
|