summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorahoka <ahoka>2009-01-11 20:57:20 +0000
committerahoka <ahoka>2009-01-11 20:57:20 +0000
commit1734515d3b1715b2a817ab46088d8cd71a3aaa92 (patch)
tree90a72634ed6c2a24e91092737cd797c87e56eb82
parent62444878187071d4ec4be5e9ec0953da18c973ef (diff)
downloadpkgsrc-1734515d3b1715b2a817ab46088d8cd71a3aaa92.tar.gz
Enable shoutcast support.
Patch from Gergo Szakal.
-rw-r--r--audio/musicpd/Makefile4
-rw-r--r--audio/musicpd/options.mk13
2 files changed, 12 insertions, 5 deletions
diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile
index 31f5efc8a62..c4a21526ccb 100644
--- a/audio/musicpd/Makefile
+++ b/audio/musicpd/Makefile
@@ -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
diff --git a/audio/musicpd/options.mk b/audio/musicpd/options.mk
index 99a7ea80a56..4aadb52bd44 100644
--- a/audio/musicpd/options.mk
+++ b/audio/musicpd/options.mk
@@ -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"
@@ -64,6 +64,13 @@ CONFIGURE_ARGS+= --with-ogg=${BUILDLINK_PREFIX.libvorbis}
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.
#.if !empty(PKG_OPTIONS:Minet6)
#CONFIGURE_ARGS+= --enable-ipv6