Files
haikuports/media-libs/lv2/lv2-1.14.0.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -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="https://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="?all !x86_gcc2"
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
}