summaryrefslogtreecommitdiff
path: root/audio/musicpd/options.mk
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2011-01-11 11:43:19 +0000
committerdrochner <drochner@pkgsrc.org>2011-01-11 11:43:19 +0000
commit36ee8ca5c86e43725f0f1ca9f5d5d6339018e4b4 (patch)
tree07eb16957d393ee66364f7a0e59e92e767d8da34 /audio/musicpd/options.mk
parent18db9f6227df93af20dc2c48276dcb63ca44325e (diff)
downloadpkgsrc-36ee8ca5c86e43725f0f1ca9f5d5d6339018e4b4.tar.gz
-add ffmpeg option, patch posted to pkgsrc-users by Pouya D. Tafti
-update to 0.15.15 changes: bugfixes
Diffstat (limited to 'audio/musicpd/options.mk')
-rw-r--r--audio/musicpd/options.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/audio/musicpd/options.mk b/audio/musicpd/options.mk
index 1805cd4e0f4..5097f209384 100644
--- a/audio/musicpd/options.mk
+++ b/audio/musicpd/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.13 2009/07/30 16:51:04 drochner Exp $
+# $NetBSD: options.mk,v 1.14 2011/01/11 11:43:19 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.musicpd
-PKG_SUPPORTED_OPTIONS= aac audiofile curl flac id3 libao jack libmikmod musepack ogg inet6 shout
+PKG_SUPPORTED_OPTIONS= aac audiofile curl flac id3 libao jack libmikmod musepack ogg inet6 shout ffmpeg
PKG_SUGGESTED_OPTIONS= aac audiofile curl flac id3 libao musepack ogg
.include "../../mk/bsd.options.mk"
@@ -93,3 +93,10 @@ CONFIGURE_ARGS+= --enable-shout
.else
CONFIGURE_ARGS+= --disable-shout
.endif
+
+.if !empty(PKG_OPTIONS:Mffmpeg)
+. include "../../multimedia/ffmpeg/buildlink3.mk"
+CONFIGURE_ARGS+= --with-ffmpeg=${BUILDLINK_PREFIX.ffmpeg}
+.else
+CONFIGURE_ARGS+= --disable-ffmpeg
+.endif