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 | c9dcc6b710b8f58c6b2e14546d914e128525a52b (patch) | |
tree | 71b66ef10f847e42af7c80d7a0ba79f05b9349c6 | |
parent | 30c497585f2f574bf018ebf6c6460a40ab67c799 (diff) | |
download | pkgsrc-c9dcc6b710b8f58c6b2e14546d914e128525a52b.tar.gz |
Add an option to use the new jack-devel package. Bump revision.
-rw-r--r-- | audio/moc-devel/Makefile | 3 | ||||
-rw-r--r-- | audio/moc-devel/options.mk | 21 |
2 files changed, 20 insertions, 4 deletions
diff --git a/audio/moc-devel/Makefile b/audio/moc-devel/Makefile index d5a4df79cb7..02d195c70da 100644 --- a/audio/moc-devel/Makefile +++ b/audio/moc-devel/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/04/07 16:10:37 bjs Exp $ +# $NetBSD: Makefile,v 1.2 2008/04/08 01:52:41 bjs Exp $ DISTNAME= moc-2.5.0-alpha3 PKGNAME= ${DISTNAME:S/-alpha/./:moc%=moc-devel%} +PKGREVISION= 1 CATEGORIES= audio MASTER_SITES= ftp://ftp.daper.net/pub/soft/moc/unstable/ EXTRACT_SUFX= .tar.bz2 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" |