pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/41469: Enable shoutcast option in audio/musicpd
>Number: 41469
>Category: pkg
>Synopsis: Enable shoutcast option in audio/musicpd
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu May 21 17:45:00 +0000 2009
>Originator: Guillaume Lasmayous
>Release: 5.99.10
>Organization:
>Environment:
NetBSD lopette.guigui2.net 5.99.10 NetBSD 5.99.10 (GENERIC) #0: Fri Apr 10
04:47:20 PDT 2009
builds@wb38:/home/builds/ab/HEAD/i386/200904100002Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC
i386
>Description:
For my own needs, I needed to add shoutcast support to audio/musicpd. I added
an option to enable both shout-mp3 (requires audio/lame) and shout-ogg support.
Please review the patch below and commit if OK. Thanks.
--- /home/guigui/options.mk 2009-05-21 21:19:15.000000000 +0200
+++ options.mk 2009-05-18 23:35:44.000000000 +0200
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.10 2009/03/17 18:16:20 asau Exp $
+# $NetBSD: options.mk,v 1.11 2009/03/19 21:35:14 asau 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
libshout musepack ogg inet6
PKG_SUGGESTED_OPTIONS= aac audiofile curl flac id3 libao musepack ogg
.include "../../mk/bsd.options.mk"
@@ -62,6 +62,16 @@
CONFIGURE_ARGS+= --disable-mod
.endif
+.if !empty(PKG_OPTIONS:Mlibshout)
+. include "../../audio/libshout/buildlink3.mk"
+. include "../../audio/lame/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-shout-ogg
+CONFIGURE_ARGS+= --enable-shout-mp3
+.else
+CONFIGURE_ARGS+= --disable-shout-ogg
+CONFIGURE_ARGS+= --disable-shout-mp3
+.endif
+
.if !empty(PKG_OPTIONS:Mmusepack)
. include "../../audio/libmpcdec/buildlink3.mk"
CONFIGURE_ENV+= mpcdec_prefix=${BUILDLINK_PREFIX.libmpcdec}
Thanks,
Guillaume.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index