From patchwork Sat Dec 3 12:17:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 702310 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tW9690hk4z9ssP for ; Sat, 3 Dec 2016 23:18:25 +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="juuvzlLv"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id BCB42874EC; Sat, 3 Dec 2016 12:18:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lYm-faTFHzQI; Sat, 3 Dec 2016 12:18:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9690C874E7; Sat, 3 Dec 2016 12:18:20 +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 DD5DB1C057D for ; Sat, 3 Dec 2016 12:18:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id DAA2126C78 for ; Sat, 3 Dec 2016 12:18:18 +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 cG86JNLbnvWP for ; Sat, 3 Dec 2016 12:18:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by silver.osuosl.org (Postfix) with ESMTPS id 3B56726BAC for ; Sat, 3 Dec 2016 12:18:18 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id u144so6497933wmu.0 for ; Sat, 03 Dec 2016 04:18:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XeU44E3rbMKTvzDmUbHIrmIN9rZNMIohhMZTF+b8Thw=; b=juuvzlLv4hVTdYhcoPRGvKpMt1PawDQw2bD8qCqQw9DrJU4pOeM04cB4k2MS2FpWPi cOqBNIXXoDhzVFN6NDh17C72D/SE8a5WU7p4icdOuBMt+hVQxzomx22+GsI0egAj1QWM ocBH/dYg7YERFfVOQqz48mP4TOunRen/XoU7IIv6dPMKuqcQGPBe7olyVRsFEYymdG3y LMHoLhBLar73CFswbXyOBDPU+xHlFkaX7Hc4aIKRAwuP3cwoa+yWYFPGe8y6D7U2c0K6 Fo8DaWAnm1WtxVA77328NF/HO9QzpARrPIcUwad9/VVanavaPckAO7cuLZlct2pmrcFj hRbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XeU44E3rbMKTvzDmUbHIrmIN9rZNMIohhMZTF+b8Thw=; b=RVWcg6ztaoQ2vvK1gXLzRe631Nsnzy7Chu1vjxeADnF71HsB1sM01JwUFku6cA9hRK 39t8PeALToOyX8pJCFMp77pKoKznuKn7yHnphGldmKl9DjAmwFRQvJ01IpUxaAQUp0WP xw4Tdi88Kx8H3qk2L0wt+arpHkbA/JvJG1Z2JJLZOmqACvH/WmCOyCmofRUN1Z8cxgIL h3ZqdWC8k4UMRjJn320PX4u4zOksC6l5iHF/5Z1GIyZsqt1mtvoOf5rdgX68PNg9ueU8 nvimeYy1ioECkX0RL9HZwNdMWysETQdX/pT5hfwJH4DPwuDVtVNM1kJBFaODB5f+uhhj CDSQ== X-Gm-Message-State: AKaTC03B4aQ075ahegXJtJnA7h397Eq7YuDnKnpamIADvw8AjREnsn3PlJtVL590Xu4wyQ== X-Received: by 10.28.113.76 with SMTP id m73mr1653578wmc.114.1480767496596; Sat, 03 Dec 2016 04:18:16 -0800 (PST) Received: from atlas.localdomain.localdomain (gam75-1-81-57-22-125.fbx.proxad.net. [81.57.22.125]) by smtp.gmail.com with ESMTPSA id yj10sm10395726wjb.3.2016.12.03.04.18.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Dec 2016 04:18:16 -0800 (PST) From: Romain Naour To: buildroot@buildroot.org Date: Sat, 3 Dec 2016 13:17:35 +0100 Message-Id: <1480767459-17230-2-git-send-email-romain.naour@gmail.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1480767459-17230-1-git-send-email-romain.naour@gmail.com> References: <1480767459-17230-1-git-send-email-romain.naour@gmail.com> Cc: Romain Naour Subject: [Buildroot] [PATCH 2/6] package/aubio: add libsndfile optional 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: Romain Naour --- package/aubio/aubio.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/aubio/aubio.mk b/package/aubio/aubio.mk index aa4ddd0..e1694ab 100644 --- a/package/aubio/aubio.mk +++ b/package/aubio/aubio.mk @@ -16,9 +16,15 @@ AUBIO_CONF_OPTS = \ --disable-atlas \ --disable-samplerate \ --disable-avcodec \ - --disable-sndfile \ --disable-jack \ --disable-fftw3 \ --disable-fftw3f +ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) +AUBIO_DEPENDENCIES += libsndfile +AUBIO_CONF_OPTS += --enable-sndfile +else +AUBIO_CONF_OPTS += --disable-sndfile +endif + $(eval $(waf-package))