From patchwork Fri Dec 30 10:29:17 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: 709731 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 3tqjSz2czcz9sCX for ; Fri, 30 Dec 2016 21:32:03 +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="oDSp1YQv"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6B02785915; Fri, 30 Dec 2016 10:32:01 +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 bf1lnpLMlLD3; Fri, 30 Dec 2016 10:31:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 03F22857CB; Fri, 30 Dec 2016 10:31:05 +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 AAD5F1C2103 for ; Fri, 30 Dec 2016 10:30:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9696B85714 for ; Fri, 30 Dec 2016 10:30:19 +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 vrqWNRQHlAm7 for ; Fri, 30 Dec 2016 10:30:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id E31898562C for ; Fri, 30 Dec 2016 10:30:14 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id c85so32039851wmi.1 for ; Fri, 30 Dec 2016 02:30:14 -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=hJ6vhz8M+G42FIX5romxKxqMZ1i9Wm3kgzzgO3JjaEg=; b=oDSp1YQvYirdllTzWZDMS5ejiacxjHy6ZSTWxsixs8sIgYvY0uoLjqZMGQ5AQhhFF9 Pa3IMHiNDY9yey7k2Zgta666hGMOgZF8jXa7jE/UpLkD1dZajXJVZM6TD07J699JVryt dKFKmiftYImbhxkMTdCldioGFkYguzAowUwfRM4aef2Vc9kkkiFGO612haL9PiTAFm2L Vd+ZyCBu7jFP0/o+H9nVUfXhgBrBpoEis2vE9QpGyM8JtFVtVyH/DYbEQJlgrpJxZGcK 25SldD4XTXxN03DL5kH3AhjJqBI1ol8yqRdjAhE6Kuqaj9+cLvLW1NuNqMYkdlfBSEb1 zz7A== 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=hJ6vhz8M+G42FIX5romxKxqMZ1i9Wm3kgzzgO3JjaEg=; b=mq08aqOmvrSGrBmLihnfxImd08XrmnDN0FY0ZcLKMQ8Da2347BFgtrUTUKrW2YIPp9 9wlojGlKR9wCf+LBOUimMMh8oBziB537Ay2Ws3suMoMFPcFfO1T3C4XKtUU7Q/GgN6iH VzgB51dwKhoeUCswgltnzNDwR1ZecO4fhNXzJSI6AT+nCQFqcAACxsNOD9IoBsqsLHVi hkzvYBQpkT/jcKunz94vHztBvrFz9QulVeTcp+TXjtBp0skXIq8261jJmg/5kNcQhggh KAPBwemw0ykOWwcKqIaUZO41wQMUN5Nh5OUrKJUMnvqeJhQ27lV+l1UKignxzPZ8ycUZ UDrA== X-Gm-Message-State: AIkVDXKruLNtLpKFNe48LDIkdbCfzEcb4PcizeCtbeEDnbF7pspZ4TjM13YGVTO2VjoKuQ== X-Received: by 10.28.196.207 with SMTP id u198mr40503337wmf.102.1483093813355; Fri, 30 Dec 2016 02:30:13 -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.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Dec 2016 02:30:12 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Fri, 30 Dec 2016 11:29:17 +0100 Message-Id: <4cf1511365d4762e0b24da6c9fe351ecfcbf0e3b.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 16/52] package/asterisk: add optional libvorbis 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 30c75bc..aa04c7e 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -86,7 +86,6 @@ ASTERISK_CONF_OPTS += \ --without-tonezone \ --without-unbound \ --without-unixodbc \ - --without-vorbis \ --without-vpb \ --without-x11 \ --with-crypt \ @@ -170,6 +169,13 @@ else ASTERISK_CONF_OPTS += --without-speex --without-speexdsp endif +ifeq ($(BR2_PACKAGE_LIBVORBIS),y) +ASTERISK_DEPENDENCIES += libvorbis +ASTERISK_CONF_OPTS += --with-vorbis +else +ASTERISK_CONF_OPTS += --without-vorbis +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) ASTERISK_DEPENDENCIES += zlib ASTERISK_CONF_OPTS += --with-z