From patchwork Sun Feb 4 12:05:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 869027 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.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zZ8Z34PsZz9sR8 for ; Sun, 4 Feb 2018 23:05:47 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 034DE2DCFE; Sun, 4 Feb 2018 12:05:44 +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 SY9wnmU-M7gk; Sun, 4 Feb 2018 12:05:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id D86332CB95; Sun, 4 Feb 2018 12:05:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id F1D461C3F9F for ; Sun, 4 Feb 2018 12:05:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id EE2C687C2A for ; Sun, 4 Feb 2018 12:05:40 +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 RuDsLx6QyxiG for ; Sun, 4 Feb 2018 12:05:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout12.t-online.de (mailout12.t-online.de [194.25.134.22]) by hemlock.osuosl.org (Postfix) with ESMTPS id CD6E387BCB for ; Sun, 4 Feb 2018 12:05:39 +0000 (UTC) Received: from fwd37.aul.t-online.de (fwd37.aul.t-online.de [172.20.27.137]) by mailout12.t-online.de (Postfix) with SMTP id 0D70441F1D10 for ; Sun, 4 Feb 2018 13:05:37 +0100 (CET) Received: from fli4l.lan.fli4l (bjH4nUZZ8h+jaM7WgLWwF2fbjPTm-xzvexvhxtyLlXxH+62E3EisKmayfZ4s3JdZd8@[84.161.183.123]) by fwd37.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1eiJ32-11DsAq0; Sun, 4 Feb 2018 13:05:28 +0100 Received: from mahler.lan.fli4l ([192.168.1.1]:42942 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.90) (envelope-from ) id 1eiJ31-0004H6-IY for buildroot@buildroot.org; Sun, 04 Feb 2018 13:05:27 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 4 Feb 2018 13:05:27 +0100 Message-Id: <20180204120527.26926-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.11.0 X-ID: bjH4nUZZ8h+jaM7WgLWwF2fbjPTm-xzvexvhxtyLlXxH+62E3EisKmayfZ4s3JdZd8 X-TOI-MSGID: 89d5b4ec-3c80-4a49-a9b8-c2555b0b8a6b Subject: [Buildroot] [PATCH 1/1] package/libsamplerate: add optional dependency to alsa-lib X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 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" Configure summary without this patch and without alsa-lib built before: Extra tools required for testing and examples : [...] Have ALSA : ................... no and with this patch Extra tools required for testing and examples : [...] Have ALSA : ................... yes Signed-off-by: Bernd Kuhls --- package/libsamplerate/libsamplerate.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/libsamplerate/libsamplerate.mk b/package/libsamplerate/libsamplerate.mk index 76e93f913e..c107650cb4 100644 --- a/package/libsamplerate/libsamplerate.mk +++ b/package/libsamplerate/libsamplerate.mk @@ -12,6 +12,10 @@ LIBSAMPLERATE_CONF_OPTS = --disable-fftw --program-transform-name='' LIBSAMPLERATE_LICENSE = BSD-2-Clause LIBSAMPLERATE_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +LIBSAMPLERATE_DEPENDENCIES += alsa-lib +endif + ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) LIBSAMPLERATE_DEPENDENCIES += libsndfile endif