On Sat, Oct 09, 2021 at 12:36:54AM -0400, Brad Smith wrote:
> On Sat, Sep 11, 2021 at 04:08:02PM -0400, Brad Smith wrote:
> > On Fri, Sep 03, 2021 at 10:51:25PM -0400, Brad Smith wrote:
> > > Here is an update to libsamplerate 0.2.1.
> > >
> > > Version 0.2.1 (2021-01-23)
> > > * Fix incorrect passing of -version-info to libtool, causing a
> > > regression on versioned file name of the shared library (#140).
> > > * Fix time resolution on GNU/Hurd for throughput_test
> > > * Update AUTHORS and release manager details
> > >
> > > Version 0.2.0 (2021-01-21)
> > > * API:
> > > * Add `src_clone()` function to clone a SRC_STATE* handle
> > > * Cleanup Autotools build system.
> > > * Require C99 compiler
> > > * Move `sndfile-resample` to sndfile-tools package
> > > * Add missing `src_get_channels`() export to windows def file
> > > * Fix macOS compile errors and modernize audio api on that platform
> > > * Add Octave scripts to generate filter coefficients
> > > * Fix two potential undefined behaviours
> > > * Fix a buffer out-of-bounds read error in src/src_sinc.c
> > > * Improve multichan_throughput_test
> > > * Replace buggy implementationg of Duffs device by regular loop
> > > * CMake:
> > > * Fix CMake generated shared library ABI compliance with Autotools build
> > > * Documentation:
> > > * Move site to new URL: http://libsndfile.github.io/libsamplerate/
> > > * Convert documentation pages from HTML to Markdown
> > > * Use GitHub's Jekyll static site generator to generate static HTML pages
> > > for site
> >
> > Here is an update to libsamplerate 0.2.2.
> >
> > Version 0.2.2 (2021-09-05)
> > * Fix CMake overlinking for examples (#146)
> > * Switch to GCC's visibility for hiding more implementation details
> > * Check GNU ld instead of gcc for exported symbols control logic in
> > configure.ac
> > * Disable static builds using Autotools by default. If you want static
> > libraries, pass --enable-static to ./configure
> > * ABI version incompatibility between Autotools and CMake build on Apple
> > platforms.
> > * Fixes and improvements for CMake build system.
> > * Fixes and improvements for Autotools build system.
> > * Switch to .xz over .bz2 for release tarballs.
> > * Minor bug fixes and updates.
>
> Updated the diff for -current..
Stuart pointed out there was an already made tarball which simplifies things
a bit..
Index: libsamplerate/Makefile
===================================================================
RCS file: /cvs/ports/audio/libsamplerate/Makefile,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 Makefile
--- libsamplerate/Makefile 12 Jul 2019 20:43:35 -0000 1.23
+++ libsamplerate/Makefile 9 Oct 2021 16:14:16 -0000
@@ -2,35 +2,26 @@
COMMENT= audio sample rate conversion library
-DISTNAME= libsamplerate-0.1.9
-SHARED_LIBS= samplerate 2.1
+VER= 0.2.2
+DISTNAME= libsamplerate-${VER}
CATEGORIES= audio
+EXTRACT_SUFX= .tar.xz
-HOMEPAGE= http://mega-nerd.com/SRC/
+SHARED_LIBS= samplerate 3.0
+
+HOMEPAGE= http://libsndfile.github.io/libsamplerate/
MAINTAINER= Jan Stary <hans@stare.cz>
# 2-BSD license
PERMIT_PACKAGE= Yes
-MASTER_SITES= ${HOMEPAGE}
-
-WANTLIB= FLAC c m ogg sndfile>=1 vorbis vorbisenc
+MASTER_SITES= https://github.com/libsndfile/libsamplerate/releases/download/${VER}/
-LIB_DEPENDS= audio/libsndfile
+WANTLIB= m
CONFIGURE_STYLE=gnu
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-cpu-clip \
- --disable-fftw
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libsamplerate
- ${INSTALL_DATA} ${WRKSRC}/doc/*.css \
- ${PREFIX}/share/doc/libsamplerate
- ${INSTALL_DATA} ${WRKSRC}/doc/*.png \
- ${PREFIX}/share/doc/libsamplerate
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html \
- ${PREFIX}/share/doc/libsamplerate
+ --disable-fftw \
+ --disable-sndfile
.include <bsd.port.mk>
Index: libsamplerate/distinfo
===================================================================
RCS file: /cvs/ports/audio/libsamplerate/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- libsamplerate/distinfo 7 Nov 2016 21:39:58 -0000 1.9
+++ libsamplerate/distinfo 9 Oct 2021 16:14:16 -0000
@@ -1,2 +1,2 @@
-SHA256 (libsamplerate-0.1.9.tar.gz) = Cn6xaOLyE1P7bYTaFS5FEhJvfcSMywvoBXjFZUE0RME=
-SIZE (libsamplerate-0.1.9.tar.gz) = 4336641
+SHA256 (libsamplerate-0.2.2.tar.xz) = MljaKAUR0ktJ1rCGFbvoJNDKzJhCsOTK8RxSzysEOJM=
+SIZE (libsamplerate-0.2.2.tar.xz) = 3319468
Index: libsamplerate/patches/patch-tests_util_c
===================================================================
RCS file: libsamplerate/patches/patch-tests_util_c
diff -N libsamplerate/patches/patch-tests_util_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ libsamplerate/patches/patch-tests_util_c 9 Oct 2021 16:14:16 -0000
@@ -0,0 +1,23 @@
+$OpenBSD$
+
+Index: tests/util.c
+--- tests/util.c.orig
++++ tests/util.c
+@@ -175,7 +175,7 @@ get_cpu_name (void)
+ file = popen ("/usr/sbin/system_profiler -detailLevel full SPHardwareDataType", "r") ;
+ search = "Processor Name" ;
+ is_pipe = 1 ;
+-#elif defined (__FreeBSD__)
++#elif defined (__FreeBSD__) || defined (__OpenBSD__)
+ file = popen ("sysctl -a", "r") ;
+ search = "hw.model" ;
+ is_pipe = 1 ;
+@@ -188,7 +188,7 @@ get_cpu_name (void)
+ return name;
+
No comments:
Post a Comment