From: Charles Hardin Date: Tue, 15 Jun 2021 00:59:23 +0000 (-0700) Subject: package/alsa-plugins: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e85bde9cc672fc228eeb079e23ef302468ae3826;p=buildroot.git package/alsa-plugins: new package During testing of bluez-alsa in particular, there is no compilation dependency - but, some configurations will request the load of a particular plugin: ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) \ Cannot open shared library libasound_module_rate_samplerate_best.so \ (/usr/lib/alsa-lib/libasound_module_rate_samplerate_best.so: \ cannot open shared object file: No such file or directory) Adding in the alsa-plugins package allows to build build the appropriate plugins. Signed-off-by: Charles Hardin Signed-off-by: Thomas Petazzoni --- diff --git a/DEVELOPERS b/DEVELOPERS index e77ceb2a95..04ef3cc1a9 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -498,6 +498,9 @@ F: package/libsvg-cairo/ N: Cédric Chépied F: package/znc/ +N: Charles Hardin +F: package/alsa-plugins/ + N: Chris Packham F: package/coremark/ F: package/coremark-pro/ diff --git a/package/Config.in b/package/Config.in index 95ad1a29f7..d49aff3de4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1297,6 +1297,7 @@ menu "Libraries" menu "Audio/Sound" source "package/alsa-lib/Config.in" + source "package/alsa-plugins/Config.in" source "package/alure/Config.in" source "package/aubio/Config.in" source "package/bcg729/Config.in" diff --git a/package/alsa-plugins/Config.in b/package/alsa-plugins/Config.in new file mode 100644 index 0000000000..ee0fb4c1d5 --- /dev/null +++ b/package/alsa-plugins/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_ALSA_PLUGINS + bool "alsa-plugins" + depends on BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_ALSA_LIB_HWDEP + help + Advanced Linux Sound Architecture Plugins + + http://www.alsa-project.org/ diff --git a/package/alsa-plugins/alsa-plugins.hash b/package/alsa-plugins/alsa-plugins.hash new file mode 100644 index 0000000000..8ecbd19965 --- /dev/null +++ b/package/alsa-plugins/alsa-plugins.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 42eef98433d2c8d11f1deeeb459643619215a75aa5a5bbdd06a794e4c413df20 alsa-plugins-1.2.5.tar.bz2 +sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING +sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING.GPL diff --git a/package/alsa-plugins/alsa-plugins.mk b/package/alsa-plugins/alsa-plugins.mk new file mode 100644 index 0000000000..396f47adaf --- /dev/null +++ b/package/alsa-plugins/alsa-plugins.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# alsa-plugins +# +################################################################################ + +ALSA_PLUGINS_VERSION = 1.2.5 +ALSA_PLUGINS_SOURCE = alsa-plugins-$(ALSA_PLUGINS_VERSION).tar.bz2 +ALSA_PLUGINS_SITE = https://www.alsa-project.org/files/pub/plugins +ALSA_PLUGINS_LICENSE = LGPL-2.1+ +ALSA_PLUGINS_LICENSE_FILES = COPYING +ALSA_PLUGINS_DEPENDENCIES = host-pkgconf alsa-lib + +ALSA_PLUGINS_CONF_OPTS = \ + --disable-jack \ + --disable-usbstream \ + --disable-pulseaudio \ + --disable-libav \ + --disable-maemo-plugin \ + --disable-maemo-resource-manager \ + --with-speex=no + +ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y) +ALSA_PLUGINS_CONF_OPTS += --enable-samplerate +ALSA_PLUGINS_DEPENDENCIES += libsamplerate +ALSA_PLUGINS_LICENSE += , GPL-2.0+ (samplerate plugin) +ALSA_PLUGINS_LICENSE_FILES += COPYING.GPL +else +ALSA_PLUGINS_CONF_OPTS += --disable-samplerate +endif + +$(eval $(autotools-package))