From patchwork Sat Sep 9 21:39:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 811998 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) 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; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="lo9re7fu"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xqSKf2h7bz9t2M for ; Sun, 10 Sep 2017 07:40:38 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B110E88E7B; Sat, 9 Sep 2017 21:40:35 +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 xX+jJLCEOR2j; Sat, 9 Sep 2017 21:40:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 72C2F88F54; Sat, 9 Sep 2017 21:40:33 +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 071BE1C26BD for ; Sat, 9 Sep 2017 21:40:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D390788F3D for ; Sat, 9 Sep 2017 21:40:22 +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 ty7DtwnklWG2 for ; Sat, 9 Sep 2017 21:40:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by whitealder.osuosl.org (Postfix) with ESMTPS id A757A88D6B for ; Sat, 9 Sep 2017 21:40:21 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id p37so2691424wrb.5 for ; Sat, 09 Sep 2017 14:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=zP6Kz6ri6VJE0H08kDsxamUE0ucLRc5wFNcyJfmbyuE=; b=lo9re7furQuk2pDO9VxCuSXNvnVI2mZaXV9FVFs0nOeCowD3p2ee+zydozYAPlgnkt 0Phl9aVtdJXOi9vbag700f9NJg0mMGonULuCwR7ovGaQwmDk3lhHXuKbSo/rBEIui6e8 OJsk1FV7XZZSnvWPGCLFrenqapP9dzLlms/hEcKBikqqbfx3R83JLLSNusEUCgctRE67 M4jjCZJPB+WTdiuMuaewtYpEU1C44WG4w7fuFhHo9ce+f0M8W27ZA57ecx4BqYgjjNKt hkyFQ5kdUygrYKGYmTpOhdofLk+G4JRpoh+MyHxlTJEuze0z87Z+n6BtNKpFI1pT0JPH 7HPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=zP6Kz6ri6VJE0H08kDsxamUE0ucLRc5wFNcyJfmbyuE=; b=jzE4S7WEtGm4G4Vy37Hf9s+W5W87lx6SV70Ib/YrsmLn9tIlZf4cZLPTpwi8CyIRJa PBIqsBOZOzehpsasuarwR0mD3bpl69O/t5CEDRMKbryGAtbpCqJLifQuEV7WGYr3UvqC f3HhFVNa58KxgVyJRXcivtRRaiB7ft+xeZhV++vMOl14ChIX6NSUUc5sPcMVtP/4jhTk uXWSRGypJNkXDqpony6LAcnm4QB39eJLEFmKvAxne8+YXf2D25lTK2uRt3ttePOpGrz8 QDX0jEfbTLwnKDpiTCPaGQ75q1cs0tKMUBhZcJz9Pw0XE201i4U2AquSv7BU/YVQZqaE dUxg== X-Gm-Message-State: AHPjjUgwF2mfUsIRvzzfl4vkI0JeFG1T18IjOM2bU89HfUVc9ScYWtt5 1WfGmxz7Q1ZlCtGW X-Google-Smtp-Source: ADKCNb55I4IIaOwcHej8jpoq/gTRs5L5yFelslqZJiMdr/cW6sIZ/OQJ4iPI7R9X8QDC+1+sv6TbIA== X-Received: by 10.223.187.129 with SMTP id q1mr4955874wrg.239.1504993219924; Sat, 09 Sep 2017 14:40:19 -0700 (PDT) Received: from localhost.localdomain (2a01cb08861073003564ebf312921004.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:3564:ebf3:1292:1004]) by smtp.gmail.com with ESMTPSA id k52sm5435702wrf.62.2017.09.09.14.40.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Sep 2017 14:40:18 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sat, 9 Sep 2017 23:39:21 +0200 Message-Id: <72f954f5b191ff0e342ac2ac8a7ee7d78bafd70a.1504993178.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 15/49 v2] package/asterisk: add optional portaudio dependency X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: "Yann E. MORIN" --- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk index bd5b794117..99f66aeeb0 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -77,7 +77,6 @@ ASTERISK_CONF_OPTS = \ --without-postgres \ --without-pjproject \ --without-popt \ - --without-portaudio \ --without-pri \ --without-pwlib \ --without-radius \ @@ -179,6 +178,13 @@ else ASTERISK_CONF_OPTS += --without-opus endif +ifeq ($(BR2_PACKAGE_PORTAUDIO),y) +ASTERISK_DEPENDENCIES += portaudio +ASTERISK_CONF_OPTS += --with-portaudio +else +ASTERISK_CONF_OPTS += --without-portaudio +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ASTERISK_DEPENDENCIES += openssl ASTERISK_CONF_OPTS += --with-ssl