install mplayer on bluez5 with pulseaudio
not needed, but may cause troubles when not installed:
opkg install libavahi-client-dev
opkg install systemd-dev
reinstall pulseaudio to be sure that libpulse will exists:
opkg install mpg123
opkg install pulseaudio --force-reinstall --force-overwrite
opkg install pulseaudio-dev --force-reinstall --force-overwrite
check if libpulse is installed:
pkg-config --libs --cflags libpulse
install yasm
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar xvf yasm-1.3.0.tar.gz
cd yasm-1.3.0
sed -i 's#) ytasm.*#)#' Makefile.in && ./configure --prefix=/usr && make
make install
install mplayer
wget ftp://ftp.mplayerhq.hu/MPlayer/releases/MPlayer-1.1.1.tar.xz
tar xvf MPlayer-1.1.1.tar.xz
cd MPlayer-1.1.1
./configure && make && make install
config mplayer to use pulseaudio by default:
echo "ao=pulse" > ~/.mplayer/config
add your bluetooth device and set it as default sink, since now it will be usable with mplayer.
You'll need coreutils to compile mplayer, else you'll see