1
0
mirror of synced 2024-12-18 10:35:53 +01:00
ImHex/dist/get_deps_debian.sh
Colin Snover c1c51e0baf
feat: Enumerate fonts on Linux using Fontconfig when available (#1821)
### Problem description

The fonts list on Linux does not show all system fonts, and does not
show font names at all.

### Implementation description

Use Fontconfig to make the list less bad if Fontconfig headers are
available.

### Additional things

I like fonts.

---------

Co-authored-by: Nik <werwolv98@gmail.com>
2024-07-21 20:28:37 +02:00

32 lines
754 B
Bash
Executable File

#!/usr/bin/env sh
# 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-12 \
g++-12 \
lld \
${PKGCONF:-} \
cmake \
ccache \
libglfw3-dev \
libglm-dev \
libmagic-dev \
libmbedtls-dev \
libfontconfig-dev \
libfreetype-dev \
libdbus-1-dev \
libcurl4-gnutls-dev \
libgtk-3-dev \
ninja-build \
zlib1g-dev \
libbz2-dev \
liblzma-dev \
libzstd-dev \
liblz4-dev