2011-10-31 21:34:34 +01:00
|
|
|
# Template file for 'portaudio'
|
|
|
|
pkgname=portaudio
|
|
|
|
version=19.20110326
|
2013-04-14 11:13:30 +02:00
|
|
|
revision=6
|
2011-10-31 21:34:34 +01:00
|
|
|
wrksrc=portaudio
|
|
|
|
build_style=gnu-configure
|
2011-11-19 23:57:35 +01:00
|
|
|
configure_args="--enable-cxx --with-jack"
|
2011-10-31 22:18:37 +01:00
|
|
|
homepage="http://www.portaudio.com"
|
|
|
|
license="PA, GPL"
|
2011-10-31 21:34:34 +01:00
|
|
|
short_desc="Portable cross-platform audio i/o library"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
2013-04-14 11:13:30 +02:00
|
|
|
distfiles="http://www.${pkgname}.com/archives/pa_stable_v19_20110326.tgz"
|
2011-10-31 21:34:34 +01:00
|
|
|
checksum=328a89adc42c66840641d2d557d01e8bd9e6be32e12d3802e3b638e0791de540
|
|
|
|
long_desc="
|
|
|
|
PortAudio is a free, cross-platform, open-source, audio I/O library. It lets
|
|
|
|
you write simple audio programs in C or C++ that will compile and run on many
|
|
|
|
platforms including Windows, Macintosh OS X, and Unix (OSS/ALSA). It is
|
|
|
|
intended to promote the exchange of audio software between developers on
|
|
|
|
different platforms."
|
|
|
|
|
2011-11-01 08:09:40 +01:00
|
|
|
disable_parallel_build=yes
|
2013-04-16 13:48:29 +02:00
|
|
|
makedepends="alsa-lib-devel jack-devel"
|
2013-04-14 11:13:30 +02:00
|
|
|
|
|
|
|
portaudio-devel_package() {
|
|
|
|
depends="portaudio>=${version}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 11:13:30 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/include/*.h"
|
|
|
|
vmove usr/lib/pkgconfig/portaudio-2.0.pc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
portaudiocpp_package() {
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - C++ Bindings"
|
2013-04-14 11:13:30 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libportaudiocpp.so*"
|
|
|
|
}
|
|
|
|
}
|
2011-10-31 21:34:34 +01:00
|
|
|
|
2013-04-14 11:13:30 +02:00
|
|
|
portaudiocpp-devel_package() {
|
|
|
|
depends="portaudiocpp>=${version} portaudio-devel>=${version}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 11:13:30 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/portaudiocpp
|
|
|
|
vmove usr/lib/pkgconfig/portaudiocpp.pc
|
|
|
|
vmove "usr/lib/libportaudiocpp.a*"
|
|
|
|
}
|
|
|
|
}
|