2022-02-07 21:57:02 +01:00
|
|
|
packages() {
|
2022-02-10 23:07:20 +01:00
|
|
|
addpkg pipewire alsa-pipewire libjack-pipewire libspa-bluetooth
|
2022-02-07 21:57:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
config() {
|
2022-02-08 19:53:21 +01:00
|
|
|
enable_service
|
2022-02-09 10:23:24 +01:00
|
|
|
vmkdir etc/xdg/autostart
|
2022-02-07 22:50:49 +01:00
|
|
|
|
2022-02-09 11:12:06 +01:00
|
|
|
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
|
2022-02-07 22:50:49 +01:00
|
|
|
|
2022-02-08 19:53:21 +01:00
|
|
|
echo "/usr/lib/pipewire-0.3/jack" > /etc/ld.so.conf.d/zpipewire-jack.conf
|
2022-02-10 23:07:20 +01:00
|
|
|
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
|
2022-02-09 11:12:06 +01:00
|
|
|
}
|