Signed-off-by: crueter <swurl@swurl.xyz>
This commit is contained in:
crueter
2025-07-05 15:00:30 -04:00
commit a20959fab7
11 changed files with 1148 additions and 0 deletions

78
linux/get-dependencies.sh Executable file
View File

@@ -0,0 +1,78 @@
#!/bin/sh
set -eux
sed -i 's/DownloadUser/#DownloadUser/g' /etc/pacman.conf
if [ "$(uname -m)" = 'x86_64' ]; then
PKG_TYPE='x86_64.pkg.tar.zst'
else
PKG_TYPE='aarch64.pkg.tar.xz'
fi
LLVM_URL="https://github.com/pkgforge-dev/llvm-libs-debloated/releases/download/continuous/llvm-libs-mini-$PKG_TYPE"
FFMPEG_URL="https://github.com/pkgforge-dev/llvm-libs-debloated/releases/download/continuous/ffmpeg-mini-$PKG_TYPE"
QT6_URL="https://github.com/pkgforge-dev/llvm-libs-debloated/releases/download/continuous/qt6-base-iculess-$PKG_TYPE"
LIBXML_URL="https://github.com/pkgforge-dev/llvm-libs-debloated/releases/download/continuous/libxml2-iculess-$PKG_TYPE"
OPUS_URL="https://github.com/pkgforge-dev/llvm-libs-debloated/releases/download/continuous/opus-nano-$PKG_TYPE"
MESA_URL="https://github.com/pkgforge-dev/llvm-libs-debloated/releases/download/continuous/mesa-mini-$PKG_TYPE"
echo "Installing build dependencies..."
echo "---------------------------------------------------------------"
pacman -Syu --noconfirm \
base-devel \
boost \
boost-libs \
cmake \
curl \
enet \
fmt \
gamemode \
git \
inetutils \
jq \
nasm \
ninja \
nlohmann-json \
patchelf \
python-pip \
qt6-multimedia \
qt6-tools \
qt6-wayland \
qt6-webengine \
sdl2 \
spirv-headers \
strace \
unzip \
vulkan-headers \
vulkan-mesa-layers \
vulkan-nouveau \
wget \
wireless_tools \
xcb-util-cursor \
xcb-util-image \
xcb-util-renderutil \
xcb-util-wm \
xorg-server-xvfb \
zip \
zsync
if [ "$(uname -m)" = 'x86_64' ]; then
pacman -Syu --noconfirm vulkan-intel haskell-gnutls svt-av1 vulkan-radeon
else
pacman -Syu --noconfirm vulkan-freedreno vulkan-panfrost
fi
echo "Installing debloated pckages..."
echo "---------------------------------------------------------------"
wget --retry-connrefused --tries=30 "$LLVM_URL" -O ./llvm-libs.pkg.tar.zst
wget --retry-connrefused --tries=30 "$QT6_URL" -O ./qt6-base-iculess.pkg.tar.zst
wget --retry-connrefused --tries=30 "$LIBXML_URL" -O ./libxml2-iculess.pkg.tar.zst
wget --retry-connrefused --tries=30 "$OPUS_URL" -O ./opus-nano.pkg.tar.zst
pacman -U --noconfirm ./*.pkg.tar.zst
rm -f ./*.pkg.tar.zst
echo "All done!"
echo "---------------------------------------------------------------"