summaryrefslogtreecommitdiff
path: root/audio/musicpd/options.mk
diff options
context:
space:
mode:
authorcbiere <cbiere>2007-01-31 21:35:11 +0000
committercbiere <cbiere>2007-01-31 21:35:11 +0000
commit00ba47e6ba5c18f552d3c8fc70c8ed157f68a881 (patch)
tree4f44152e65f142a7f173e2fe7324aa0a7f658420 /audio/musicpd/options.mk
parent3956356c1bcfebda5d53cfd9d027f0470f86ee71 (diff)
downloadpkgsrc-00ba47e6ba5c18f552d3c8fc70c8ed157f68a881.tar.gz
Added package option "musepack"; enabled by default.
Diffstat (limited to 'audio/musicpd/options.mk')
-rw-r--r--audio/musicpd/options.mk14
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}