Added an option "libsamplerate" to build with support for

audio/libsamplerate; it should enhance output quality while resampling.

It is currently disabled by default.
This commit is contained in:
khorben 2013-08-14 01:13:10 +00:00
parent 494d6f6138
commit f4c7a4c923
2 changed files with 13 additions and 1 deletions

View file

@ -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"

View file

@ -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