Add pipewire check for Arch

Check if pipewire-pulse is installed, installs pulse otherwise

==== Fixed Issues ====
#2980

====  Tech Notes ====
pipewire-pulse is a compat layer, providing a pulseaudio API
pull/3091/head
Khionu Sybiern 2022-04-06 17:51:54 -07:00
parent ccd577bbf4
commit d0a64bb1f8
No known key found for this signature in database
GPG Key ID: 1BB835E54650BFC8
1 changed files with 8 additions and 1 deletions

View File

@ -377,7 +377,14 @@ function fedora_install() {
function arch_install() {
$SUDO pacman -S --needed --noconfirm git python python-pip python-setuptools python-virtualenv python-gobject libffi swig portaudio mpg123 screen flac curl icu libjpeg-turbo base-devel jq pulseaudio pulseaudio-alsa
pkgs="git python python-pip python-setuptools python-virtualenv python-gobject libffi swig portaudio mpg123 screen flac curl icu libjpeg-turbo base-devel jq"
if ! pacman -Qs pipewire-pulse > /dev/null
then
pkgs="{pkgs} pulseaudio pulseaudio-alsa"
fi
$SUDO pacman -S --needed --noconfirm $pkgs
pacman -Qs '^fann$' &> /dev/null || (
git clone https://aur.archlinux.org/fann.git