sudo sh -c 'echo "deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi" >> /etc/apt/sources.list'
sudo apt update
sudo apt -y upgrade
sudo apt -y install htop git build-essential libasound2-dev libdbus-1-dev libsbc-dev autoconf libglib2.0-dev libtool bluez-tools
sudo apt -y build-dep bluez
libtoolize
- Build bluez - maybe check the latest release
git clone git://git.kernel.org/pub/scm/bluetooth/bluez.git
cd bluez
git checkout 5.53
./bootstrap
./configure --enable-library --enable-experimental --enable-tools
make
sudo make install
git clone https://github.com/Arkq/bluez-alsa
cd blue-alsa
autoreconf --install
mkdir build && cd build
../configure --disable-hcitop --with-alsaplugindir=/usr/lib/arm-linux-gnueabihf/alsa-lib
make
sudo make install