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

31 lines
683 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)
2022-11-10 14:27:23 -07:00
sel=$(dialog --backtitle "$apptitle" --title "System PPMediaSession Install" --cancel-button "Back" --checklist "" 0 0 0 \
2022-10-15 18:09:40 -06:00
"${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