From f4c7a4c9236c04b164576ef62521d179a4e8e616 Mon Sep 17 00:00:00 2001 From: khorben Date: Wed, 14 Aug 2013 01:13:10 +0000 Subject: Added an option "libsamplerate" to build with support for audio/libsamplerate; it should enhance output quality while resampling. It is currently disabled by default. --- audio/bmp-crossfade/Makefile | 4 +++- audio/bmp-crossfade/options.mk | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 audio/bmp-crossfade/options.mk (limited to 'audio/bmp-crossfade') 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 -- cgit v1.2.3