diff options
author | khorben <khorben@pkgsrc.org> | 2013-08-14 01:13:10 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2013-08-14 01:13:10 +0000 |
commit | 9fc4f6d0ef0816e58a90801b5bd60221ffb57485 (patch) | |
tree | 54d2275b549d10e1473b3a4b6e8483f4045ad8cf /audio/bmp-crossfade | |
parent | c30c05c7e0b768a694f93fffba9b478f32ca9f99 (diff) | |
download | pkgsrc-9fc4f6d0ef0816e58a90801b5bd60221ffb57485.tar.gz |
Added an option "libsamplerate" to build with support for
audio/libsamplerate; it should enhance output quality while resampling.
It is currently disabled by default.
Diffstat (limited to 'audio/bmp-crossfade')
-rw-r--r-- | audio/bmp-crossfade/Makefile | 4 | ||||
-rw-r--r-- | audio/bmp-crossfade/options.mk | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/audio/bmp-crossfade/Makefile b/audio/bmp-crossfade/Makefile index 7b581fcff7b..86404878faa 100644 --- a/audio/bmp-crossfade/Makefile +++ b/audio/bmp-crossfade/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2013/08/13 00:45:50 khorben Exp $ +# $NetBSD: Makefile,v 1.2 2013/08/14 01:13:10 khorben Exp $ # PKGNAME= bmp-crossfade-0.3.11 @@ -27,4 +27,6 @@ CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/bmp/Output CONFIGURE_ARGS+= --disable-oss .endif +.include "options.mk" + .include "../../mk/bsd.pkg.mk" diff --git a/audio/bmp-crossfade/options.mk b/audio/bmp-crossfade/options.mk new file mode 100644 index 00000000000..85ded42be18 --- /dev/null +++ b/audio/bmp-crossfade/options.mk @@ -0,0 +1,10 @@ +# $NetBSD: options.mk,v 1.1 2013/08/14 01:13:10 khorben Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.bmp-crossfade +PKG_SUPPORTED_OPTIONS= libsamplerate + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mlibsamplerate) +.include "../../audio/libsamplerate/buildlink3.mk" +.endif |