Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2007 23:06:30 GMT
From:      Matthieu Bollot <mattboll@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/118707: [patch]audio/musicpd shout support
Message-ID:  <200712142306.lBEN6U8J019993@www.freebsd.org>
Resent-Message-ID: <200712142310.lBENA3Kl025816@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         118707
>Category:       ports
>Synopsis:       [patch]audio/musicpd shout support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 14 23:10:03 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Matthieu Bollot
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD lisa.bob.selfip.org 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #5: Sun Nov 25 18:35:33 CET 2007     mattboll@lisa.bob.selfip.org:/usr/obj/usr/src/sys/LISA  i386
>Description:
There is an option to compile musicpd with shoutcast support, which means that we could use it with icecast.
By the way, my patch just give choice in make config, whereas now the option is disabled.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- /usr/ports/audio/musicpd/Makefile.orig	Fri Aug 24 20:59:10 2007
+++ /usr/ports/audio/musicpd/Makefile	Tue Sep 18 09:51:16 2007
@@ -31,11 +31,11 @@
 		ICONV "Support for international characters" on \
 	        ID3TAG "Support for id3v1 tag encoding" off \
 		IPV6 "Support for IPV6" on \
-		AO "Support for libao" off
+		AO "Support for libao" off \
+		SHOUTCAST "Support for shoutcast" off
 
 CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS=	--disable-pulse \
-		--disable-shout
+CONFIGURE_ARGS=	--disable-pulse
 
 .include <bsd.port.pre.mk>
 
@@ -94,6 +94,12 @@
 .ifdef(WITH_AO)
 CONFIGURE_ARGS+=--enable-ao
 LIB_DEPENDS+=	ao.3:${PORTSDIR}/audio/libao
+.endif
+
+.ifdef(WITHOUT_SHOUTCAST)
+CONFIGURE_ARGS+=--disable-shout
+.else
+CONFIGURE_ARGS+=--enable-shout
 .endif
 
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712142306.lBEN6U8J019993>