From patchwork Tue Jun 15 00:59:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles Hardin X-Patchwork-Id: 1491930 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=vVku2l62; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G3qj92jnMz9sW8 for ; Tue, 15 Jun 2021 10:59:41 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 01E90608D3; Tue, 15 Jun 2021 00:59:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id esrMCsNs3gfM; Tue, 15 Jun 2021 00:59:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 3B60D60831; Tue, 15 Jun 2021 00:59:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 099701BF239 for ; Tue, 15 Jun 2021 00:59:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 02F1360831 for ; Tue, 15 Jun 2021 00:59:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SHAa3vo7gSe2 for ; Tue, 15 Jun 2021 00:59:34 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by smtp3.osuosl.org (Postfix) with ESMTPS id 2577960780 for ; Tue, 15 Jun 2021 00:59:34 +0000 (UTC) Received: by mail-pg1-x529.google.com with SMTP id m2so3353636pgk.7 for ; Mon, 14 Jun 2021 17:59:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=w5/ZT09idpqXYyI1myfYWet+lsIWs1qFbA7BjZtguOQ=; b=vVku2l62MC1Ym1y4qGOjqOpzBWDShZB2dj0ib8/zCtLeohox+x3HFZrBYElIjCxA0u ZJ6BQZzLZRaHARqNH2iTKYne1s7PLNtSFkyXChHnH1jl0BnDaG/jh6qKFOErGcfl6kKl mVDZ5TNpRdUMAJlJ7KyVo6gxMp78D3KbkFT1sZcofsrua8ABNm5QlgORU1E+powPr020 mSQdSF5bZKgX9RetfP0L9TSUx/vFvUNFuy2hGun4htZ5E6XfKoa39WSXFNZtaFHyw8V2 dEL07imAtPhuGrwp32PVhS2MGUiSnLEirghYF7Z9jTP/YCs62nTJ9XVwkRP47DNU/sjk tLSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=w5/ZT09idpqXYyI1myfYWet+lsIWs1qFbA7BjZtguOQ=; b=mnEnCrSNiB2aXq4AElOgxmuzkdOv94sX+4hU1pgFtHYeVna0VKDfffX/d3dlXWQMRe /x53iVyJJKc32pFfXnp5+gRLu5+RiwrRO8A0UU3zonQNaDFT+mSuycs/z1X2zLoQIUhp wpNsZVC49vb1lbzNqSklGP2DL2MfotLIXOH/FxTGiJpO/5psK5/Fx/Hl8KMR+/NzdjNS 7tKDzV+Gm6rivocl9MwyA2mR/JdVpKBXLKwDNA3tv+lW76uhMD5Yi84X+H974YZLn/KO Ov8LYv/7Fp3s/4KLMusbMhAdrjKzmmjzGBUODZLYTWQDTFy+LNeg0rnyQVD8WGGkbLoL Zeow== X-Gm-Message-State: AOAM532CI9z4JIF9F4DcQjW3odZpCbsosF7gKUDIzuqbAZ1DN9f+dPB8 Z2Ac6kYVYGP4i7nbN4tFz5orUS9TKJxx6w== X-Google-Smtp-Source: ABdhPJzWl9bVdmm2wGu/6nrSUf/OZ4vO4EB5rQTJGuwFDa9n3zsQSdILI/zsRqd4WY3pkkB8i3Hchw== X-Received: by 2002:aa7:8202:0:b029:2d8:c24d:841d with SMTP id k2-20020aa782020000b02902d8c24d841dmr1650237pfi.57.1623718773305; Mon, 14 Jun 2021 17:59:33 -0700 (PDT) Received: from localhost.localdomain ([12.125.190.90]) by smtp.gmail.com with ESMTPSA id nn6sm12805105pjb.57.2021.06.14.17.59.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Jun 2021 17:59:32 -0700 (PDT) From: Charles Hardin X-Google-Original-From: Charles Hardin To: buildroot@buildroot.org Date: Mon, 14 Jun 2021 17:59:23 -0700 Message-Id: <20210615005923.51837-1-charles.hardin@chargepoint.com> X-Mailer: git-send-email 2.30.1 (Apple Git-130) MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/alsa-plugins: add new package alsa-plugins version 1.2.5 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Charles Hardin , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Charles Hardin During testing of bluez-alsa in particular, there is no compilation dependency - but, some configurations against boards 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 will build the appropriate dlobject for loading and configuration. Signed-off-by: Charles Hardin --- package/Config.in | 1 + package/alsa-plugins/Config.in | 8 ++++++++ package/alsa-plugins/alsa-plugins.hash | 4 ++++ package/alsa-plugins/alsa-plugins.mk | 23 +++++++++++++++++++++++ 4 files changed, 36 insertions(+) create mode 100644 package/alsa-plugins/Config.in create mode 100644 package/alsa-plugins/alsa-plugins.hash create mode 100644 package/alsa-plugins/alsa-plugins.mk diff --git a/package/Config.in b/package/Config.in index e42f579494..26adcd53f2 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1291,6 +1291,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..44aaa7997c --- /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_LIBSAMPLERATE + 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..70d3cdb87c --- /dev/null +++ b/package/alsa-plugins/alsa-plugins.mk @@ -0,0 +1,23 @@ +############################################################# +# +# 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+ (library), GPL-2.0+ (samplerate) +ALSA_PLUGINS_LICENSE_FILES = COPYING COPYING.GPL +ALSA_PLUGINS_INSTALL_STAGING = NO +ALSA_PLUGINS_AUTORECONF = YES +ALSA_PLUGINS_DEPENDENCIES = alsa-lib libsamplerate + +ALSA_PLUGINS_CONF_OPTS += \ + --enable-samplerate \ + --disable-jack \ + --disable-usbstream \ + --disable-pulseaudio \ + --disable-avcodec \ + --with-speex=builtin + +$(eval $(autotools-package))