Sun Jan 11 20:57:20 2009 UTC ()
Enable shoutcast support.

Patch from Gergo Szakal.


(ahoka)
diff -r1.31 -r1.32 pkgsrc/audio/musicpd/Makefile
diff -r1.7 -r1.8 pkgsrc/audio/musicpd/options.mk

cvs diff -r1.31 -r1.32 pkgsrc/audio/musicpd/Makefile (expand / switch to context diff)
--- pkgsrc/audio/musicpd/Makefile 2008/11/02 22:25:09 1.31
+++ pkgsrc/audio/musicpd/Makefile 2009/01/11 20:57:20 1.32
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.31 2008/11/02 22:25:09 snj Exp $
+# $NetBSD: Makefile,v 1.32 2009/01/11 20:57:20 ahoka Exp $
 
 DISTNAME=		mpd-0.13.1
 PKGNAME=		${DISTNAME:S/mpd/musicpd/}
-PKGREVISION=		2
+PKGREVISION=		3
 CATEGORIES=		audio
 MASTER_SITES=		http://musicpd.org/uploads/files/
 EXTRACT_SUFX=		.tar.bz2

cvs diff -r1.7 -r1.8 pkgsrc/audio/musicpd/options.mk (expand / switch to context diff)
--- pkgsrc/audio/musicpd/options.mk 2007/02/01 14:52:43 1.7
+++ pkgsrc/audio/musicpd/options.mk 2009/01/11 20:57:20 1.8
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.7 2007/02/01 14:52:43 cbiere Exp $
+# $NetBSD: options.mk,v 1.8 2009/01/11 20:57:20 ahoka Exp $
 
 PKG_OPTIONS_VAR=	PKG_OPTIONS.musicpd
-PKG_SUPPORTED_OPTIONS=	aac audiofile flac iconv id3 libmikmod musepack ogg
-PKG_SUGGESTED_OPTIONS=	aac audiofile flac iconv id3 libmikmod musepack ogg
+PKG_SUPPORTED_OPTIONS=	aac audiofile flac iconv id3 libmikmod musepack ogg shout
+PKG_SUGGESTED_OPTIONS=	aac audiofile flac iconv id3 libmikmod musepack ogg shout
 
 .include "../../mk/bsd.options.mk"
 
@@ -62,6 +62,13 @@
 CONFIGURE_ARGS+=	--with-ogg=${BUILDLINK_PREFIX.libvorbis}
 .else
 CONFIGURE_ARGS+=	--disable-ogg
+.endif
+
+.if !empty(PKG_OPTIONS:Mshout)
+.  include "../../audio/libshout/buildlink3.mk"
+CONFIGURE_ARGS+=        --enable-shout
+.else
+CONFIGURE_ARGS+=        --enable-shout
 .endif
 
 # when IPv6 support is enabled, mpd doesn't listen on an IPv4 address.