# $Id$ # -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name portaudio version 19.20071207 revision 1 categories audio devel platforms macosx maintainers nomaintainer homepage http://www.portaudio.com/ description PortAudio is a free, cross platform, open-source, audio I/O library. long_description PortAudio is a free, cross platform, open-source, audio I/O library. \ It lets you write simple audio programs in 'C' that will compile and \ run on many platforms including Windows, Macintosh (8,9,X), Unix (OSS), \ SGI, and BeOS. PortAudio is intended to promote the exchange of audio \ synthesis software between developers on different platforms. \ PortAudio provides a very simple API for recording and/or playing sound \ using a simple callback function. Example programs are included that \ synthesize sine waves and pink noise, perform fuzz distortion on a guitar, \ list available audio devices, etc. master_sites ${homepage}archives distname pa_stable_v19_20071207 checksums md5 d2943e4469834b25afe62cc51adc025f \ sha1 3841453bb7be672a15b6b632ade6f225eb0a4efc \ rmd160 5185bd85bd4bc75dddb3fa56f172a346bdeea0c7 worksrcdir ${name} # Universal building is on by default if {${os.major} >= 10} { universal_variant yes } else { universal_variant no } platform darwin 10 { patchfiles patch-configure patch-src__common__pa_types.h patch-src__hostapi__coreaudio__pa_mac_core.c } use_parallel_build yes post-destroot { xinstall -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} \ README.txt \ LICENSE.txt \ V19-devel-readme.txt \ ${destroot}${prefix}/share/doc/${name} }