diff options
Diffstat (limited to 'audio/cmus/options.mk')
-rw-r--r-- | audio/cmus/options.mk | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/audio/cmus/options.mk b/audio/cmus/options.mk index 36570409404..dbb7e3931d2 100644 --- a/audio/cmus/options.mk +++ b/audio/cmus/options.mk @@ -1,8 +1,8 @@ -# $NetBSD: options.mk,v 1.13 2014/08/11 23:09:44 wiz Exp $ +# $NetBSD: options.mk,v 1.14 2014/08/18 09:34:49 gls Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.cmus PKG_SUPPORTED_OPTIONS= flac mad vorbis arts libao musepack faad wavpack pulseaudio -PKG_SUPPORTED_OPTIONS+= wide-curses ffmpeg +PKG_SUPPORTED_OPTIONS+= wide-curses ffmpeg opus jack PKG_OPTIONS_OPTIONAL_GROUPS= mod PKG_OPTIONS_GROUP.mod= modplug mikmod PKG_SUGGESTED_OPTIONS= flac libao mad modplug vorbis @@ -55,6 +55,16 @@ PLIST.pulseaudio= yes CONFIGURE_ARGS+= CONFIG_PULSE=n .endif +# JACK support +# +.if !empty(PKG_OPTIONS:Mjack) +.include "../../audio/jack/buildlink3.mk" +CONFIGURE_ARGS+= CONFIG_JACK=y +PLIST.jack= yes +.else +CONFIGURE_ARGS+= CONFIG_JACK=n +.endif + ### ### Codecs ### @@ -148,6 +158,16 @@ CONFIGURE_ARGS+= CONFIG_AAC=n CONFIGURE_ARGS+= CONFIG_MP4=n .endif +# Opus support +# +.if !empty(PKG_OPTIONS:Mopus) +.include "../../audio/opusfile/buildlink3.mk" +CONFIGURE_ARGS+= CONFIG_OPUS=y +PLIST.opus= yes +.else +CONFIGURE_ARGS+= CONFIG_OPUS=n +.endif + ### ### Wide curses support; otherwise, default to using narrow curses. ### |