From patchwork Fri Dec 30 10:29:16 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: 709727 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 3tqjSX2Q32z9sCX for ; Fri, 30 Dec 2016 21:31:40 +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="fTEPH+SU"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EFBC385C3F; Fri, 30 Dec 2016 10:31:37 +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 udGtxSq4Dt75; Fri, 30 Dec 2016 10:31:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id BA486857C6; Fri, 30 Dec 2016 10:30:46 +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 E8ED61C209D for ; Fri, 30 Dec 2016 10:30:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E28C622FDC for ; Fri, 30 Dec 2016 10:30:14 +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 o+lvDOHG0Q+g for ; Fri, 30 Dec 2016 10:30:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by silver.osuosl.org (Postfix) with ESMTPS id 93D3A2A223 for ; Fri, 30 Dec 2016 10:30:13 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id m203so70227800wma.3 for ; Fri, 30 Dec 2016 02:30:13 -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=nKhwBM8xe43bPpdPtAvbBetzQoAvqBY/pETmz4bKHW8=; b=fTEPH+SUTqhdRHWg+zBp2RmjMkiZlkOMGLnf3yUNVIu9n5ue/lp40yiu3XePaZV5yJ yD3tTeVdwpboC7Os+KAdVJulDpvNBi9JOjcel9dlssXzfGqltDTGjxjX4cOpI+ZwFY8k K2JmPCA8PrTouiBJ/6KOAqf7EbwyuTj6dSlkMqVb/xrUc7K3fu3i5cU3E+Pyje1GlJsU 9eT/g8fewUNUAVeG1DfYaNFNRGJs1ugcndpba5rxKTpcc04J6OJtbtZbE+YtZSDvUutv nqq+dCi2vugtydi4s5CjR1+PYwexn9JvmEqi2VBXe5Cmlu4aaTZWZLYsirr94EUS0NfD Solg== 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=nKhwBM8xe43bPpdPtAvbBetzQoAvqBY/pETmz4bKHW8=; b=NHoIKz5jTCWguJarKRtEH39JbZD0w1JiiYlLkAcZRRRn1on5sU+SFZgUYUw16zVjcS mQ+2rbF5Br6Bw1Y0EM9AriEpGkUBTg0kgO2Mhu/jrBPCNCEKK8HfJTs2fBjuoGJzSOj/ Zfjn4WVJLvSF9PW2OS8is9IhfbhCsddFm5jpl9/hbu10A4TS3ignQDuAVZgLFVVVJ16d iCX7KuHX8B8hfJWl3U3sehYoEI9zd8/s89y69F0yq1OIfUyZ4871CMYlMHlBOkcS2tml lvV5AKLhRtGqRpz3qBTPUwZj6bQCwmbsiBMLB7Opmp8apdIR/dQgXJpnRzpNTaDjmnF5 YTDA== X-Gm-Message-State: AIkVDXImjCG6R+M6k4liLCnc+dUVip4NF/CybFbCvqpcq87Bjcl5NFGjMDdxQ3eJgr+mZQ== X-Received: by 10.28.216.65 with SMTP id p62mr39802537wmg.92.1483093812092; Fri, 30 Dec 2016 02:30:12 -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.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Dec 2016 02:30:10 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Fri, 30 Dec 2016 11:29:16 +0100 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 15/52] package/asterisk: add optional speex 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 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk index 58f0ef8..30c75bc 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -76,8 +76,6 @@ ASTERISK_CONF_OPTS += \ --without-SDL_image \ --without-spandsp \ --without-ss7 \ - --without-speex \ - --without-speexdsp \ --without-sqlite \ --without-srtp \ --without-suppserv \ @@ -165,6 +163,13 @@ else ASTERISK_CONF_OPTS += --without-ssl endif +ifeq ($(BR2_PACKAGE_SPEEX),y) +ASTERISK_DEPENDENCIES += speex +ASTERISK_CONF_OPTS += --with-speex --with-speexdsp +else +ASTERISK_CONF_OPTS += --without-speex --without-speexdsp +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) ASTERISK_DEPENDENCIES += zlib ASTERISK_CONF_OPTS += --with-z