From patchwork Thu Oct 16 22:29:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 400393 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 618AB1400B8 for ; Fri, 17 Oct 2014 09:29:27 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D85EB95AAC; Thu, 16 Oct 2014 22:29:17 +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 0e5uHRt6Y6KN; Thu, 16 Oct 2014 22:29:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 0907495ADD; Thu, 16 Oct 2014 22:29:17 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 3E6871C235D for ; Thu, 16 Oct 2014 22:29:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 3B1DD95AA5 for ; Thu, 16 Oct 2014 22:29:05 +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 c2xlBvXaVMZ1 for ; Thu, 16 Oct 2014 22:29:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx02.posteo.de (mx02.posteo.de [89.146.194.165]) by hemlock.osuosl.org (Postfix) with ESMTPS id A222995A9B for ; Thu, 16 Oct 2014 22:29:03 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx02.posteo.de (Postfix) with ESMTP id 3E9129DADE7 for ; Fri, 17 Oct 2014 00:29:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at posteo.de Received: from posteo.de ([10.125.125.178]) (using TLS) by localhost (amavis1.posteo.de [10.125.125.165]) (amavisd-new, port 10026) with ESMTPS id TMXlF_uYchqd; Fri, 17 Oct 2014 00:28:55 +0200 (CEST) Received: from mail.posteo.de (localhost [127.0.0.1]) by mail.posteo.de (Postfix) with ESMTPSA id 15AEC2C012C; Fri, 17 Oct 2014 00:28:55 +0200 (CEST) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Fri, 17 Oct 2014 00:29:00 +0200 Message-Id: <1413498543-643-5-git-send-email-jkrause@posteo.de> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1413498543-643-1-git-send-email-jkrause@posteo.de> References: <1413498543-643-1-git-send-email-jkrause@posteo.de> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 5/8] package/mpd: enable support for libsmbclient 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Jörg Krause --- Changes v2 -> v3: - fix indentation of help text Changes v1 -> v2: - none --- package/mpd/Config.in | 8 ++++++++ package/mpd/mpd.mk | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/package/mpd/Config.in b/package/mpd/Config.in index e62a37d..09df556 100644 --- a/package/mpd/Config.in +++ b/package/mpd/Config.in @@ -182,6 +182,14 @@ config BR2_PACKAGE_MPD_CURL help Enable curl streaming (http) support. +config BR2_PACKAGE_MPD_LIBSMBCLIENT + bool "samba" + depends on !BR2_nios2 # samba + select BR2_PACKAGE_SAMBA + select BR2_PACKAGE_SAMBA_LIBSMBCLIENT + help + Enable Samba support. + config BR2_PACKAGE_MPD_SOUNDCLOUD bool "soundcloud" select BR2_PACKAGE_YAJL diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk index 92d7292..ecd2a77 100644 --- a/package/mpd/mpd.mk +++ b/package/mpd/mpd.mk @@ -90,6 +90,13 @@ else MPD_CONF_OPTS += --disable-lame-encoder endif +ifeq ($(BR2_PACKAGE_MPD_LIBSMBCLIENT),y) +MPD_DEPENDENCIES += samba +MPD_CONF_OPTS += --enable-smbclient +else +MPD_CONF_OPTS += --disable-smbclient +endif + ifeq ($(BR2_PACKAGE_MPD_LIBSAMPLERATE),y) MPD_DEPENDENCIES += libsamplerate MPD_CONF_OPTS += --enable-lsr