mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
@@ -4,13 +4,14 @@ 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"
|
||||
COPYRIGHT="2006-2012 Steve Harris, David Robillard
|
||||
2000-2002 Richard W.E. Furse, Paul Barton-Davis, Stefan Westerfeld"
|
||||
LICENSE="Lv2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://lv2plug.in/spec/lv2-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="b8052683894c04efd748c81b95dd065d274d4e856c8b9e58b7c3da3db4e71d32"
|
||||
SOURCE_URI="https://lv2plug.in/spec/lv2-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="78c51bcf21b54e58bb6329accbb4dae03b2ed79b520f9a01e734bd9de530953f"
|
||||
|
||||
ARCHITECTURES="?all !x86_gcc2"
|
||||
ARCHITECTURES="?all !x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
@@ -22,6 +23,7 @@ fi
|
||||
|
||||
PROVIDES="
|
||||
lv2$secondaryArchSuffix = $portVersion
|
||||
cmd:lv2_validate$commandSuffix = $portVersion
|
||||
cmd:lv2specgen.py$commandSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
@@ -34,23 +36,35 @@ BUILD_REQUIRES="
|
||||
devel:libsndfile$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:gcov$secondaryArchSuffix
|
||||
cmd:meson
|
||||
cmd:ninja
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./waf configure --prefix=$prefix --libdir=$libDir --includedir=$includeDir \
|
||||
--datadir=$docDir
|
||||
./waf 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()
|
||||
{
|
||||
mkdir -p $libDir $includeDir $docDir
|
||||
./waf install
|
||||
cd _build
|
||||
ninja install
|
||||
|
||||
fixPkgconfig
|
||||
}
|
||||
Reference in New Issue
Block a user