pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/ladspa ladspa: update to 1.17.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23ba2d7c1e24
branches:  trunk
changeset: 768812:23ba2d7c1e24
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Nov 01 20:30:27 2021 +0000

description:
ladspa: update to 1.17.

Version 1.16 - 3 Sep 2021


  Change applyplugin to use libsndfile.

  Fix URL in documentation.

  Fix so delay can handle a delay of zero.



Version 1.17 - 9 Sep 2021


  Simplify, and hopefully accelerate, clip checking code in applyplugin.

  Improved usage message.

diffstat:

 audio/ladspa/Makefile                        |   5 +++--
 audio/ladspa/distinfo                        |  12 ++++++------
 audio/ladspa/patches/patch-src_Makefile      |  21 ++++++++++-----------
 audio/ladspa/patches/patch-src_applyplugin.c |   6 +++---
 4 files changed, 22 insertions(+), 22 deletions(-)

diffs (119 lines):

diff -r 5bde54d2374e -r 23ba2d7c1e24 audio/ladspa/Makefile
--- a/audio/ladspa/Makefile     Mon Nov 01 20:06:56 2021 +0000
+++ b/audio/ladspa/Makefile     Mon Nov 01 20:30:27 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2019/10/05 17:39:38 nia Exp $
+# $NetBSD: Makefile,v 1.17 2021/11/01 20:30:27 wiz Exp $
 
-DISTNAME=      ladspa_sdk_1.15
+DISTNAME=      ladspa_sdk_1.17
 PKGNAME=       ${DISTNAME:S/_sdk_/-/}
 CATEGORIES=    audio
 MASTER_SITES=  https://www.ladspa.org/download/
@@ -32,6 +32,7 @@
        ${LIBTOOL} --mode=install ${INSTALL_DATA} ${WRKSRC}/src/ladspa.h ${DESTDIR}${PREFIX}/include
        ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${DESTDIR}${PREFIX}/bin
 
+.include "../../audio/libsndfile/buildlink3.mk"
 .include "../../mk/dlopen.buildlink3.mk"
 LDFLAGS+=      ${BUILDLINK_LDADD.dl}
 .include "../../mk/bsd.pkg.mk"
diff -r 5bde54d2374e -r 23ba2d7c1e24 audio/ladspa/distinfo
--- a/audio/ladspa/distinfo     Mon Nov 01 20:06:56 2021 +0000
+++ b/audio/ladspa/distinfo     Mon Nov 01 20:30:27 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.18 2021/10/26 09:59:03 nia Exp $
+$NetBSD: distinfo,v 1.19 2021/11/01 20:30:27 wiz Exp $
 
-BLAKE2s (ladspa_sdk_1.15.tgz) = d4711d2dd5a2b82a64cbb533cb18b8c7532539ca822b29f1f7d4077b6725c54f
-SHA512 (ladspa_sdk_1.15.tgz) = a521622e23d988284244003e4ccfc3b42f6ddc7944cb00e7949b87e09d7f39a0cbb64b6d8b5a5af0a5ccf7179f88815416a88f02d3912957167e54b74accfc65
-Size (ladspa_sdk_1.15.tgz) = 71179 bytes
-SHA1 (patch-src_Makefile) = 9b5f12cdb32b88e9d0354ddc4f7539ca8da95eb0
-SHA1 (patch-src_applyplugin.c) = 88127403707150d8646f85a7a5d6a146c812b34e
+BLAKE2s (ladspa_sdk_1.17.tgz) = 9876c59c12ab9d15fab0fd6d9771d9a9e3b47af1fa286cdaf987d5e778ea0002
+SHA512 (ladspa_sdk_1.17.tgz) = 37f94aa52b5a2f8709528989dea289eb01342f3bcb9e85d0f4829ddd9d90b2934a113db11100f09375a50f6612122b78156fec916f2c78a22406253d5cb394c7
+Size (ladspa_sdk_1.17.tgz) = 71052 bytes
+SHA1 (patch-src_Makefile) = 7ec30356b85414d90194ad90b1ac50d1840aa947
+SHA1 (patch-src_applyplugin.c) = 0a3fb3f02d46655d913249e8f6f81bad04b6e4bc
diff -r 5bde54d2374e -r 23ba2d7c1e24 audio/ladspa/patches/patch-src_Makefile
--- a/audio/ladspa/patches/patch-src_Makefile   Mon Nov 01 20:06:56 2021 +0000
+++ b/audio/ladspa/patches/patch-src_Makefile   Mon Nov 01 20:30:27 2021 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-src_Makefile,v 1.1 2019/10/05 17:39:38 nia Exp $
+$NetBSD: patch-src_Makefile,v 1.2 2021/11/01 20:30:28 wiz Exp $
 
 Libtool support.
 
---- src/Makefile.orig  2019-01-06 12:27:52.000000000 +0000
+--- src/Makefile.orig  2021-09-10 08:50:46.000000000 +0000
 +++ src/Makefile
 @@ -4,9 +4,9 @@
  #
@@ -17,23 +17,22 @@
  
  ###############################################################################
  #
-@@ -14,11 +14,12 @@ INSTALL_BINARY_DIR =       /usr/bin/
+@@ -14,11 +14,11 @@ INSTALL_BINARY_DIR =       /usr/bin/
  #
  
  INCLUDES      =       -I.
--LIBRARIES     =       -ldl -lm
+-LIBRARIES     =       -ldl -lm -lsndfile
 -CFLAGS                =       $(INCLUDES) -Wall -Werror -O2 -fPIC             \
-+LIBRARIES     +=      -lm
-+CFLAGS                +=      $(INCLUDES) -Wall -fPIC                         \
-+                      -DDEFAULT_LADSPA_PATH=$(INSTALL_PLUGINS_DIR)
-+CXXFLAGS      +=      $(INCLUDES) -Wall -fPIC                         \
++LIBRARIES     =       -lm -lsndfile
++CFLAGS                =       $(INCLUDES) -Wall -fPIC                 \
                        -DDEFAULT_LADSPA_PATH=$(INSTALL_PLUGINS_DIR)
  BINFLAGS      =       -fPIE -pie
 -CXXFLAGS      =       $(CFLAGS)
++CXXFLAGS      +=      $(CFLAGS)
  PLUGINS               =       ../plugins/amp.so                               \
                        ../plugins/delay.so                             \
                        ../plugins/filter.so                            \
-@@ -27,35 +28,19 @@ PLUGINS            =       ../plugins/amp.so                               \
+@@ -27,35 +27,19 @@ PLUGINS            =       ../plugins/amp.so                               \
  PROGRAMS      =       ../bin/analyseplugin                            \
                        ../bin/applyplugin                              \
                        ../bin/listplugins
@@ -76,7 +75,7 @@
  
  ###############################################################################
  #
-@@ -84,19 +69,19 @@ install:   targets
+@@ -84,19 +68,19 @@ install:   targets
  
  /tmp/test.wav:        targets ../snd/noise.wav
        ../bin/listplugins
@@ -109,7 +108,7 @@
  
  targets:      $(PLUGINS) $(PROGRAMS)
  
-@@ -105,23 +90,32 @@ targets:  $(PLUGINS) $(PROGRAMS)
+@@ -105,23 +89,32 @@ targets:  $(PLUGINS) $(PROGRAMS)
  # PROGRAMS
  #
  
diff -r 5bde54d2374e -r 23ba2d7c1e24 audio/ladspa/patches/patch-src_applyplugin.c
--- a/audio/ladspa/patches/patch-src_applyplugin.c      Mon Nov 01 20:06:56 2021 +0000
+++ b/audio/ladspa/patches/patch-src_applyplugin.c      Mon Nov 01 20:30:27 2021 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-src_applyplugin.c,v 1.1 2019/10/05 17:39:38 nia Exp $
+$NetBSD: patch-src_applyplugin.c,v 1.2 2021/11/01 20:30:28 wiz Exp $
 
 Endian support for SunOS and macOS.
 
---- src/applyplugin.c.orig     2019-01-06 12:27:52.000000000 +0000
+--- src/applyplugin.c.orig     2021-09-10 08:50:46.000000000 +0000
 +++ src/applyplugin.c
 @@ -6,7 +6,19 @@
  /*****************************************************************************/
@@ -24,4 +24,4 @@
 +#endif
  #include <errno.h>
  #include <math.h>
- #include <stdlib.h>
+ #include <sndfile.h>



Home | Main Index | Thread Index | Old Index