On Sun, May 21, 2023 at 09:24:09PM +0200, Raphael Graf wrote:
> There are many changes since 1.8.2, here is the full Changelog:
> https://github.com/breakfastquay/rubberband/blob/default/CHANGELOG
> 
> The tests are now enabled and pass (on amd64).
> 
> There is a command-line utility which can be used for testing, for example:
> $ rubberband --time 0.5 input.wav output.wav
> 
> rubberband is currently used by audio/hydrogen. It would be nice to enable it 
> in
> mpv and ffmpeg in the future.
> 
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/audio/rubberband/Makefile,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 Makefile
> --- Makefile  11 Mar 2022 18:20:30 -0000      1.3
> +++ Makefile  21 May 2023 19:18:03 -0000
> @@ -1,9 +1,9 @@
>  COMMENT =            audio time-stretching and pitch-shifting library
>  
> -DISTNAME =           rubberband-1.8.2
> +DISTNAME =           rubberband-3.2.1
>  EXTRACT_SUFX =               .tar.bz2
>  
> -SHARED_LIBS =                rubberband 0.0
> +SHARED_LIBS =                rubberband 0.1

Committed with a major bump instead as /usr/src/lib/check_sym reports
removed dynamic exports and changed struct sizes.

Rest looks great, tests pass, works, thanks.

>  
>  CATEGORIES =         audio
>  HOMEPAGE =           https://breakfastquay.com/rubberband
> @@ -14,23 +14,26 @@ PERMIT_PACKAGE =  Yes
>  WANTLIB =            ${COMPILER_LIBCXX}
>  WANTLIB +=           c fftw3 m pthread samplerate sndfile vamp-sdk
>  
> -COMPILER =           base-clang ports-gcc base-gcc
> +# C++11
> +COMPILER =           base-clang ports-gcc
>  
>  MASTER_SITES =               https://breakfastquay.com/files/releases/
>  
> +MODULES =               devel/meson
> +
>  LIB_DEPENDS =                audio/libsamplerate \
>                       audio/libsndfile \
>                       audio/vamp-plugin-sdk \
>                       math/fftw3
>  
> -BUILD_DEPENDS =              audio/ladspa
> -
> -USE_GMAKE =          Yes
> -CONFIGURE_STYLE =    gnu
> -CONFIGURE_ENV =      CPPFLAGS="-I${LOCALBASE}/include"
> -MAKE_FLAGS =         DYNAMIC_FULL_VERSION=${LIBrubberband_VERSION} \
> -                     DYNAMIC_ABI_VERSION=${LIBrubberband_VERSION}
> -
> -NO_TEST =            Yes
> +BUILD_DEPENDS =              audio/ladspa \
> +                     audio/lv2 \
> +                     devel/boost
> +
> +CONFIGURE_ENV =      CPPFLAGS="-I${LOCALBASE}/include" \
> +                     LDFLAGS="-L${LOCALBASE}/lib -lboost_unit_test_framework"
> +CONFIGURE_ARGS =     -Djni=disabled \
> +                     -Dfft=fftw \
> +                     -Dresampler=libsamplerate
>  
>  .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/audio/rubberband/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 distinfo
> --- distinfo  6 Jun 2019 12:04:20 -0000       1.1.1.1
> +++ distinfo  21 May 2023 19:18:03 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (rubberband-1.8.2.tar.bz2) = 
> hr7Qa3EVtkRB0yrlNjT8wFOaULm2SO+HRD+TZ4L2w8o=
> -SIZE (rubberband-1.8.2.tar.bz2) = 182232
> +SHA256 (rubberband-3.2.1.tar.bz2) = 
> gu2s0MUL/lamqF2x/NTKM0aUD/4ChD/FD4uS+ZqX0XI=
> +SIZE (rubberband-3.2.1.tar.bz2) = 221756
> Index: patches/patch-Makefile_in
> ===================================================================
> RCS file: patches/patch-Makefile_in
> diff -N patches/patch-Makefile_in
> --- patches/patch-Makefile_in 11 Mar 2022 18:20:30 -0000      1.2
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,13 +0,0 @@
> -Index: Makefile.in
> ---- Makefile.in.orig
> -+++ Makefile.in
> -@@ -181,9 +181,6 @@ install: all
> -     rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION)
> -     rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION)
> -     cp $(DYNAMIC_TARGET) 
> $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION)
> --    ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) 
> $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_ABI_VERSION)
> --    ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) 
> $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION)
> --    cp -f $(JNI_TARGET) 
> $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION)
> -     cp $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
> -     cp vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR)
> -     cp $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR)
> Index: patches/patch-src_StretcherImpl_cpp
> ===================================================================
> RCS file: patches/patch-src_StretcherImpl_cpp
> diff -N patches/patch-src_StretcherImpl_cpp
> --- patches/patch-src_StretcherImpl_cpp       11 Mar 2022 18:20:30 -0000      
> 1.2
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,11 +0,0 @@
> ---- src/StretcherImpl.cpp.orig       Sat Mar 26 19:39:02 2016
> -+++ src/StretcherImpl.cpp    Sat Mar 26 19:39:23 2016
> -@@ -38,7 +38,7 @@
> - #include "base/Profiler.h"
> - 
> - #ifndef _WIN32
> --#include <alloca.h>
> -+#include <stdlib.h> /* alloca() */
> - #endif
> - 
> - #include <cassert>
> Index: patches/patch-src_StretcherProcess_cpp
> ===================================================================
> RCS file: patches/patch-src_StretcherProcess_cpp
> diff -N patches/patch-src_StretcherProcess_cpp
> --- patches/patch-src_StretcherProcess_cpp    11 Mar 2022 18:20:30 -0000      
> 1.2
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,11 +0,0 @@
> ---- src/StretcherProcess.cpp.orig    Sat Mar 26 19:37:30 2016
> -+++ src/StretcherProcess.cpp Sat Mar 26 19:37:42 2016
> -@@ -35,7 +35,7 @@
> - #include "system/VectorOps.h"
> - 
> - #ifndef _WIN32
> --#include <alloca.h>
> -+#include <stdlib.h> /* alloca() */
> - #endif
> - 
> - #include <cassert>
> Index: patches/patch-src_system_sysutils_h
> ===================================================================
> RCS file: patches/patch-src_system_sysutils_h
> diff -N patches/patch-src_system_sysutils_h
> --- patches/patch-src_system_sysutils_h       11 Mar 2022 18:20:30 -0000      
> 1.2
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,12 +0,0 @@
> -Index: src/system/sysutils.h
> ---- src/system/sysutils.h.orig
> -+++ src/system/sysutils.h
> -@@ -47,7 +47,7 @@
> - #include <malloc.h>
> - #else
> - #ifndef __MSVC__
> --#include <alloca.h>
> -+#include <stdlib.h> /* alloca() */
> - #endif
> - #endif
> - 
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/audio/rubberband/pkg/PLIST,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 PLIST
> --- pkg/PLIST 11 Mar 2022 18:20:30 -0000      1.2
> +++ pkg/PLIST 21 May 2023 19:18:03 -0000
> @@ -1,15 +1,21 @@
>  @bin bin/rubberband
> +@bin bin/rubberband-r3
>  include/rubberband/
>  include/rubberband/RubberBandStretcher.h
>  include/rubberband/rubberband-c.h
>  lib/ladspa/
>  lib/ladspa/ladspa-rubberband.cat
> -lib/ladspa/ladspa-rubberband.so
> -lib/librubberband.a
> +@so lib/ladspa/ladspa-rubberband.so
> +@static-lib lib/librubberband.a
>  @lib lib/librubberband.so.${LIBrubberband_VERSION}
> +lib/lv2/
> +lib/lv2/rubberband.lv2/
> +@so lib/lv2/rubberband.lv2/lv2-rubberband.so
> +lib/lv2/rubberband.lv2/lv2-rubberband.ttl
> +lib/lv2/rubberband.lv2/manifest.ttl
>  lib/pkgconfig/rubberband.pc
>  lib/vamp/vamp-rubberband.cat
> -lib/vamp/vamp-rubberband.so
> +@so lib/vamp/vamp-rubberband.so
>  share/ladspa/
>  share/ladspa/rdf/
>  share/ladspa/rdf/ladspa-rubberband.rdf
> 

Reply via email to