-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathget-dependencies.sh
More file actions
34 lines (27 loc) · 1007 Bytes
/
get-dependencies.sh
File metadata and controls
34 lines (27 loc) · 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh
set -eu
ARCH=$(uname -m)
echo "Installing package dependencies..."
echo "---------------------------------------------------------------"
pacman -Syu --noconfirm \
kvantum \
libfdk-aac \
libxtst \
luajit \
lxqt-qtplugin \
pipewire-audio \
pipewire-jack \
qrcodegencpp-cmake \
qt6ct
if [ "$ARCH" = 'x86_64' ]; then
pacman -Syu --noconfirm libva-intel-driver
fi
echo "Installing debloated packages..."
echo "---------------------------------------------------------------"
get-debloated-pkgs --add-common --prefer-nano intel-media-driver-mini
git clone --depth 1 https://gitlab.archlinux.org/archlinux/packaging/packages/obs-studio.git ./obs
cd ./obs
sed -i -e 's|-DENABLE_BROWSER=OFF|-DENABLE_BROWSER=ON -DCEF_ROOT_DIR=$(readlink -f "$srcdir"/../cef_binary_*)|' ./PKGBUILD
wget "https://cdn-fastly.obsproject.com/downloads/cef_binary_6533_linux_${ARCH}_v6.tar.xz" -O /tmp/cef.tar.xz
tar xvf /tmp/cef.tar.xz
make-aur-package