diff options
author | cbiere <cbiere@pkgsrc.org> | 2007-01-31 21:35:11 +0000 |
---|---|---|
committer | cbiere <cbiere@pkgsrc.org> | 2007-01-31 21:35:11 +0000 |
commit | b9a7337784bde18a858ca54ee183690b0743f365 (patch) | |
tree | 4f44152e65f142a7f173e2fe7324aa0a7f658420 | |
parent | a7a155789ea228d4408cbc10ce9bccfe690c5804 (diff) | |
download | pkgsrc-b9a7337784bde18a858ca54ee183690b0743f365.tar.gz |
Added package option "musepack"; enabled by default.
-rw-r--r-- | audio/musicpd/options.mk | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/audio/musicpd/options.mk b/audio/musicpd/options.mk index b2839bfc45f..ac26b81ad5a 100644 --- a/audio/musicpd/options.mk +++ b/audio/musicpd/options.mk @@ -1,8 +1,8 @@ -# $NetBSD: options.mk,v 1.5 2005/11/22 00:01:40 wiz Exp $ +# $NetBSD: options.mk,v 1.6 2007/01/31 21:35:11 cbiere Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.musicpd -PKG_SUPPORTED_OPTIONS= aac audiofile flac iconv id3 libmikmod ogg -PKG_SUGGESTED_OPTIONS= aac audiofile flac iconv id3 libmikmod ogg +PKG_SUPPORTED_OPTIONS= aac audiofile flac iconv id3 libmikmod musepack ogg +PKG_SUGGESTED_OPTIONS= aac audiofile flac iconv id3 libmikmod musepack ogg .include "../../mk/bsd.options.mk" @@ -49,6 +49,14 @@ CONFIGURE_ARGS+= --with-libmikmod=${BUILDLINK_PREFIX.libmikmod} CONFIGURE_ARGS+= --disable-libmikmod .endif +.if !empty(PKG_OPTIONS:Mmusepack) +. include "../../audio/libmusepack/buildlink3.mk" +CONFIGURE_ENV+= mpcdec_prefix=${BUILDLINK_PREFIX.libmusepack} +CONFIGURE_ARGS+= --enable-mpc +.else +CONFIGURE_ARGS+= --disable-mpc +.endif + .if !empty(PKG_OPTIONS:Mogg) . include "../../audio/libvorbis/buildlink3.mk" CONFIGURE_ARGS+= --with-ogg=${BUILDLINK_PREFIX.libvorbis} |