From patchwork Wed Oct 16 09:55:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 1177728 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=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=embedded.rocks Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embedded.rocks header.i=@embedded.rocks header.b="XvcChD5D"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46tSN203qCz9sP3 for ; Wed, 16 Oct 2019 20:55:29 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4FE1686456; Wed, 16 Oct 2019 09:55:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tr-GUj0ranpQ; Wed, 16 Oct 2019 09:55:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 406F78646F; Wed, 16 Oct 2019 09:55:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E4B311BF681 for ; Wed, 16 Oct 2019 09:55:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E10C98646F for ; Wed, 16 Oct 2019 09:55:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rbmNbYSDDJME for ; Wed, 16 Oct 2019 09:55:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.142]) by whitealder.osuosl.org (Postfix) with ESMTPS id AFF0386456 for ; Wed, 16 Oct 2019 09:55:24 +0000 (UTC) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A24E2240101 for ; Wed, 16 Oct 2019 11:55:21 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46tSMr1Hljz9rxQ for ; Wed, 16 Oct 2019 11:55:19 +0200 (CEST) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:x-mailer:message-id:date:date:subject:subject:from :from:received:received; s=default; t=1571219717; x=1571824518; bh=KjiSCXdiNhbEOEOi32u3YaYdJEj6/MwAJ7dpu5+9nDk=; b=XvcChD5DioW5 Keq8Wrts8ClkbfcUsAVaTvQBhtwv94EWBrs8U3RMPJgufrzLlFXl27GepQx7Yqcf XUQrGAAG0LhYQ8W+RufalY2lsbziMBWZD1r3+WVkLmfxmSmmjylhjbVqQTj/zA+e xSGdUU4MAUWJfttgG0OgSUInsGs+XGj1pfaDuZWzbKKPXrgSAABTAp04MUtVBsR1 EpewXuwOm0prluOCUpiqzuzzyxEmVsNHe80HSHFpB0WB+JRaYjCyE7ZMm8AdWTAR rp+kOAHiKDvYrRVxYgZC7EzpqumhuUF7vNe4euEyZtSY/+VAQSAhG+sgIdcK2fBM Cj7Gf+mr5A== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 0Dv5yofPVQyc; Wed, 16 Oct 2019 11:55:17 +0200 (CEST) Received: from hp.lintech.bln (business-90-187-64-85.pool2.vodafone-ip.de [90.187.64.85]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Wed, 16 Oct 2019 11:55:17 +0200 (CEST) From: =?utf-8?q?J=C3=B6rg_Krause?= To: buildroot@buildroot.org Date: Wed, 16 Oct 2019 11:55:01 +0200 Message-Id: <20191016095501.3829-1-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/bluez-alsa: bump to version 2.0.0 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Add the bluealsa-aplay client application as a config option, as it does not use libglib2 anymore (like the server application bluealsa), but libdbus. Furthermore, bluealsa can be used without bluealsa-aplay. Version 2.0.0 adds optional support for MP3 support with lame, and full MPEG support with mpg123. Signed-off-by: Jörg Krause --- package/bluez-alsa/Config.in | 6 ++++++ package/bluez-alsa/bluez-alsa.hash | 2 +- package/bluez-alsa/bluez-alsa.mk | 24 ++++++++++++++++++++++-- 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/package/bluez-alsa/Config.in b/package/bluez-alsa/Config.in index e52933f07c..e8a0343f77 100644 --- a/package/bluez-alsa/Config.in +++ b/package/bluez-alsa/Config.in @@ -18,6 +18,12 @@ config BR2_PACKAGE_BLUEZ_ALSA if BR2_PACKAGE_BLUEZ_ALSA +config BR2_PACKAGE_BLUEZ_ALSA_APLAY + bool "aplay" + select BR2_PACKAGE_DBUS + help + Simple BlueALSA player. + config BR2_PACKAGE_BLUEZ_ALSA_HCITOP bool "hcitop" depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS diff --git a/package/bluez-alsa/bluez-alsa.hash b/package/bluez-alsa/bluez-alsa.hash index afc84329b3..37c4919f91 100644 --- a/package/bluez-alsa/bluez-alsa.hash +++ b/package/bluez-alsa/bluez-alsa.hash @@ -1,3 +1,3 @@ # Locally calculated: -sha256 6287ae6135795a78470068ef9d9ea660d556cefc409905bd9211fda04d1e1f8e bluez-alsa-1.4.0.tar.gz +sha256 451c99c2045a1ec1ffe0d054be4774fbd01af34d6d1a2757d346d02718381697 bluez-alsa-2.0.0.tar.gz sha256 45fe8648faa0e735d4aaf60c32ddd37fc7f027d34ccedcf0f69d8aa961b63b25 LICENSE diff --git a/package/bluez-alsa/bluez-alsa.mk b/package/bluez-alsa/bluez-alsa.mk index 4552be82f3..6b04dfbc07 100644 --- a/package/bluez-alsa/bluez-alsa.mk +++ b/package/bluez-alsa/bluez-alsa.mk @@ -4,7 +4,7 @@ # ################################################################################ -BLUEZ_ALSA_VERSION = 1.4.0 +BLUEZ_ALSA_VERSION = 2.0.0 BLUEZ_ALSA_SITE = $(call github,Arkq,bluez-alsa,v$(BLUEZ_ALSA_VERSION)) BLUEZ_ALSA_LICENSE = MIT BLUEZ_ALSA_LICENSE_FILES = LICENSE @@ -20,7 +20,6 @@ endef BLUEZ_ALSA_POST_PATCH_HOOKS += BLUEZ_ALSA_MKDIR_M4 BLUEZ_ALSA_CONF_OPTS = \ - --enable-aplay \ --disable-debug-time \ --with-alsaplugindir=/usr/lib/alsa-lib \ --with-alsaconfdir=/usr/share/alsa @@ -32,6 +31,20 @@ else BLUEZ_ALSA_CONF_OPTS += --disable-aac endif +ifeq ($(BR2_PACKAGE_LAME),y) +BLUEZ_ALSA_DEPENDENCIES += lame +BLUEZ_ALSA_CONF_OPTS += --enable-mp3lame +else +BLUEZ_ALSA_CONF_OPTS += --disable-mp3lame +endif + +ifeq ($(BR2_PACKAGE_MPG123),y) +BLUEZ_ALSA_DEPENDENCIES += mpg123 +BLUEZ_ALSA_CONF_OPTS += --enable-mpg123 +else +BLUEZ_ALSA_CONF_OPTS += --disable-mpg123 +endif + # no build dependency, disables internal HFP in favor of oFonos HFP profile ifeq ($(BR2_PACKAGE_OFONO),y) BLUEZ_ALSA_CONF_OPTS += --enable-ofono @@ -39,6 +52,13 @@ else BLUEZ_ALSA_CONF_OPTS += --disable-ofono endif +ifeq ($(BR2_PACKAGE_BLUEZ_ALSA_APLAY),y) +BLUEZ_ALSA_DEPENDENCIES += dbus +BLUEZ_ALSA_CONF_OPTS += --enable-aplay +else +BLUEZ_ALSA_CONF_OPTS += --disable-aplay +endif + ifeq ($(BR2_PACKAGE_BLUEZ_ALSA_HCITOP),y) BLUEZ_ALSA_DEPENDENCIES += libbsd ncurses BLUEZ_ALSA_CONF_OPTS += --enable-hcitop