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 vinstall "${FILESDIR}/xdg/autostart/pipewire-media-session.desktop" 755 etc/xdg/autostart vinstall "${FILESDIR}/xdg/autostart/pipewire-pulse.desktop" 755 etc/xdg/autostart 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 }