# Toss redundant sample files:
for file in pipewire.desktop wireplumber.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 pipewire-aes67 )
( cd usr/bin ; ln -sf pipewire pipewire-aes67 )
( cd usr/bin ; rm -rf pipewire-avb )
( cd usr/bin ; ln -sf pipewire pipewire-avb )
( cd usr/bin ; rm -rf pipewire-pulse )
( cd usr/bin ; ln -sf pipewire pipewire-pulse )
( cd usr/bin ; rm -rf pipewire-vulkan )
( cd usr/bin ; ln -sf pipewire pipewire-vulkan )
( cd usr/bin ; rm -rf pw-dsdplay )
( cd usr/bin ; ln -sf pw-cat pw-dsdplay )
( cd usr/bin ; rm -rf pw-encplay )
( cd usr/bin ; ln -sf pw-cat pw-encplay )
( 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/lib64 ; rm -rf libpipewire-0.3.so )
( cd usr/lib64 ; ln -sf libpipewire-0.3.so.0 libpipewire-0.3.so )
( cd usr/lib64 ; rm -rf libpipewire-0.3.so.0 )
( cd usr/lib64 ; ln -sf libpipewire-0.3.so.0.385.0 libpipewire-0.3.so.0 )
( cd usr/lib64 ; rm -rf libwireplumber-0.4.so )
( cd usr/lib64 ; ln -sf libwireplumber-0.4.so.0 libwireplumber-0.4.so )
( cd usr/lib64 ; rm -rf libwireplumber-0.4.so.0 )
( cd usr/lib64 ; ln -sf libwireplumber-0.4.so.0.4.15 libwireplumber-0.4.so.0 )
