mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
72 lines
1.6 KiB
Bash
72 lines
1.6 KiB
Bash
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-2016 Ross Bencina and Phil Burk"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz"
|
|
CHECKSUM_SHA256="f5a21d7dcd6ee84397446fa1fa1a0675bb2e8a4a6dceb4305a8404698d8d1513"
|
|
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:libportaudiocpp$secondaryArchSuffix = 0.0.12 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
lib:libportaudio$secondaryArchSuffix == 2.0.0
|
|
lib:libportaudiocpp$secondaryArchSuffix == 0.0.12
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc${secondaryArchSuffix}
|
|
cmd:git
|
|
cmd:ld${secondaryArchSuffix}
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
git checkout -- depcomp # deleted by autoreconf, but still needed...
|
|
runConfigure ./configure --enable-cxx --enable-shared
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $libDir
|
|
|
|
make install
|
|
|
|
prepareInstalledDevelLibs \
|
|
libportaudio libportaudiocpp
|
|
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|