Alright, I guess a cleaner workaround ls to symlink all the necessery libs.
$this->bbcode_second_pass_code('', '#!/bin/bash
list=$(ls /opt/vc/lib)
for files in $list do
rm /usr/lib/$files 2> /dev/null
ln -s /opt/vc/lib/$files /usr/lib/$files
done')
Can this be temporarily added in xbmc.install ? I can do it, but wondering if I should and if it's ok.
Also, is there a particaluar reason why systemd service file starts xbmc using xinit? After a clean install installing xbmc and starting it with systemctl start xbmc will result in an ambiguous error (xbmc.service start request repeated too quickly, refusing to start.). xbmc will start fine without xinit. Otherwise xorg-server should be added to the dependency array for xbmc.
Edit: would something like this be ok?
https://github.com/moonman/PKGBUILDs/co ... 2e7bff58bc