From patchwork Thu Sep 5 15:45:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guillaume GC. Chaye" X-Patchwork-Id: 1981325 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) 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 ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X03bp5cGDz1yg3 for ; Fri, 6 Sep 2024 01:45:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 45F1F60A67; Thu, 5 Sep 2024 15:45:40 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Bg3L78B65--5; Thu, 5 Sep 2024 15:45:39 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 50D2660A71 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 50D2660A71; Thu, 5 Sep 2024 15:45:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id B42611BF3D4 for ; Thu, 5 Sep 2024 15:45:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id AE1534067D for ; Thu, 5 Sep 2024 15:45:38 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id dP7-ILET8Zwx for ; Thu, 5 Sep 2024 15:45:38 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=163.172.193.142; helo=mail0.insia.net; envelope-from=guillaume.chaye@zeetim.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 882A040679 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 882A040679 Received: from mail0.insia.net (mail0.insia.net [163.172.193.142]) by smtp4.osuosl.org (Postfix) with ESMTP id 882A040679 for ; Thu, 5 Sep 2024 15:45:37 +0000 (UTC) Received: from smtp.insia.net (unknown [192.168.1.24]) by mail0.insia.net (Postfix) with ESMTP id 9E6DA1FBA8; Thu, 5 Sep 2024 17:45:31 +0200 (CEST) Received: from sb-dev-build.insia.net. (gw-servers.insia.net [192.168.1.1]) by smtp.insia.net (Postfix) with ESMTP id 354055F497; Thu, 5 Sep 2024 17:42:00 +0200 (CEST) From: "Guillaume GC. Chaye" To: buildroot@buildroot.org Date: Thu, 5 Sep 2024 17:45:11 +0200 Message-Id: <20240905154511.1319010-1-guillaume.chaye@zeetim.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zeetim.com; s=mail0; t=1725551131; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=D7rt25BnKZgQlwUFix2RrIw/B3N+XapOwfOITuiT8Nw=; b=pjzKTop28mf+HJctZp4iMqfzUE1MKjL+fzlNb8BaVUIXkfRj+mPRopi/pQ2b8pu7FKeNaW 6gM1qhulOaqX4KMJQAzFZLqdpscWFWLz24dWWOLB9JGdlXbM4XyKa2v4ImyZgRVb+NcgK/ wCFRo7/Y6b9j8L1x6qHY9556kal3VKkmoYBO4lFsyuGDlASP/XqQIxmjrpteT/4TRkHL9K UJBn1KR5qYJvtJPJdQQHVVQULWFN04/QBAodWhnXudliPYdHtJiGz3S7KkT0KWogaj+w4l DSDLvI0zrBESuIVLRGUJf5esSjBYAySZAqpEFvOPywnMRx+QvjdJENZOpbJeKA== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=none (p=none dis=none) header.from=zeetim.com X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=zeetim.com header.i=@zeetim.com header.a=rsa-sha256 header.s=mail0 header.b=pjzKTop2 Subject: [Buildroot] [PATCH 4/4] package/alsa-plugins: add support for pulseaudio X-BeenThere: buildroot@buildroot.org 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 , "Guillaume GC. Chaye" Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" build package with pulseaudio support only if package is selected in menuconfig Signed-off-by: Guillaume GC. Chaye --- package/alsa-plugins/alsa-plugins.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/alsa-plugins/alsa-plugins.mk b/package/alsa-plugins/alsa-plugins.mk index 25ecc589fc..deeca838b1 100644 --- a/package/alsa-plugins/alsa-plugins.mk +++ b/package/alsa-plugins/alsa-plugins.mk @@ -14,12 +14,18 @@ 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_PULSEAUDIO),y) +ALSA_PLUGINS_DEPENDENCIES += pulseaudio +ALSA_PLUGINS_CONF_OPTS += --enable-pulseaudio +else +ALSA_PLUGINS_CONF_OPTS += --disable-pulseaudio +endif + ifeq ($(BR2_PACKAGE_ALSA_UTILS),y) ALSA_PLUGINS_DEPENDENCIES += alsa-utils endif