the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: portaudio2
Version: 2.19.0-20111121
Revision: 1
Conflicts: portaudio
Replaces: portaudio
BuildDependsOnly: true
BuildDepends: fink (>= 0.24.12)
Depends: portaudio2-shlibs (= %v-%r)
Source: http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz
Source-MD5: 25c85c1cc5e9e657486cbc299c6c035a
SourceDirectory: portaudio
PatchFile: %n.patch
PatchFile-MD5: 613b3b736c06aec381cc1656d018c2e4
ConfigureParams: --without-jack --disable-mac-universal
InstallScript: <<
mkdir %i/include
cp include/portaudio.h %i/include
cp include/pa_mac_core.h %i/include
mkdir %i/lib
cp lib/.libs/libportaudio.2.dylib %i/lib/libportaudio.2.19.0.dylib
(cd %i/lib; ln -s libportaudio.2.19.0.dylib libportaudio.2.dylib)
(cd %i/lib; ln -s libportaudio.2.19.0.dylib libportaudio.dylib)
cp lib/.libs/libportaudio.a %i/lib
ranlib %i/lib/libportaudio.a
mkdir -p %i/share/doc/%n
cp -r doc %i/share/doc/%n/
mkdir %i/lib/pkgconfig
perl -p -e "s/-framework\s*/-Wl,-framework,/g" portaudio-2.0.pc > portaudio-2.0.pc-new
cp portaudio-2.0.pc-new %i/lib/pkgconfig/portaudio-2.0.pc
# copy test binaries out of libtool folder
mkdir %i/bin
for i in $(ls bin); do cp bin/.libs/$i %i/bin ;done
<<
SplitOff: <<
Package: %N-shlibs
Files: <<
lib/libportaudio.2.19.0.dylib
lib/libportaudio.2.dylib
<<
Shlibs: %p/lib/libportaudio.2.dylib 3.0.0 %n (>= 2.19.0-2)
DocFiles: LICENSE.txt
DescDetail: <<
PortAudio is a cross platform, open-source audio I/O library proposed by Ross
Bencina to the music-dsp mailing list. It lets you write simple audio programs
in 'C' that will compile and run on Windows, Macintosh, Unix, BeOS. PortAudio
is intended to promote the exchange of audio synthesis software between
developers on different platforms.
The shlibs package contains the shared library only.
It provides the v19 API and is build from the pa_stable_v19_20111121 release.
<<
<<
SplitOff2: <<
Package: %N-doc
Depends: %N-shlibs (= %v-%r)
Conflicts: portaudio-doc
Replaces: portaudio-doc
Files: bin share
DocFiles: LICENSE.txt
DescDetail: <<
PortAudio is a cross platform, open-source audio I/O library proposed by Ross
Bencina to the music-dsp mailing list. It lets you write simple audio programs
in 'C' that will compile and run on Windows, Macintosh, Unix, BeOS. PortAudio
is intended to promote the exchange of audio synthesis software between
developers on different platforms.
The doc package contains compiled test applications and the documentation.
It provides the v19 API and is build from the pa_stable_v19_20111121 release.
<<
<<
DocFiles: index.html LICENSE.txt README.txt
Description: Cross platform audio I/O library
DescDetail: <<
PortAudio is a cross platform, open-source audio I/O library proposed by Ross
Bencina to the music-dsp mailing list. It lets you write simple audio programs
in 'C' that will compile and run on Windows, Macintosh, Unix, BeOS. PortAudio
is intended to promote the exchange of audio synthesis software between
developers on different platforms.
This package contains the headers only.
It provides the v19 API and is build from the pa_stable_v19_20111121 release.
<<
DescPort: <<
libtool not used, so links for shared library had to be created manually
and test applications taken out of bin/.libs/ libtool folder
copied doc files manually
Fixed syntax of link flags in portaudio-2.0.pc: "-framework X" -> "-Wl,-framework,X"
dmacks ripped out universal-build bits...it's not portable in fink
using tar snapshot as latest release is from 2011.
<<
License: BSD
Homepage: http://www.portaudio.com
Maintainer: Matthias Ringwald
--- portaudio/configure 2009-12-10 02:37:02.000000000 +0100
+++ portaudio-patched/configure 2010-02-01 20:09:48.000000000 +0100
@@ -21448,6 +21448,7 @@
mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
fi
else
+ mac_version_min="-mmacosx-version-min=10.4"
mac_arches=""
mac_sysroot=""
mac_version=""
--- portaudio/src/hostapi/coreaudio/pa_mac_core.c 2008-03-11 16:20:38.000000000 +0100
+++ portaudio-patched/src/hostapi/coreaudio/pa_mac_core.c 2009-10-21 20:52:13.000000000 +0200
@@ -71,6 +71,7 @@
#include "pa_mac_core_utilities.h"
#include "pa_mac_core_blocking.h"
+#include
#ifdef __cplusplus
extern "C"