libsndfile1 stable port information

Package: libsndfile1
Version: 1.0.20
Revision: 1
Maintainer: Daniel Johnson
# Change to libvorbis0 (>= 1.2.2-1), libogg (>= 1.1.4-1) next update.
BuildDepends: libflac8-dev (>= 1.2.1-1), libvorbis0 (>= 1.2.0-1), libogg (>= 1.1.3-1), fink (>= 0.24.12-1), pkgconfig
Depends: %N-shlibs (= %v-%r)
Source: http://www.mega-nerd.com/libsndfile/libsndfile-%v.tar.gz
Source-MD5: e0553e12c7a467af44693e95e2eac668
Conflicts: libsndfile, libsndfile0
Replaces: libsndfile, libsndfile0
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
PatchScript: perl -pi -e 's/HAVE_JACK=1/HAVE_JACK=0/' configure
ConfigureParams: --disable-dependency-tracking --disable-sqlite --disable-alsa --disable-octave --disable-static
CompileScript: <<
#!/bin/bash -ev
# This bit enables stripping unused libs on 10.5 and later.
let version=`uname -r | cut -f 1 -d .`
if [ $version -ge 9 ]; then
export LDFLAGS="$LDFLAGS -Wl,-dead_strip_dylibs"
fi

./configure %c
make
<<
InfoTest: TestScript: make check || exit 2
InstallScript: <<
make install DESTDIR=%d
#No need for dependency_libs in .la files if not building static libs
perl -pi -e "s/dependency_libs=.*$/dependency_libs=''/" %i/lib/*.la
mkdir -p %i/share/doc/%n/html
cp doc/*.html doc/*.jpg doc/*.css %i/share/doc/%n/html/
rm %i/bin/sndfile-jackplay
<<
DocFiles: AUTHORS ChangeLog COPYING NEWS README
SplitOff: <<
Package: %N-shlibs
Conflicts: libsndfile-shlibs
Replaces: libsndfile-shlibs
# Change to libvorbis0-shlibs (>= 1.2.2-1), libogg-shlibs (>= 1.1.4-1) next update.
Depends: libflac8 (>= 1.2.1-1), libvorbis0-shlibs (>= 1.2.0-1), libogg-shlibs (>= 1.1.3-1)
Files: lib/*.*.dylib
Shlibs: %p/lib/libsndfile.1.dylib 2.0.0 %n (>= 1.0.11-3)
DocFiles: COPYING README
<<
SplitOff2: <<
Package: %N-dev
Depends: %N-shlibs (= %v-%r)
Conflicts: libsndfile0-dev, libsndfile-dev
# 1.0.11-2 moves pkgconfig from %N to %n
# 1.0.19-2+ moved %p/share/doc/libsndfile1-dev/html to -doc
Replaces: libsndfile0-dev, libsndfile-dev, %N (<< 1.0.19-3)
Files: include lib share/doc/%n
DocFiles: COPYING README
BuildDependsOnly: True
<<
Description: Read and write files containing sampled sound
DescDetail: <<
Libsndfile is a C library for reading and writing files containing sampled
sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one
standard library interface.
<<
DescPackaging: <<
Uses pkgconfig, but there are no pkgconfig-related dependencies.

Originally packaged by Matt Stephenson.

Supplies C++ interface as of 1.0.17-1 in the form of sndfile.hh, which is
just inline wrappers (no compiled C++ library implementation). Therefore,
no need for different libsndfile1 packages for different g++ ABI. The
testing of the C++ interface does not leak any compiled code into the .deb.

There are issues with the new ogg support when using libvorbis0 <= 1.2.0.
The issues go away with prerelease versions of libvorbis0.
<<
License: LGPL
Homepage: http://www.mega-nerd.com/libsndfile

libsndfile1 _unstable_ port information

Package: libsndfile1
Version: 1.0.25
Revision: 1
Maintainer: Daniel Johnson
BuildDepends: libflac8-dev (>= 1.2.1-1), libvorbis0 (>= 1.3.1-1), libogg (>= 1.2.0-1), fink (>= 0.24.12-1), pkgconfig
Depends: %N-shlibs (= %v-%r)
Source: http://www.mega-nerd.com/libsndfile/files/libsndfile-%v.tar.gz
Source-MD5: e2b7bb637e01022c7d20f95f9c3990a2
Conflicts: libsndfile, libsndfile0
Replaces: libsndfile, libsndfile0
UseMaxBuildJobs: true
ConfigureParams: --disable-dependency-tracking --disable-sqlite --disable-alsa --disable-octave --disable-static
CompileScript: <<
#!/bin/bash -ev
# This bit enables stripping unused libs on 10.5 and later.
let version=`uname -r | cut -f 1 -d .`
if [ $version -ge 9 ]; then
export LDFLAGS="$LDFLAGS -Wl,-dead_strip_dylibs"
fi

./configure %c
make
<<
InfoTest: TestScript: make -j1 -k check || exit 2
InstallScript: <<
make install DESTDIR=%d
#No need for dependency_libs in .la files if not building static libs
perl -pi -e "s/dependency_libs=.*$/dependency_libs=''/" %i/lib/*.la
mkdir -p %i/share/doc/%n/html
cp doc/*.html doc/*.jpg doc/*.css %i/share/doc/%n/html/
<<
DocFiles: AUTHORS ChangeLog COPYING NEWS README
SplitOff: <<
Package: %N-shlibs
Conflicts: libsndfile-shlibs
Replaces: libsndfile-shlibs
Depends: libflac8 (>= 1.2.1-1), libvorbis0-shlibs (>= 1.3.1-1), libogg-shlibs (>= 1.2.0-1)
Files: lib/*.*.dylib
Shlibs: %p/lib/libsndfile.1.dylib 2.0.0 %n (>= 1.0.11-3)
DocFiles: COPYING README
<<
SplitOff2: <<
Package: %N-dev
Depends: %N-shlibs (= %v-%r)
Conflicts: libsndfile0-dev, libsndfile-dev
# 1.0.11-2 moves pkgconfig from %N to %n
# 1.0.19-2+ moved %p/share/doc/libsndfile1-dev/html to -doc
Replaces: libsndfile0-dev, libsndfile-dev, %N (<< 1.0.19-3)
Files: include lib share/doc/%n
DocFiles: COPYING README
BuildDependsOnly: True
<<
Description: Read and write files containing sampled sound
DescDetail: <<
Libsndfile is a C library for reading and writing files containing sampled
sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one
standard library interface.
<<
DescPackaging: <<
Uses pkgconfig, but there are no pkgconfig-related dependencies.

Originally packaged by Matt Stephenson.

Supplies C++ interface as of 1.0.17-1 in the form of sndfile.hh, which is
just inline wrappers (no compiled C++ library implementation). Therefore,
no need for different libsndfile1 packages for different g++ ABI. The
testing of the C++ interface does not leak any compiled code into the .deb.

There are issues with the new ogg support when using libvorbis0 <= 1.2.0.
The issues go away with prerelease versions of libvorbis0.
<<
License: LGPL2+
Homepage: http://www.mega-nerd.com/libsndfile