obosdi-pkg/install/system/sound/pipewire-media-session

31 lines
685 B
Text
Raw Normal View History

2022-10-15 18:09:40 -06:00
#!/bin/bash
. ./lib
options=()
options+=("pipewire-media-session" "" on)
options+=("pipewire-alsa" "" on)
2022-10-15 20:05:01 -06:00
options+=("pipewire-jack" "" on)
2022-10-15 18:09:40 -06:00
options+=("pipewire-pulse" "" on)
options+=("pipewire-v4l2" "" on)
options+=("pipewire-zeroconf" "" on)
options+=("gst-plugin-pipewire" "" on)
options+=("easyeffects" "" off)
options+=("pipewire-x11-bell" "" off)
sel=$(whiptail --backtitle "$apptitle" --title "System PPMediaSession Install" --checklist "" --cancel-button "Back" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
exit 1
fi
for itm in $sel; do
case $itm in
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done
instpkg "$pkg" "$aurpkg"
exit 0