pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio



Module Name:    pkgsrc
Committed By:   js
Date:           Fri Sep 26 18:29:29 UTC 2025

Modified Files:
        pkgsrc/audio: Makefile
Added Files:
        pkgsrc/audio/iir1: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Add audio/iir1

An infinite impulse response (IIR) filter library for Linux, Mac OSX and
Windows which implements Butterworth, RBJ, Chebychev filters and can
easily import coefficients generated by Python (scipy).

The filter processes the data sample by sample for realtime processing.

It uses templates to allocate the required memory so that it can run
without any malloc / new commands. Memory is allocated at compile time
so that there is never the risk of memory leaks.

All realtime filter code is in the header files which guarantees
efficient integration into the main program and the compiler can
optimise both filter code and main program at the same time.


To generate a diff of this commit:
cvs rdiff -u -r1.713 -r1.714 pkgsrc/audio/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/iir1/DESCR pkgsrc/audio/iir1/Makefile \
    pkgsrc/audio/iir1/PLIST pkgsrc/audio/iir1/buildlink3.mk \
    pkgsrc/audio/iir1/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/Makefile
diff -u pkgsrc/audio/Makefile:1.713 pkgsrc/audio/Makefile:1.714
--- pkgsrc/audio/Makefile:1.713 Wed Sep  3 14:26:37 2025
+++ pkgsrc/audio/Makefile       Fri Sep 26 18:29:29 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.713 2025/09/03 14:26:37 ryoon Exp $
+# $NetBSD: Makefile,v 1.714 2025/09/26 18:29:29 js Exp $
 #
 
 COMMENT=       Audio tools, players, and libraries
@@ -200,6 +200,7 @@ SUBDIR+=    id3lib
 SUBDIR+=       id3ren
 SUBDIR+=       id3v2
 SUBDIR+=       ifp-line
+SUBDIR+=       iir1
 SUBDIR+=       jack
 SUBDIR+=       jack-keyboard
 SUBDIR+=       jack_umidi

Added files:

Index: pkgsrc/audio/iir1/DESCR
diff -u /dev/null pkgsrc/audio/iir1/DESCR:1.1
--- /dev/null   Fri Sep 26 18:29:29 2025
+++ pkgsrc/audio/iir1/DESCR     Fri Sep 26 18:29:29 2025
@@ -0,0 +1,13 @@
+An infinite impulse response (IIR) filter library for Linux, Mac OSX and Windows
+which implements Butterworth, RBJ, Chebychev filters and can easily import
+coefficients generated by Python (scipy).
+ 
+The filter processes the data sample by sample for realtime processing.
+ 
+It uses templates to allocate the required memory so that it can run without any
+malloc / new commands. Memory is allocated at compile time so that there is
+never the risk of memory leaks.
+ 
+All realtime filter code is in the header files which guarantees efficient
+integration into the main program and the compiler can optimise both filter code
+and main program at the same time.
Index: pkgsrc/audio/iir1/Makefile
diff -u /dev/null pkgsrc/audio/iir1/Makefile:1.1
--- /dev/null   Fri Sep 26 18:29:29 2025
+++ pkgsrc/audio/iir1/Makefile  Fri Sep 26 18:29:29 2025
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2025/09/26 18:29:29 js Exp $
+
+DISTNAME=      iir1-1.9.5
+CATEGORIES=    audio
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=berndporr/}
+GITHUB_TAG=    ${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://berndporr.github.io/iir1/
+COMMENT=       DSP IIR Realtime C++ filter library
+LICENSE=       mit
+
+USE_LANGUAGES= c c++
+
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/iir1/PLIST
diff -u /dev/null pkgsrc/audio/iir1/PLIST:1.1
--- /dev/null   Fri Sep 26 18:29:29 2025
+++ pkgsrc/audio/iir1/PLIST     Fri Sep 26 18:29:29 2025
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2025/09/26 18:29:29 js Exp $
+include/Iir.h
+include/iir/Biquad.h
+include/iir/Butterworth.h
+include/iir/Cascade.h
+include/iir/ChebyshevI.h
+include/iir/ChebyshevII.h
+include/iir/Common.h
+include/iir/Custom.h
+include/iir/Layout.h
+include/iir/MathSupplement.h
+include/iir/PoleFilter.h
+include/iir/RBJ.h
+include/iir/State.h
+include/iir/Types.h
+lib/cmake/iir/iirConfig.cmake
+lib/cmake/iir/iirConfigVersion.cmake
+lib/cmake/iir/iirTargets-relwithdebinfo.cmake
+lib/cmake/iir/iirTargets.cmake
+lib/libiir.${PKGVERSION}.dylib
+lib/libiir.1.dylib
+lib/libiir.dylib
+lib/libiir_static.a
+lib/pkgconfig/iir.pc
Index: pkgsrc/audio/iir1/buildlink3.mk
diff -u /dev/null pkgsrc/audio/iir1/buildlink3.mk:1.1
--- /dev/null   Fri Sep 26 18:29:29 2025
+++ pkgsrc/audio/iir1/buildlink3.mk     Fri Sep 26 18:29:29 2025
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2025/09/26 18:29:29 js Exp $
+
+BUILDLINK_TREE+=       iir1
+
+.if !defined(IIR1_BUILDLINK3_MK)
+IIR1_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.iir1+=   iir1>=1.9.5
+BUILDLINK_ABI_DEPENDS.iir1+=   iir1>=1.9.5
+BUILDLINK_PKGSRCDIR.iir1?=     ../../audio/iir1
+.endif
+
+BUILDLINK_TREE+=       -iir1
Index: pkgsrc/audio/iir1/distinfo
diff -u /dev/null pkgsrc/audio/iir1/distinfo:1.1
--- /dev/null   Fri Sep 26 18:29:29 2025
+++ pkgsrc/audio/iir1/distinfo  Fri Sep 26 18:29:29 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/09/26 18:29:29 js Exp $
+
+BLAKE2s (iir1-1.9.5.tar.gz) = 569269e6320180c11b908c0d3d4453975d6d3045c03cdcbb30b47696800afb98
+SHA512 (iir1-1.9.5.tar.gz) = 2b0658a621cdfb57796cf2fea5411975b442af4af267bce2f613ae53f43572f208fdea59d7ea0178e9984e311c406f289166789aa423505ac8ed2b889ddc9f64
+Size (iir1-1.9.5.tar.gz) = 2115864 bytes



Home | Main Index | Thread Index | Old Index