bluez-alsa: new package
PATCH 1/1 bluez-alsa: new package
bluez-alsa is a Bluetooth Audio ALSA Backend.
Note that we are using the latest commit from git master branch instead of the latest version tag v1.2.0 which is almost a year old and is 64 commits behind master.
--- package/Config.in | 1 + package/bluez-alsa/Config.in | 35 ++++++++++++++++++++++++ package/bluez-alsa/bluez-alsa.hash | 3 +++ package/bluez-alsa/bluez-alsa.mk | 43 ++++++++++++++++++++++++++++++ 4 files changed, 82 insertions(+) create mode 100644 package/bluez-alsa/Config.in create mode 100644 package/bluez-alsa/bluez-alsa.hash create mode 100644 package/bluez-alsa/bluez-alsa.mk
package/Config.in +1 -0
@@ -13,6 +13,7 @@ menu "Audio and video applications" source "package/atest/Config.in" source "package/aumix/Config.in" source "package/bellagio/Config.in" + source "package/bluez-alsa/Config.in" source "package/dvblast/Config.in" source "package/dvdauthor/Config.in" source "package/dvdrw-tools/Config.in"
package/bluez-alsa/Config.in new file +35 -0
@@ -0,0 +1,35 @@ +config BR2_PACKAGE_BLUEZ_ALSA + bool "bluez-alsa" + depends on !BR2_STATIC_LIBS # bluez5 uses dlfcn + depends on !BR2_PACKAGE_BLUEZ_UTILS # conflicts with bluez4 version + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5 + depends on BR2_USE_MMU # bluez5 -> dbus + depends on BR2_USE_WCHAR # libglib2 + select BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_BLUEZ5_UTILS + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_SBC + help + Bluetooth Audio ALSA Backend. + + https://github.com/Arkq/bluez-alsa + +comment "bluez-alsa needs a toolchain w/ wchar, threads, headers >= 3.4, dynamic library" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_USE_MMU + +if BR2_PACKAGE_BLUEZ_ALSA + +config BR2_PACKAGE_BLUEZ_ALSA_HCITOP + bool "hcitop" + depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS + select BR2_PACKAGE_BSD + select BR2_PACKAGE_NCURSES + help + Enable top-like monitoring tool for HCI. + +endif
package/bluez-alsa/bluez-alsa.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally calculated: +sha256 dfa48e991a6bbb194a9161deb949371155150dabd5cfc1453a8df754b7cbdc84 bluez-alsa-9045edb436ea755f395a2e09e4525b5defad286a.tar.gz +sha256 c90a0081b0526834f700d084e48819b18d11453ecb030c9b7de0d2cc3e3711a5 LICENSE.txt
package/bluez-alsa/bluez-alsa.mk new file +43 -0
43 lines not on this page · raw message
Signature · 1 line
2.17.0
PATCH 1/1 bluez-alsa: new package
Hello,
package/bluez-alsa/Config.in line 4
Quoted 10 lines · J?rg Krause
package/bluez-alsa/Config.in new file +4
-0@@ -0,0 +1,35 @@ +config BR2_PACKAGE_BLUEZ_ALSA + bool "bluez-alsa" + depends on !BR2_STATIC_LIBS # bluez5 uses dlfcn + depends on !BR2_PACKAGE_BLUEZ_UTILS # conflicts with bluez4 version
No need to duplicate the explanation about those options, just write where they come from, i.e just "bluez5" in this case.
Quoted 9 lines
package/bluez-alsa/Config.in new file +9
-0+ depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5 + depends on BR2_USE_MMU # bluez5 -> dbus + depends on BR2_USE_WCHAR # libglib2 + select BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_BLUEZ5_UTILS + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_SBC
package/bluez-alsa/Config.in line 23
Quoted 10 lines
package/bluez-alsa/Config.in new file +10
-0+ help + Bluetooth Audio ALSA Backend. + + https://github.com/Arkq/bluez-alsa + +comment "bluez-alsa needs a toolchain w/ wchar, threads, headers >= 3.4, dynamic library" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_USE_MMU
This comment should either go at the top of the Config.in file, or at the bottom. If you put it like this between the main option and the sub-options, the sub-options are no longer indented properly by "menuconfig".
Also, I've added a "depends on !BR2_PACKAGE_BLUEZ_UTILS" so that the comment doesn't appear when bluez4 is enabled.
Applied with those changes. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com