Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sound In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9890
Modified Files: portaudio2.info Added Files: portaudio2.patch Log Message: promote revision 6 to stable after positive user feedback Index: portaudio2.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/sound/portaudio2.info,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- portaudio2.info 1 Jul 2008 17:44:28 -0000 1.1 +++ portaudio2.info 13 Aug 2009 06:21:28 -0000 1.2 @@ -1,20 +1,24 @@ Package: portaudio2 Version: 2.19.0 -Revision: 2 +Revision: 6 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_20071207.tar.gz Source-MD5: d2943e4469834b25afe62cc51adc025f SourceDirectory: portaudio +PatchFile: %n.patch +PatchFile-MD5: 8548af7308e6cfcb7bca32bec8728a62 ConfigureParams: --without-jack 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) @@ -24,9 +28,7 @@ mkdir -p %i/share/doc/%n cp -r doc %i/share/doc/%n/ mkdir %i/lib/pkgconfig - perl -p -e "s/^Libs:.*$/Libs: -L${libdir} -lportaudio -Wl,-framework,CoreAudio \ - -Wl,-framework,AudioToolbox -Wl,-framework,AudioUnit -Wl,-framework,Carbon/" \ - portaudio-2.0.pc > portaudio-2.0.pc-new + 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 cp -r bin %i/bin << @@ -93,8 +95,11 @@ DescPort: << libtool not used, so links for shared library had to be created manually 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 << License: BSD Homepage: http://www.portaudio.com -Maintainer: Matthias Ringwald <frec...@users.sf.net> \ No newline at end of file +Maintainer: Matthias Ringwald <frec...@users.sf.net> --- NEW FILE: portaudio2.patch --- diff -Nurd -x'*~' portaudio.orig/configure portaudio/configure --- portaudio.orig/configure 2007-11-13 16:22:56.000000000 -0500 +++ portaudio/configure 2009-02-11 02:34:33.000000000 -0500 @@ -20665,13 +20665,8 @@ #define PA_USE_COREAUDIO 1 _ACEOF - if [ -d /Developer/SDKs/MacOSX10.5.sdk ] ; then - SHARED_FLAGS="-Werror -framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon -dynamiclib -arch x86_64 -arch ppc64 -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.3"; - CFLAGS="-Werror $CFLAGS -arch x86_64 -arch ppc64 -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.3"; - else - SHARED_FLAGS="-Werror -framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon -dynamiclib -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3"; - CFLAGS="-Werror $CFLAGS -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3"; - fi + SHARED_FLAGS="-Werror -framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon -dynamiclib"; + CFLAGS="-Werror $CFLAGS -mmacosx-version-min=10.3"; OTHER_OBJS="src/os/mac_osx/pa_mac_hostapis.o src/os/unix/pa_unix_util.o src/hostapi/coreaudio/pa_mac_core.o src/hostapi/coreaudio/pa_mac_core_utilities.o src/hostapi/coreaudio/pa_mac_core_blocking.o src/common/pa_ringbuffer.o"; LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon "; PADLL="libportaudio.dylib"; ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs