mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Actually add the new portaudio recipe.
This commit is contained in:
71
media-libs/portaudio/portaudio-19.06.00.recipe
Normal file
71
media-libs/portaudio/portaudio-19.06.00.recipe
Normal file
@@ -0,0 +1,71 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user