# Toss redundant sample files:
for file in pipewire.desktop pipewire-media-session.desktop pipewire-pulse.desktop ; do
  cmp etc/xdg/autostart/${file} etc/xdg/autostart/${file}.sample 2> /dev/null && rm etc/xdg/autostart/${file}.sample
done
( cd usr/bin ; rm -rf pw-dsdplay )
( cd usr/bin ; ln -sf pw-cat pw-dsdplay )
( cd usr/bin ; rm -rf pw-midiplay )
( cd usr/bin ; ln -sf pw-cat pw-midiplay )
( cd usr/bin ; rm -rf pw-midirecord )
( cd usr/bin ; ln -sf pw-cat pw-midirecord )
( cd usr/bin ; rm -rf pw-play )
( cd usr/bin ; ln -sf pw-cat pw-play )
( cd usr/bin ; rm -rf pw-record )
( cd usr/bin ; ln -sf pw-cat pw-record )
( cd usr/lib ; rm -rf libpipewire-0.3.so )
( cd usr/lib ; ln -sf libpipewire-0.3.so.0 libpipewire-0.3.so )
( cd usr/lib ; rm -rf libpipewire-0.3.so.0 )
( cd usr/lib ; ln -sf libpipewire-0.3.so.0.347.0 libpipewire-0.3.so.0 )
