diff options
author | bjs <bjs@pkgsrc.org> | 2008-04-08 01:52:41 +0000 |
---|---|---|
committer | bjs <bjs@pkgsrc.org> | 2008-04-08 01:52:41 +0000 |
commit | 0e49fc8d222cd1f5eb6dfdb8b0d1682053dd52ac (patch) | |
tree | 71b66ef10f847e42af7c80d7a0ba79f05b9349c6 /audio/moc-devel/options.mk | |
parent | 5eeefafcbcfaa310beb3fc59890cba207ef520c7 (diff) | |
download | pkgsrc-0e49fc8d222cd1f5eb6dfdb8b0d1682053dd52ac.tar.gz |
Add an option to use the new jack-devel package. Bump revision.
Diffstat (limited to 'audio/moc-devel/options.mk')
-rw-r--r-- | audio/moc-devel/options.mk | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/audio/moc-devel/options.mk b/audio/moc-devel/options.mk index 8460c4d344f..b5437013bd2 100644 --- a/audio/moc-devel/options.mk +++ b/audio/moc-devel/options.mk @@ -1,20 +1,35 @@ -# $NetBSD: options.mk,v 1.1.1.1 2008/04/07 16:10:37 bjs Exp $ +# $NetBSD: options.mk,v 1.2 2008/04/08 01:52:41 bjs Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.moc -PKG_SUPPORTED_OPTIONS= sndfile flac vorbis speex curl samplerate +PKG_SUPPORTED_OPTIONS= sndfile flac vorbis speex curl samplerate jack PKG_SUGGESTED_OPTIONS= sndfile flac vorbis curl .include "../../mk/bsd.options.mk" +.if !empty(PKG_OPTIONS:Mjack) +CONFIGURE_ARGS+= --with-jack +### +### Resampling support is usually required with jack. +### +. include "../../audio/jack-devel/buildlink3.mk" +. if empty(PKG_OPTIONS:Msamplerate) +PKG_OPTIONS+= samplerate +. endif +.else +CONFIGURE_ARGS+= --without-jack +.endif + .if !empty(PKG_OPTIONS:Msamplerate) CONFIGURE_ARGS+= --with-samplerate +. if empty(PKG_OPTIONS:Msndfile) PKG_OPTIONS+= sndfile +. endif . include "../../audio/libsamplerate/buildlink3.mk" .else CONFIGURE_ARGS+= --without-samplerate .endif -.if !empty(PKG_OPTIONS:Msndfile) || !empty(PKG_OPTIONS:Msamplerate) +.if !empty(PKG_OPTIONS:Msndfile) PLIST_SUBST+= SNDFILE= CONFIGURE_ARGS+= --with-sndfile . include "../../audio/libsndfile/buildlink3.mk" |