svn commit: r317325 - head/audio/musicpd

Chris Rees crees at FreeBSD.org
Sat May 4 15:41:41 UTC 2013


Author: crees
Date: Sat May  4 15:41:40 2013
New Revision: 317325
URL: http://svnweb.freebsd.org/changeset/ports/317325

Log:
  audio/musicpd: Add support for bonjour/mDNSResponder
  
  PR:		ports/178274
  Submitted by:	Matthieu Volat <mazhe at alkumuna.eu>

Modified:
  head/audio/musicpd/Makefile

Modified: head/audio/musicpd/Makefile
==============================================================================
--- head/audio/musicpd/Makefile	Sat May  4 14:56:12 2013	(r317324)
+++ head/audio/musicpd/Makefile	Sat May  4 15:41:40 2013	(r317325)
@@ -34,9 +34,11 @@ PORTDOCS=	AUTHORS README COPYING NEWS UP
 
 SUB_FILES=	pkg-message
 
-OPTIONS_DEFINE=	ID3TAG IPV6 AVAHI FLAC VORBIS WAV FFMPEG TREMOR AAC \
+OPTIONS_DEFINE=	ID3TAG IPV6 FLAC VORBIS WAV FFMPEG TREMOR AAC \
 		MUSEPACK MIKMOD MODPLUG ARCHIVE MMS LASTFM AO PULSEAUDIO \
 		JACK SHOUTCAST SNDFILE LAME HTTPD SAMPLERATE CUE
+OPTIONS_RADIO=	ZEROCONF
+OPTIONS_RADIO_ZEROCONF=	AVAHI MDNSRESPONDER
 
 OPTIONS_DEFAULT=ID3TAG IPV6 FLAC VORBIS WAV FFMPEG SNDFILE 
 LAME_DESC=	Support for MP3 Icecast Streams
@@ -179,6 +181,13 @@ LIB_DEPENDS+=	avahi-client.3:${PORTSDIR}
 CONFIGURE_ARGS+=--with-zeroconf=no
 .endif
 
+.if ${PORT_OPTIONS:MMDNSRESPONDER}
+CONFIGURE_ARGS+=--with-zeroconf=bonjour
+LIB_DEPENDS+=	dns_sd:${PORTSDIR}/net/mDNSResponder
+.else
+CONFIGURE_ARGS+=--with-zeroconf=no
+.endif
+
 .if ${PORT_OPTIONS:MAO}
 CONFIGURE_ARGS+=--enable-ao
 LIB_DEPENDS+=	ao.4:${PORTSDIR}/audio/libao


More information about the svn-ports-all mailing list