Files
haikuports/media-libs/lv2/lv2-1.14.0.recipe
2018-06-23 23:27:38 -04:00

57 lines
1.4 KiB
Bash

SUMMARY="An extensible audio plugin interface"
DESCRIPTION="LV2 is an open standard for audio plugins, used by hundreds \
of plugins and other projects. At its core, LV2 is a simple stable \
interface, accompanied by extensions which add functionality to support \
the needs of increasingly powerful audio software."
HOMEPAGE="http://lv2plug.in"
COPYRIGHT="2006-2012 Steve Harris, David Robillard"
LICENSE="Lv2"
REVISION="1"
SOURCE_URI="http://lv2plug.in/spec/lv2-$portVersion.tar.bz2"
CHECKSUM_SHA256="b8052683894c04efd748c81b95dd065d274d4e856c8b9e58b7c3da3db4e71d32"
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="?x86"
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
PROVIDES="
lv2$secondaryArchSuffix = $portVersion
cmd:lv2specgen.py$commandSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsndfile$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsndfile$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:gcov$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:python2
"
BUILD()
{
./waf configure --prefix=$prefix --libdir=$libDir --includedir=$includeDir \
--datadir=$docDir
./waf build
}
INSTALL()
{
mkdir -p $libDir $includeDir $docDir
./waf install
fixPkgconfig
}