summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2013-08-14 01:13:10 +0000
committerkhorben <khorben@pkgsrc.org>2013-08-14 01:13:10 +0000
commitf4c7a4c9236c04b164576ef62521d179a4e8e616 (patch)
tree54d2275b549d10e1473b3a4b6e8483f4045ad8cf /audio
parent494d6f61385e2967ab48f8dba1b3e84fa6f477bf (diff)
downloadpkgsrc-f4c7a4c9236c04b164576ef62521d179a4e8e616.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')
-rw-r--r--audio/bmp-crossfade/Makefile4
-rw-r--r--audio/bmp-crossfade/options.mk10
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