From 22077ca4c3a64e36f5394a2179ec492c7e11a17b Mon Sep 17 00:00:00 2001 From: ahoka Date: Sun, 11 Jan 2009 20:57:20 +0000 Subject: Enable shoutcast support. Patch from Gergo Szakal. --- audio/musicpd/Makefile | 4 ++-- audio/musicpd/options.mk | 13 ++++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) (limited to 'audio/musicpd') 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 -- cgit v1.2.3