vinstaller/etc/soundsystem/pipewire
2022-02-11 12:51:08 +01:00

20 lines
650 B
Plaintext

packages() {
addpkg pipewire alsa-pipewire libjack-pipewire libspa-bluetooth
}
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
}