mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
71 lines
1.6 KiB
Bash
71 lines
1.6 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
|
|
2000-2002 Richard W.E. Furse, Paul Barton-Davis, Stefan Westerfeld"
|
|
LICENSE="Lv2"
|
|
REVISION="2"
|
|
SOURCE_URI="https://lv2plug.in/spec/lv2-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="78c51bcf21b54e58bb6329accbb4dae03b2ed79b520f9a01e734bd9de530953f"
|
|
|
|
ARCHITECTURES="?all !x86_gcc2 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
commandSuffix=$secondaryArchSuffix
|
|
commandBinDir=$binDir
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
PROVIDES="
|
|
lv2$secondaryArchSuffix = $portVersion
|
|
cmd:lv2_validate$commandSuffix = $portVersion
|
|
cmd:lv2specgen.py$commandSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libsndfile$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libsndfile$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:meson
|
|
cmd:ninja
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
meson \
|
|
--buildtype=release \
|
|
--prefix=$prefix \
|
|
--libdir=$libDir \
|
|
--libexecdir=$binDir \
|
|
--datadir=$dataDir \
|
|
--localedir=$dataDir/locale \
|
|
--includedir=$includeDir \
|
|
--sysconfdir=$settingsDir \
|
|
--mandir=$manDir \
|
|
_build
|
|
|
|
cd _build
|
|
ninja
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd _build
|
|
ninja install
|
|
|
|
fixPkgconfig
|
|
}
|