diff options
author | nia <nia@pkgsrc.org> | 2020-05-09 09:55:31 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-05-09 09:55:31 +0000 |
commit | 9156e2bd818c5a3827b980e39e82610e45cee56b (patch) | |
tree | d7c3382fa3dfaf1ea5bfdade2e68423c52db5cb8 /audio | |
parent | a61cfd3e40852ed686f5ca7dba2d1dc838a28aa8 (diff) | |
download | pkgsrc-9156e2bd818c5a3827b980e39e82610e45cee56b.tar.gz |
audio: Add sndfile-tools
sndfile-tools is a small collection of programs that use libsndfile and
other libraries to do useful things.
The collection currently includes the following programs:
- sndfile-generate-chirp
- sndfile-jackplay
- sndfile-mix-to-mono
- sndfile-resample
- sndfile-spectrogram
- sndfile-waveform
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 3 | ||||
-rw-r--r-- | audio/sndfile-tools/DESCR | 11 | ||||
-rw-r--r-- | audio/sndfile-tools/Makefile | 21 | ||||
-rw-r--r-- | audio/sndfile-tools/PLIST | 16 | ||||
-rw-r--r-- | audio/sndfile-tools/distinfo | 6 | ||||
-rw-r--r-- | audio/sndfile-tools/options.mk | 15 |
6 files changed, 71 insertions, 1 deletions
diff --git a/audio/Makefile b/audio/Makefile index 7d0ef989b75..14145142c62 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.597 2020/04/24 08:43:08 nia Exp $ +# $NetBSD: Makefile,v 1.598 2020/05/09 09:55:31 nia Exp $ # COMMENT= Audio tools @@ -414,6 +414,7 @@ SUBDIR+= shorten SUBDIR+= sidplay SUBDIR+= sidplay2 SUBDIR+= snd +SUBDIR+= sndfile-tools SUBDIR+= solfege SUBDIR+= sonata SUBDIR+= sound-juicer diff --git a/audio/sndfile-tools/DESCR b/audio/sndfile-tools/DESCR new file mode 100644 index 00000000000..31e0c16e2b1 --- /dev/null +++ b/audio/sndfile-tools/DESCR @@ -0,0 +1,11 @@ +sndfile-tools is a small collection of programs that use libsndfile and +other libraries to do useful things. + +The collection currently includes the following programs: + +- sndfile-generate-chirp +- sndfile-jackplay +- sndfile-mix-to-mono +- sndfile-resample +- sndfile-spectrogram +- sndfile-waveform diff --git a/audio/sndfile-tools/Makefile b/audio/sndfile-tools/Makefile new file mode 100644 index 00000000000..398aa24327e --- /dev/null +++ b/audio/sndfile-tools/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2020/05/09 09:55:32 nia Exp $ + +DISTNAME= sndfile-tools-1.04 +CATEGORIES= audio +MASTER_SITES= http://www.mega-nerd.com/libsndfile/files/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://mega-nerd.com/libsndfile/tools/ +COMMENT= Small collection of programs that use libsndfile +LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 + +GNU_CONFIGURE= yes +USE_TOOLS+= pkg-config + +.include "options.mk" +.include "../../audio/libsamplerate/buildlink3.mk" +.include "../../audio/libsndfile/buildlink3.mk" +.include "../../graphics/cairo/buildlink3.mk" +.include "../../math/fftw/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/sndfile-tools/PLIST b/audio/sndfile-tools/PLIST new file mode 100644 index 00000000000..3bc48d283c5 --- /dev/null +++ b/audio/sndfile-tools/PLIST @@ -0,0 +1,16 @@ +@comment $NetBSD: PLIST,v 1.1 2020/05/09 09:55:32 nia Exp $ +bin/sndfile-generate-chirp +${PLIST.jack}bin/sndfile-jackplay +bin/sndfile-mix-to-mono +bin/sndfile-resample +bin/sndfile-spectrogram +bin/sndfile-waveform +man/man1/sndfile-generate-chirp.1 +man/man1/sndfile-jackplay.1 +man/man1/sndfile-mix-to-mono.1 +man/man1/sndfile-resample.1 +man/man1/sndfile-spectrogram.1 +share/doc/sndfile-tools/index.html +share/doc/sndfile-tools/sweep.png +share/doc/sndfile-tools/wave-example.png +share/doc/sndfile-tools/wave-sweep.png diff --git a/audio/sndfile-tools/distinfo b/audio/sndfile-tools/distinfo new file mode 100644 index 00000000000..47a85e9fd87 --- /dev/null +++ b/audio/sndfile-tools/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/05/09 09:55:32 nia Exp $ + +SHA1 (sndfile-tools-1.04.tar.bz2) = bd9c90b8b9dfbfdc3f9330a77f9d310e6a8cc46f +RMD160 (sndfile-tools-1.04.tar.bz2) = d5b714668aea20d7da328862b11a023f1dbfcaae +SHA512 (sndfile-tools-1.04.tar.bz2) = b93fd74386960c986031fd1652335bc34243bd785ccf31480b82f4d76ef86760ca53173aace273a635db70db46c0c1c4066328aef9c21c01c6e76346dbe56390 +Size (sndfile-tools-1.04.tar.bz2) = 715692 bytes diff --git a/audio/sndfile-tools/options.mk b/audio/sndfile-tools/options.mk new file mode 100644 index 00000000000..edd34169209 --- /dev/null +++ b/audio/sndfile-tools/options.mk @@ -0,0 +1,15 @@ +# $NetBSD: options.mk,v 1.1 2020/05/09 09:55:32 nia Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.sndfile-tools +PKG_SUPPORTED_OPTIONS= jack +PKG_SUGGESTED_OPTIONS= jack + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= jack +.if !empty(PKG_OPTIONS:Mjack) +PLIST.jack= yes +. include "../../audio/jack/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-jack +.endif |