mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
lilv: new recipe (#7498)
This commit is contained in:
94
media-libs/lilv/lilv-0.24.20.recipe
Normal file
94
media-libs/lilv/lilv-0.24.20.recipe
Normal file
@@ -0,0 +1,94 @@
|
||||
SUMMARY="A C library for simple use of LV2 plugins in applications"
|
||||
DESCRIPTION="Lilv is a C library (with Python bindings) for simple use of LV2 \
|
||||
plugins in applications, which includes utilities for investigating \
|
||||
installed LV2 plugins."
|
||||
HOMEPAGE="http://drobilla.net/software/lilv/"
|
||||
COPYRIGHT="2011-2022 David Robillard"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.drobilla.net/lilv-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="4fb082b9b8b286ea92bbb71bde6b75624cecab6df0cc639ee75a2a096212eebc"
|
||||
|
||||
ARCHITECTURES="?all !x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/bash_completion.d/lilv keep-old
|
||||
"
|
||||
|
||||
PROVIDES="
|
||||
lilv$secondaryArchSuffix = $portVersion
|
||||
cmd:lv2bench
|
||||
cmd:lv2info
|
||||
cmd:lv2ls
|
||||
lib:liblilv_0$secondaryArchSuffix = $portVersion compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
lv2$secondaryArchSuffix
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libserd_0$secondaryArchSuffix
|
||||
lib:libsord_0$secondaryArchSuffix
|
||||
lib:libsratom_0$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
lilv${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:liblilv_0$secondaryArchSuffix = $portVersion compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
lilv$secondaryArchSuffix == $portVersion base
|
||||
devel:libserd_0$secondaryArchSuffix
|
||||
devel:libsord_0$secondaryArchSuffix
|
||||
devel:libsratom_0$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
lv2$secondaryArchSuffix
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libserd_0$secondaryArchSuffix
|
||||
devel:libsord_0$secondaryArchSuffix
|
||||
devel:libsratom_0$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
|
||||
|
||||
prepareInstalledDevelLib liblilv-0
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd _build
|
||||
ninja test
|
||||
}
|
||||
Reference in New Issue
Block a user