Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/sound
In directory vz-cvs-3.sog:/tmp/cvs-serv11907
Added Files:
portaudio2.info portaudio2.patch
Log Message:
add <AudioToolbox/AudioToolbox.h> to compile on 10.7 - copy from 10.4
--- NEW FILE: portaudio2.info ---
Package: portaudio2
Version: 2.19.0-20100127
Revision: 2
Conflicts: portaudio
Replaces: portaudio
BuildDependsOnly: true
BuildDepends: fink (>= 0.24.12)
Depends: portaudio2-shlibs (= %v-%r)
Source: http://michael-ep3.physik.uni-halle.de/portaudio2/pa_snapshot-%v.tgz
Source-MD5: ce3645e7b54c1dc436fd3ced50dbcd3f
SourceDirectory: portaudio
PatchFile: %n.patch
PatchFile-MD5: c81387f8af10d609df4ff5320f0156eb
# SetCC: llvm-gcc
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.0.0.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_20071207 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_20071207 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_20071207 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 2007.
<<
License: BSD
Homepage: http://www.portaudio.com
Maintainer: Matthias Ringwald <[email protected]>
--- NEW FILE: portaudio2.patch ---
diff -ur portaudio/configure portaudio-patched/configure
--- portaudio/configure 2009-12-10 02:37:02.000000000 +0100
+++ portaudio-patched/configure 2011-08-07 16:06:44.000000000 +0200
@@ -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=""
diff -ur portaudio/include/pa_mac_core.h portaudio-patched/include/pa_mac_core.h
--- portaudio/include/pa_mac_core.h 2008-02-15 08:32:09.000000000 +0100
+++ portaudio-patched/include/pa_mac_core.h 2011-08-07 16:10:26.000000000
+0200
@@ -44,7 +44,7 @@
*/
#include <AudioUnit/AudioUnit.h>
-//#include <AudioToolbox/AudioToolbox.h>
+#include <AudioToolbox/AudioToolbox.h>
#ifdef __cplusplus
extern "C" {
diff -ur portaudio/src/hostapi/coreaudio/pa_mac_core.c
portaudio-patched/src/hostapi/coreaudio/pa_mac_core.c
--- portaudio/src/hostapi/coreaudio/pa_mac_core.c 2009-11-18
22:07:31.000000000 +0100
+++ portaudio-patched/src/hostapi/coreaudio/pa_mac_core.c 2011-08-07
16:06:44.000000000 +0200
@@ -71,6 +71,7 @@
#include "pa_mac_core_utilities.h"
#include "pa_mac_core_blocking.h"
+#include <CoreServices/CoreServices.h>
#ifdef __cplusplus
extern "C"
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs