packages() { addpkg pipewire alsa-pipewire libjack-pipewire libspa-bluetooth gstreamer1-pipewire libspa-bluetooth libspa-v4l2 } config() { enable_service vmkdir etc/xdg/autostart vinstall "${FILESDIR}/xdg/autostart/pipewire.desktop" 755 etc/xdg/autostart vmkdir etc/pipewire/pipewire.conf.d vinstall "${FILESDIR}/files/pipewire/start-pipewire-pulse.conf" 755 etc/pipewire/pipewire.conf.d echo "/usr/lib/pipewire-0.3/jack" > /etc/ld.so.conf.d/zpipewire-jack.conf #ldconfig mkdir -p /etc/alsa/conf.d ln -s /usr/share/alsa/alsa.conf.d/50-pipewire.conf /etc/alsa/conf.d ln -s /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d }