mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
portaudio: update to latest release.
Still disabled, for now, as there is no native backend.
This commit is contained in:
@@ -1,85 +0,0 @@
|
||||
SUMMARY="A free, cross-platform, audio I/O library"
|
||||
DESCRIPTION="
|
||||
Port Audio is a free, cross-platform, audio I/O library."
|
||||
HOMEPAGE="http://portaudio.com"
|
||||
COPYRIGHT="1999-2011 Ross Bencina and Phil Burk"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://portaudio.com/archives/pa_stable_v19_20111121.tgz"
|
||||
CHECKSUM_SHA256="9c26d1330d506496789edafe55b0386f20d83c4aa2c0e3f81fbeb0f114ab1b99"
|
||||
SOURCE_DIR="portaudio"
|
||||
PATCHES="portaudio-19.patchset"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
portaudio$secondaryArchSuffix = $portVersion
|
||||
lib:libportaudio$secondaryArchSuffix = 2.0.0 compat >= 2
|
||||
lib:libportaudiocpp$secondaryArchSuffix = 0.0.12 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
portaudio${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libportaudio$secondaryArchSuffix = 2.0.0 compat >= 2
|
||||
#devel:libportaudio_static$secondaryArchSuffix = 19
|
||||
devel:libportaudiocpp$secondaryArchSuffix = 0.0.12 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
lib:libportaudio$secondaryArchSuffix == 2.0.0
|
||||
lib:libportaudiocpp$secondaryArchSuffix == 0.0.12
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc${secondaryArchSuffix}
|
||||
cmd:make
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:cmake
|
||||
cmd:dos2unix
|
||||
cmd:gcc${secondaryArchSuffix}
|
||||
cmd:ld${secondaryArchSuffix}
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# clean up
|
||||
dos2unix qa/loopback/src/qa_tools.h
|
||||
|
||||
autoreconf -if
|
||||
|
||||
runConfigure ./configure --enable-cxx --enable-shared --enable-static
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $libDir
|
||||
|
||||
make install
|
||||
|
||||
# cp bin/Win32/libportaudio.so $libDir
|
||||
# #cp bin/Win32/libportaudio.so $developDir/lib/
|
||||
# cp bin/Win32/libportaudio_static.a $developDir/lib/
|
||||
# mkdir -p $includeDir
|
||||
# cp include/* $includeDir
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libportaudio libportaudiocpp
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user