summaryrefslogtreecommitdiff
path: root/audio/cmus/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'audio/cmus/options.mk')
-rw-r--r--audio/cmus/options.mk16
1 files changed, 13 insertions, 3 deletions
diff --git a/audio/cmus/options.mk b/audio/cmus/options.mk
index 5159ff04b6f..e408395304c 100644
--- a/audio/cmus/options.mk
+++ b/audio/cmus/options.mk
@@ -1,12 +1,12 @@
-# $NetBSD: options.mk,v 1.7 2009/01/01 21:46:58 hubertf Exp $
+# $NetBSD: options.mk,v 1.8 2010/03/01 02:58:26 ahoka Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cmus
PKG_SUPPORTED_OPTIONS= flac mad vorbis arts libao mpcdec faad wavpack #alsa
-PKG_SUPPORTED_OPTIONS+= wide-curses
+PKG_SUPPORTED_OPTIONS+= wide-curses ffmpeg
PKG_OPTIONS_OPTIONAL_GROUPS= mod
PKG_OPTIONS_GROUP.mod= modplug mikmod
PKG_SUGGESTED_OPTIONS= flac mad libao vorbis modplug
-PKG_OPTIONS_LEGACY_OPTS=ao:libao
+PKG_OPTIONS_LEGACY_OPTS= ao:libao
.include "../../mk/bsd.options.mk"
@@ -98,6 +98,16 @@ PLIST.wavpack= yes
CONFIGURE_ARGS+= CONFIG_WAVPACK=n
.endif
+# FFMPEG support
+#
+.if !empty(PKG_OPTIONS:Mffmpeg)
+.include "../../multimedia/ffmpeg/buildlink3.mk"
+CONFIGURE_ARGS+= CONFIG_FFMPEG=y
+PLIST.ffmpeg= yes
+.else
+CONFIGURE_ARGS+= CONFIG_FFMPEG=n
+.endif
+
# modplay support
#
.if !empty(PKG_OPTIONS:Mmikmod)