Package: portaudio2 # see commons/pa_front.c to help parse the v-string Version: 2.19.7.0-20210406 Revision: 1 Maintainer: None Conflicts: portaudio Replaces: portaudio BuildDependsOnly: true BuildDepends: fink (>= 0.24.12) Depends: portaudio2-shlibs (= %v-%r) Source: https://files.portaudio.com/archives/pa_stable_v190700_20210406.tgz Source-Checksum: SHA256(47efbf42c77c19a05d22e627d42873e991ec0c1357219c0d74ce6a2948cb2def) SourceDirectory: portaudio # PatchFile: %n.patch # PatchFile-MD5: 55adffc06fc88372da3f1331cb341254 SetCFLAGS: -Wno-error=deprecated-declarations CompileScript: << # compile portaudio ./configure %c --without-jack --disable-mac-universal make # compile c++ binding cd bindings/cpp; ./configure %c cd bindings/cpp; make << InstallScript: << make install DESTDIR=%d # install private header that pyaudio needs install -m 644 include/pa_mac_core.h %i/include # create libportaudio.2.19.0.dylib cd %d/%p/lib; mv libportaudio.2.dylib libportaudio.2.19.0.dylib cd %d/%p/lib; ln -s libportaudio.2.19.0.dylib libportaudio.2.dylib # fix linker flags perl -p -i -e "s/-framework\s*/-Wl,-framework,/g" %d/%p/lib/libportaudio.la perl -p -i -e "s/-framework\s*/-Wl,-framework,/g" %d/%p/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 # C++ bindings cd bindings/cpp; make install DESTDIR=%d # fix linker flags perl -p -i -e "s/-framework\s*/-Wl,-framework,/g" %d/%p/lib/libportaudiocpp.la perl -p -i -e "s/-framework\s*/-Wl,-framework,/g" %d/%p/lib/pkgconfig/portaudiocpp.pc << 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_20140103 release. << << SplitOff2: << Package: %N-doc Depends: %N-shlibs (= %v-%r) Conflicts: portaudio-doc Replaces: portaudio-doc Files: bin share/doc/portaudio2 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_20140103 release. << << SplitOff3: << Package: %N-cpp BuildDependsOnly: true Depends: %N-cpp-shlibs (= %v-%r) Files: << include/portaudiocpp lib/pkgconfig/portaudiocpp.pc lib/libportaudiocpp.a lib/libportaudiocpp.dylib lib/libportaudiocpp.la << 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 cpp package contains the C++ headers. It provides a native C++ binding of the v19 API and is build from the pa_stable_v19_20140103 release. << << SplitOff4: << Package: %N-cpp-shlibs Depends: %N-shlibs Files: << lib/libportaudiocpp.0.dylib << Shlibs: %p/lib/libportaudiocpp.0.dylib 1.0.0 %n (>= 2.19.0-20140130) 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 cpp-shlibs package contains the shared C++ library only. It provides a native C++ binding of the v19 API and is build from the pa_stable_v19_20140103 release. << << DocFiles: LICENSE.txt README.md 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_20161030 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 << License: BSD Homepage: https://www.portaudio.com DescPackaging: << Previous maintainer: Matthias Ringwald <<