diff options
author | drochner <drochner@pkgsrc.org> | 2009-07-30 16:51:04 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2009-07-30 16:51:04 +0000 |
commit | b06e9e113eb5abb849b1d034c3644cfb7c7dfdac (patch) | |
tree | 3add372276d47c2998a877cecc5e4af9051cb663 /audio | |
parent | 0e929f31da9959010441bcc30ebdb3b4bc9fbcae (diff) | |
download | pkgsrc-b06e9e113eb5abb849b1d034c3644cfb7c7dfdac.tar.gz |
add am option to use shoutcast as a sound output device, from
Guillaume Lasmayous per PR pkg/41469, with some minor adaption by me,
also fix some harmless but annoying diagnostic message if flac
albums are played
Diffstat (limited to 'audio')
-rw-r--r-- | audio/musicpd/distinfo | 3 | ||||
-rw-r--r-- | audio/musicpd/options.mk | 12 | ||||
-rw-r--r-- | audio/musicpd/patches/patch-aa | 12 |
3 files changed, 24 insertions, 3 deletions
diff --git a/audio/musicpd/distinfo b/audio/musicpd/distinfo index f0447e51027..03701ef667b 100644 --- a/audio/musicpd/distinfo +++ b/audio/musicpd/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.19 2009/07/27 20:08:38 drochner Exp $ +$NetBSD: distinfo,v 1.20 2009/07/30 16:51:04 drochner Exp $ SHA1 (mpd-0.15.1.tar.bz2) = eca8821e2c34b37232621b7219e39f0a6d67d190 RMD160 (mpd-0.15.1.tar.bz2) = 595370f38b8f6fe80b14551214956088562f3d9c Size (mpd-0.15.1.tar.bz2) = 385800 bytes +SHA1 (patch-aa) = 14c63f15f09d6d22770b90a30cc49951c8d1d38a diff --git a/audio/musicpd/options.mk b/audio/musicpd/options.mk index f8a6ab85e98..1805cd4e0f4 100644 --- a/audio/musicpd/options.mk +++ b/audio/musicpd/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.12 2009/07/27 20:08:38 drochner Exp $ +# $NetBSD: options.mk,v 1.13 2009/07/30 16:51:04 drochner Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.musicpd -PKG_SUPPORTED_OPTIONS= aac audiofile curl flac id3 libao jack libmikmod musepack ogg inet6 +PKG_SUPPORTED_OPTIONS= aac audiofile curl flac id3 libao jack libmikmod musepack ogg inet6 shout PKG_SUGGESTED_OPTIONS= aac audiofile curl flac id3 libao musepack ogg .include "../../mk/bsd.options.mk" @@ -85,3 +85,11 @@ CONFIGURE_ARGS+= --enable-ipv6 .else CONFIGURE_ARGS+= --disable-ipv6 .endif + +.if !empty(PKG_OPTIONS:Mshout) +. include "../../audio/libshout/buildlink3.mk" +. include "../../audio/lame/buildlink3.mk" +CONFIGURE_ARGS+= --enable-shout +.else +CONFIGURE_ARGS+= --disable-shout +.endif diff --git a/audio/musicpd/patches/patch-aa b/audio/musicpd/patches/patch-aa new file mode 100644 index 00000000000..c2da6ab7049 --- /dev/null +++ b/audio/musicpd/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.9 2009/07/30 16:51:04 drochner Exp $ + +--- src/decoder/flac_plugin.c.orig 2009-07-15 22:34:47.000000000 +0200 ++++ src/decoder/flac_plugin.c +@@ -619,6 +619,7 @@ flac_container_decode(struct decoder* de + // we only need to break at the end of track if we are in "cue mode" + if (data.time >= data.total_time) + { ++ break; + flacPrintErroredState(flac_get_state(flac_dec)); + flac_finish(flac_dec); + } |