New package: portaudio - cross-platform audio i/o lib
This commit is contained in:
parent
db7a5b4332
commit
5d9614793b
9 changed files with 95 additions and 0 deletions
1
srcpkgs/portaudio-devel
Symbolic link
1
srcpkgs/portaudio-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
portaudio
|
2
srcpkgs/portaudio/depends
Normal file
2
srcpkgs/portaudio/depends
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
abi_depends=">=19.20110326"
|
||||||
|
api_depends="${abi_depends}"
|
21
srcpkgs/portaudio/portaudio-devel.template
Normal file
21
srcpkgs/portaudio/portaudio-devel.template
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Template file for 'portaudio-devel'.
|
||||||
|
#
|
||||||
|
short_desc="${short_desc} - development files"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
Add_dependency run portaudio
|
||||||
|
Add_dependency run glibc-devel
|
||||||
|
Add_dependency run libstdc++-devel
|
||||||
|
Add_dependency run alsa-lib-devel
|
||||||
|
Add_dependency run jack-devel
|
||||||
|
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
vmkdir usr/lib/pkgconfig
|
||||||
|
vmkdir usr/include
|
||||||
|
vmove "usr/include/*.h" usr/include
|
||||||
|
vmove usr/lib/pkgconfig/portaudio-2.0.pc usr/lib/pkgconfig
|
||||||
|
}
|
19
srcpkgs/portaudio/portaudiocpp-devel.template
Normal file
19
srcpkgs/portaudio/portaudiocpp-devel.template
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Template file for 'portaudiocpp-devel'.
|
||||||
|
#
|
||||||
|
short_desc="${short_desc} - development files"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains development, headers, static libs, etc
|
||||||
|
for the C++ bindings."
|
||||||
|
|
||||||
|
Add_dependency run portaudiocpp
|
||||||
|
Add_dependency run portaudio-devel
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
vmkdir usr/lib/pkgconfig
|
||||||
|
vmkdir usr/include
|
||||||
|
vmove "usr/include/portaudiocpp" usr/include
|
||||||
|
vmove usr/lib/pkgconfig/portaudiocpp.pc usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/libportaudiocpp.a*" usr/lib
|
||||||
|
}
|
18
srcpkgs/portaudio/portaudiocpp.template
Normal file
18
srcpkgs/portaudio/portaudiocpp.template
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Template file for 'portaudiocpp'.
|
||||||
|
#
|
||||||
|
short_desc="${short_desc} - C++ Bindings"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains the C++ version."
|
||||||
|
|
||||||
|
Add_dependency run portaudio
|
||||||
|
Add_dependency run libstdc++
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run libgcc
|
||||||
|
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
vmkdir usr/lib
|
||||||
|
vmove "usr/lib/libportaudiocpp.so*" usr/lib
|
||||||
|
}
|
30
srcpkgs/portaudio/template
Normal file
30
srcpkgs/portaudio/template
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Template file for 'portaudio'
|
||||||
|
pkgname=portaudio
|
||||||
|
version=19.20110326
|
||||||
|
wrksrc=portaudio
|
||||||
|
distfiles="http://www.${pkgname}.com/archives/pa_stable_v19_20110326.tgz"
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--enable-cxx"
|
||||||
|
short_desc="Portable cross-platform audio i/o library"
|
||||||
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
|
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."
|
||||||
|
|
||||||
|
subpackages="$pkgname-devel ${pkgname}cpp ${pkgname}cpp-devel"
|
||||||
|
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run libstdc++
|
||||||
|
Add_dependency run libgcc
|
||||||
|
Add_dependency run alsa-lib
|
||||||
|
Add_dependency run libjack
|
||||||
|
|
||||||
|
Add_dependency build glibc-devel
|
||||||
|
Add_dependency build libstdc++-devel
|
||||||
|
Add_dependency build alsa-lib-devel
|
||||||
|
Add_dependency build jack-devel
|
||||||
|
|
1
srcpkgs/portaudiocpp
Symbolic link
1
srcpkgs/portaudiocpp
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
portaudio
|
1
srcpkgs/portaudiocpp-devel
Symbolic link
1
srcpkgs/portaudiocpp-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
portaudio
|
|
@ -935,3 +935,5 @@ libopenal.so.1 libopenal libopenal-devel
|
||||||
libalut.so.0 freealut freealut-devel
|
libalut.so.0 freealut freealut-devel
|
||||||
liblilv-0.so.0 liblilv lilv-devel
|
liblilv-0.so.0 liblilv lilv-devel
|
||||||
libsuil-0.so.0 suil suil-devel
|
libsuil-0.so.0 suil suil-devel
|
||||||
|
libportaudio.so.2 portaudio portaudio-devel
|
||||||
|
libportaudiocpp.so.0 portaudiocpp portaudiocpp-devel
|
||||||
|
|
Loading…
Reference in a new issue