-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathget-dependencies.sh
More file actions
36 lines (30 loc) · 1.07 KB
/
Copy pathget-dependencies.sh
File metadata and controls
36 lines (30 loc) · 1.07 KB
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
35
36
#!/bin/sh
set -eu
ARCH=$(uname -m)
echo "Installing package dependencies..."
echo "---------------------------------------------------------------"
pacman -Syu --noconfirm \
cmake \
libx11 \
libxrandr \
libxss \
meson \
pipewire-audio \
pipewire-jack \
vulkan-headers \
zlib
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 ffmpeg-mini
# Make the thing
echo "Building gpu-screen-recorder..."
echo "---------------------------------------------------------------"
# modify gpu-screen-recorder to build without systemd and wihtout caps
PRE_BUILD_CMDS="sed -i 's|-Dsystemd=true|-Dsystemd=false -Dcapabilities=false|' ./PKGBUILD" make-aur-package gpu-screen-recorder
# now the rest
make-aur-package gpu-screen-recorder-gtk
make-aur-package gpu-screen-recorder-notification
make-aur-package gpu-screen-recorder-ui