Sunday, March 11, 2018

update libsndfile to 1.0.28

This updates libsndfile to 1.0.28, the latest release.
Sorry for being so late; thanks to naddy@ for the nudge.

* Add explicit ./configure --options (in --help order)
* Without CPPFLAGS="-I${PREFIX}/include", FLAC includes are not found
* Obsolete doc/dither.html was removed

On some platforms (macppc), the compiler does not understand -Wvla,
so we need a patch for these. Should the patch be made platform-specific?
I would very much like to avoid that, and just drop -Wvla from configure
everywhere, for simplicity.

Tested on current amd64, macppc and armv7; please test everywhere.

There have been a number of fixes since 1.0.28
- I intend to add those in a separate commit.

(Currently, it's 1.0.29pre1)

Jan


Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/libsndfile/Makefile,v
retrieving revision 1.31
diff -u -p -r1.31 Makefile
--- Makefile 7 Nov 2016 21:52:53 -0000 1.31
+++ Makefile 11 Mar 2018 11:47:12 -0000
@@ -2,11 +2,11 @@

COMMENT= library to handle various audio file formats

-DISTNAME= libsndfile-1.0.27
+DISTNAME= libsndfile-1.0.28
CATEGORIES= audio
HOMEPAGE= http://www.mega-nerd.com/libsndfile/
MAINTAINER= Jan Stary <hans@stare.cz>
-SHARED_LIBS += sndfile 5.0 # .1.27
+SHARED_LIBS += sndfile 6.0 # .1.28

# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
@@ -16,9 +16,17 @@ MASTER_SITES= ${HOMEPAGE}files/
WANTLIB= c m sndio FLAC ogg vorbis vorbisenc

CONFIGURE_STYLE=gnu
-CONFIGURE_ARGS= --disable-alsa \
+CONFIGURE_ARGS= --enable-option-checking \
+ --disable-silent-rules \
+ --disable-experimental \
+ --disable-werror \
+ --disable-cpu-clip \
+ --disable-sqlite \
+ --disable-alsa \
+ --enable-external-libs \
--disable-octave \
- --disable-sqlite
+ --enable-largefile \
+CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include"
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/Cfg

LIB_DEPENDS= audio/flac \
Index: distinfo
===================================================================
RCS file: /cvs/ports/audio/libsndfile/distinfo,v
retrieving revision 1.16
diff -u -p -r1.16 distinfo
--- distinfo 7 Nov 2016 21:52:53 -0000 1.16
+++ distinfo 11 Mar 2018 11:47:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (libsndfile-1.0.27.tar.gz) = o5GVLyf0qSzrK0wGSTrBB4lu1sdr6aYTpHMfB20w+sA=
-SIZE (libsndfile-1.0.27.tar.gz) = 1192337
+SHA256 (libsndfile-1.0.28.tar.gz) = H/M5KfBC+jM67R6JI6pijD7p4euFUSaGxVCS0eWp36k=
+SIZE (libsndfile-1.0.28.tar.gz) = 1202833
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/audio/libsndfile/pkg/PLIST,v
retrieving revision 1.12
diff -u -p -r1.12 PLIST
--- pkg/PLIST 10 Dec 2015 10:00:30 -0000 1.12
+++ pkg/PLIST 11 Mar 2018 11:47:12 -0000
@@ -31,7 +31,6 @@ share/doc/libsndfile/FAQ.html
share/doc/libsndfile/api.html
share/doc/libsndfile/bugs.html
share/doc/libsndfile/command.html
-share/doc/libsndfile/dither.html
share/doc/libsndfile/embedded_files.html
share/doc/libsndfile/index.html
share/doc/libsndfile/libsndfile.css

No comments:

Post a Comment