Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio audio: Add sndfile-tools



details:   https://anonhg.NetBSD.org/pkgsrc/rev/144ebdd98289
branches:  trunk
changeset: 431095:144ebdd98289
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat May 09 09:55:31 2020 +0000

description:
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:

 audio/Makefile                 |   3 ++-
 audio/sndfile-tools/DESCR      |  11 +++++++++++
 audio/sndfile-tools/Makefile   |  21 +++++++++++++++++++++
 audio/sndfile-tools/PLIST      |  16 ++++++++++++++++
 audio/sndfile-tools/distinfo   |   6 ++++++
 audio/sndfile-tools/options.mk |  15 +++++++++++++++
 6 files changed, 71 insertions(+), 1 deletions(-)

diffs (106 lines):

diff -r b0a72f65473c -r 144ebdd98289 audio/Makefile
--- a/audio/Makefile    Sat May 09 08:59:13 2020 +0000
+++ b/audio/Makefile    Sat May 09 09:55:31 2020 +0000
@@ -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+=       sidplay
 SUBDIR+=       sidplay2
 SUBDIR+=       snd
+SUBDIR+=       sndfile-tools
 SUBDIR+=       solfege
 SUBDIR+=       sonata
 SUBDIR+=       sound-juicer
diff -r b0a72f65473c -r 144ebdd98289 audio/sndfile-tools/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/sndfile-tools/DESCR Sat May 09 09:55:31 2020 +0000
@@ -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 -r b0a72f65473c -r 144ebdd98289 audio/sndfile-tools/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/sndfile-tools/Makefile      Sat May 09 09:55:31 2020 +0000
@@ -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@localhost
+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 -r b0a72f65473c -r 144ebdd98289 audio/sndfile-tools/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/sndfile-tools/PLIST Sat May 09 09:55:31 2020 +0000
@@ -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 -r b0a72f65473c -r 144ebdd98289 audio/sndfile-tools/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/sndfile-tools/distinfo      Sat May 09 09:55:31 2020 +0000
@@ -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 -r b0a72f65473c -r 144ebdd98289 audio/sndfile-tools/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/sndfile-tools/options.mk    Sat May 09 09:55:31 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index