FreeBSD support: meson build, import downstream patches, more improvements
This MR
- brings some downstream patches from FreeBSD Ports here
- (most importantly "detect: fix/improve FreeBSD support" — audio does not play without that one at all)
- the hot unplug one is not yet committed to ports, but the author told me to include it here
- enables building with Meson on FreeBSD
- (the command should be something like:
CFLAGS=-I/usr/local/include CXXFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib meson build -Dbluez5=false -Dudev=disabled -Db_lundef=false --prefix /usr/local
)
- (the command should be something like:
- adds a new module for hotplug with
devd
Edited by Arun Raghavan