From patchwork Mon Dec 8 22:44:53 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: 418895 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 DF15C1400DD for ; Tue, 9 Dec 2014 09:45:11 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9AFE294C4C; Mon, 8 Dec 2014 22:45:10 +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 QHuWcj4euejG; Mon, 8 Dec 2014 22:45:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id CBD25949FB; Mon, 8 Dec 2014 22:45:08 +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 92DA61C2432 for ; Mon, 8 Dec 2014 22:45:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 912AB94A48 for ; Mon, 8 Dec 2014 22:45:02 +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 XhkfTg4SaM7a for ; Mon, 8 Dec 2014 22:45:00 +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 706B694A1F for ; Mon, 8 Dec 2014 22:45:00 +0000 (UTC) Received: from dovecot03.posteo.de (unknown [185.67.36.28]) by mx02.posteo.de (Postfix) with ESMTPS id DAAD125B17D9; Mon, 8 Dec 2014 23:44:58 +0100 (CET) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot03.posteo.de (Postfix) with ESMTPSA id 3jxKNB4kyDz5vMs; Mon, 8 Dec 2014 23:44:58 +0100 (CET) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Mon, 8 Dec 2014 23:44:53 +0100 Message-Id: <1418078694-26331-5-git-send-email-jkrause@posteo.de> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1418078694-26331-1-git-send-email-jkrause@posteo.de> References: <1418078694-26331-1-git-send-email-jkrause@posteo.de> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 5/6] package/mpd: enable neighbor discovery support 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" Enable support for neighbor discovery useful in Samba and UPnP networks. Signed-off-by: Jörg Krause --- package/mpd/Config.in | 10 ++++++++++ package/mpd/mpd.mk | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/package/mpd/Config.in b/package/mpd/Config.in index 901902b..57ed434 100644 --- a/package/mpd/Config.in +++ b/package/mpd/Config.in @@ -269,6 +269,16 @@ config BR2_PACKAGE_MPD_AVAHI_SUPPORT comment "avahi support needs a toolchain w/ dynamic library" depends on BR2_PREFER_STATIC_LIB +config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT + bool "neighbor discovery support" + help + Enable support for neighbor discovery. + This option may be used in conjunction with the plugin samba to + provide a list of SMB/CIFS servers or with the plugin UPnP to provide + a list of UPnP servers on the local network. + The neighbor plugin needs configuration in mpd.conf. For further + information take a look at the MPD documentation. + config BR2_PACKAGE_MPD_TCP bool "tcp sockets" default y diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk index 3be2ae5..85bbe8b 100644 --- a/package/mpd/mpd.mk +++ b/package/mpd/mpd.mk @@ -162,6 +162,12 @@ else MPD_CONF_OPTS += --disable-mpc endif +ifeq ($(BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT),y) +MPD_CONF_OPTS += --enable-neighbor-plugins +else +MPD_CONF_OPTS += --disable-neighbor-plugins +endif + ifeq ($(BR2_PACKAGE_MPD_OPUS),y) MPD_DEPENDENCIES += opus libogg MPD_CONF_OPTS += --enable-opus