Refactor Linux dependencies

- Support comments in the package list
- Remove extraneous dependencies
This commit is contained in:
2Shirt 2022-11-15 03:32:30 -08:00
parent 93e4a2e50c
commit e8f86196c8
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
2 changed files with 26 additions and 32 deletions

View file

@ -300,7 +300,9 @@ function install_deps() {
echo "Installing dependencies..."
packages=
while read -r line; do
packages="$packages $line"
if ! echo "$line" | grep -Fq "#"; then
packages="$packages $line"
fi
done < "$ROOT_DIR/setup/linux/packages/dependencies"
run_elevated pacman -Syu --needed --noconfirm $packages
}

View file

@ -1,41 +1,33 @@
# WizardKit: Package dependencies
archiso
attr
base-devel
boost
curl
dos2unix
erofs-utils
git
gtk-doc
gtk3
hwloc
imlib2
intltool
iwd
json-glib
lhasa
libbsd
libewf
librsvg
libsm
libxcursor
libxft
libxinerama
libxml2
libxrandr
ntfs-3g
openssh
p7zip
pango
perl-rename
pv
refind
reiserfsprogs
rsync
scdoc
startup-notification
subversion
syslinux
tigervnc
unzip
wpa_supplicant
# hardinfo-gtk3
cmake
# iwgtk
gtk4
meson
qrencode
scdoc
# opensuperclone-git
libusb-compat
# smartmontools-svn
subversion
# udevil
gettext
intltool
# wd719x-firmware
lha