pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/musicpd Enable shoutcast support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f2668182f12
branches:  trunk
changeset: 552912:3f2668182f12
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Sun Jan 11 20:57:20 2009 +0000

description:
Enable shoutcast support.

Patch from Gergo Szakal.

diffstat:

 audio/musicpd/Makefile   |   4 ++--
 audio/musicpd/options.mk |  13 ++++++++++---
 2 files changed, 12 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 3a4abedbf524 -r 3f2668182f12 audio/musicpd/Makefile
--- a/audio/musicpd/Makefile    Sun Jan 11 20:32:18 2009 +0000
+++ b/audio/musicpd/Makefile    Sun Jan 11 20:57:20 2009 +0000
@@ -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 -r 3a4abedbf524 -r 3f2668182f12 audio/musicpd/options.mk
--- a/audio/musicpd/options.mk  Sun Jan 11 20:32:18 2009 +0000
+++ b/audio/musicpd/options.mk  Sun Jan 11 20:57:20 2009 +0000
@@ -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+=       --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



Home | Main Index | Thread Index | Old Index