summaryrefslogtreecommitdiff
path: root/audio/cmus/options.mk
diff options
context:
space:
mode:
authorahoka <ahoka>2010-03-01 02:58:26 +0000
committerahoka <ahoka>2010-03-01 02:58:26 +0000
commit36a0a7e136a36e3b4b0f6adc5f1b91d602aae6fe (patch)
tree7c87815068371d93ff1cc4771b566a18573bf828 /audio/cmus/options.mk
parente4dc52d2df4e5bac7b8d54ddc270c9367d6076a9 (diff)
downloadpkgsrc-36a0a7e136a36e3b4b0f6adc5f1b91d602aae6fe.tar.gz
Update to the 2.3.0 RC1 version.
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)