mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
82 lines
1.9 KiB
Bash
82 lines
1.9 KiB
Bash
SUMMARY="An API for audio analysis and feature extraction plugins"
|
|
DESCRIPTION="Vamp is an API for C and C++ plugins that process sampled audio \
|
|
data to produce descriptive output (measurements or semantic observations)."
|
|
HOMEPAGE="http://www.vamp-plugins.org/"
|
|
COPYRIGHT="2005-2006 Chris Cannam
|
|
2006-2012 Queen Mary, University of London"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="http://code.soundsoftware.ac.uk/attachments/download/1520/vamp-plugin-sdk-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="d0d3578137ac0c1e63f31561081a8d61da526a81152bc1dc9383b629bc07f85f"
|
|
SOURCE_DIR="vamp-plugin-sdk-$portVersion"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
vamp_plugin_sdk$secondaryArchSuffix = $portVersion
|
|
lib:libvamp_sdk$secondaryArchSuffix = 2.6.0 compat >= 2
|
|
lib:libvamp_hostsdk$secondaryArchSuffix = 3.6.0 compat >= 3
|
|
cmd:vamp_rdf_template_generator
|
|
cmd:vamp_simple_host
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libsndfile$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
vamp_plugin_sdk${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libvamp_sdk$secondaryArchSuffix = 2.6.0 compat >= 2
|
|
devel:libvamp_hostsdk$secondaryArchSuffix = 3.6.0 compat >= 3
|
|
"
|
|
REQUIRES_devel="
|
|
vamp_plugin_sdk$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libsndfile$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
mv $prefix/lib $prefix/lib2
|
|
mkdir -p $(dirname $libDir) $(dirname $includeDir)
|
|
mv $prefix/lib2 $libDir
|
|
mv $prefix/include $includeDir
|
|
|
|
rm $libDir/libvamp*.la
|
|
|
|
prepareInstalledDevelLibs libvamp-sdk libvamp-hostsdk
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|