Skip to content

Commit

Permalink
Add pipewire check for Arch installs (#3091)
Browse files Browse the repository at this point in the history
Check if pipewire-pulse is installed, installs pulse otherwise

==== Fixed Issues ====
Partial fix: #2980

====  Tech Notes ====
pipewire-pulse is a compat layer, providing a pulseaudio API
  • Loading branch information
khionu committed Apr 7, 2022
1 parent c6f7c1a commit 2d15fca
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion dev_setup.sh
Expand Up @@ -380,7 +380,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
Expand Down

0 comments on commit 2d15fca

Please sign in to comment.