From patchwork Fri Dec 30 10:29:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 709722 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3tqjS11zZHz9sCX for ; Fri, 30 Dec 2016 21:31:13 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="XuVf42yO"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8A2A585A79; Fri, 30 Dec 2016 10:31:10 +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 7fnJ6Ahw0RA8; Fri, 30 Dec 2016 10:31:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 27FE58584D; Fri, 30 Dec 2016 10:30:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 125071C209D for ; Fri, 30 Dec 2016 10:30:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 057992E862 for ; Fri, 30 Dec 2016 10:30:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ggRTrkwzlajk for ; Fri, 30 Dec 2016 10:30:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wj0-f196.google.com (mail-wj0-f196.google.com [209.85.210.196]) by silver.osuosl.org (Postfix) with ESMTPS id 319972E857 for ; Fri, 30 Dec 2016 10:30:06 +0000 (UTC) Received: by mail-wj0-f196.google.com with SMTP id kp2so60257407wjc.0 for ; Fri, 30 Dec 2016 02:30:06 -0800 (PST) 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=iXd5vY/DbkvNfHUc5Mm3G2CJeXt6Lf4S7sHbfN9ueUU=; b=XuVf42yOFkq/DR9qt9dQlcWMQAgua33lSPadyUZya3EXGfou9jmmhiNjwp6xAxF79O 0B5AmP+osn8TCtev8uNz/KeQ3U9um0zIgfrQ294OKfy1guCbsmQVj34dWe0d2btx/O3v Jzn6XzBgOxTxBRgC/qDz04j39bXc2yZz2aZmSOBrEqdNLztRNrX1NI4ea8dqKA9+Jdf4 Gc7tMCl6cmi9TYhpwVaoaT5B3MIckESTwGfzzru6GgeiGznifJb4r5tT7oyhntt/vXL4 54YZmrEkPlfW9S4EjsC4FkERmkLEyoVtAA/gk7Z+L2/FMoVIHPFuSHO7RkQwwR4d9vRU EYYw== 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=iXd5vY/DbkvNfHUc5Mm3G2CJeXt6Lf4S7sHbfN9ueUU=; b=fCa11pZBOSa6ZYe13sEcqMblwNnxkVJEmoc5LAJYH5zjbH9QblpU5I7fwnH5wUb8md AMiC0NbCi5IRRkksJG/ZgUueZtbQpgcG+B0z4plKn+hUi3I6r2jFNVZFXgb43xKJeQpZ NDQ0PMReIfAKvC895HVZFYPmYNyaxmf9JMJxiNQ4bAmYesPDvf3K3Oyw8bHpJ+4AOLqK Nf/o6sDshICvWXCt/Kv0RmZudt4i2mJF0lkwr+Rqd4PQmiVLQUpF2/fIP8Vj8FuZBl8a NEJNxiJS0lZSdeVbqs6EdztCe2+IKbeiMC7tvOEsKMjcmJGVTY/n6xW0xZSBwuIlHwiF YfJg== X-Gm-Message-State: AIkVDXLplve/z9E7N2ijuGi8ViY69IdTRZP71NwkgeAQ6NyTOGdpN2v2SOEvi/s3YpPN0g== X-Received: by 10.194.248.233 with SMTP id yp9mr39676690wjc.228.1483093804718; Fri, 30 Dec 2016 02:30:04 -0800 (PST) Received: from gourin.bzh.lan (ns304657.ip-46-105-103.eu. [46.105.103.66]) by smtp.gmail.com with ESMTPSA id p144sm69904809wme.23.2016.12.30.02.30.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Dec 2016 02:30:03 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Fri, 30 Dec 2016 11:29:10 +0100 Message-Id: <9fc16423a0b1e040077c6ccab1f488fceff4acf0.1483093662.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 09/52] package/asterisk: add optional alsa-lib 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 7028012..2eb9c7a 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -30,7 +30,6 @@ ASTERISK_CONF_OPTS += \ --disable-internal-poll \ --disable-asteriskssl \ --disable-rpath \ - --without-asound \ --without-bfd \ --without-bluetooth \ --without-cap \ @@ -120,6 +119,13 @@ else ASTERISK_CONF_OPTS += --without-gsm endif +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +ASTERISK_DEPENDENCIES += alsa-lib +ASTERISK_CONF_OPTS += --with-asound +else +ASTERISK_CONF_OPTS += --without-asound +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ASTERISK_DEPENDENCIES += openssl ASTERISK_CONF_OPTS += --with-ssl