mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
vamp-plugin-sdk: add recipe for version 2.6.
This commit is contained in:
81
media-libs/vamp-plugin-sdk/vamp_plugin_sdk-2.6.recipe
Normal file
81
media-libs/vamp-plugin-sdk/vamp_plugin_sdk-2.6.recipe
Normal file
@@ -0,0 +1,81 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user