Files
haikuports/media-libs/ladspa_sdk/ladspa_sdk-1.13.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

68 lines
1.7 KiB
Bash

SUMMARY="Linux Audio Developer's Simple Plugin API"
DESCRIPTION="There is a large number of synthesis packages in use or \
development on the Linux platform at this time. The Linux Audio Developer's \
Simple Plugin API (LADSPA) attempts to give programmers the ability to write \
simple \`plugin\' audio processors in C/C++ and link them dynamically \
against a range of host applications."
HOMEPAGE="http://www.ladspa.org/"
COPYRIGHT="2000-2002 Richard W.E. Furse, Paul Barton-Davis, Stefan Westerfeld"
LICENSE="GNU LGPL v2.1"
REVISION="3"
SOURCE_URI="http://pkgs.fedoraproject.org/repo/pkgs/ladspa/ladspa_sdk_$portVersion.tgz/671be3e1021d0722cadc7fb27054628e/ladspa_sdk_$portVersion.tgz"
CHECKSUM_SHA256="b5ed3f4f253a0f6c1b7a1f4b8cf62376ca9f51d999650dd822650c43852d306b"
SOURCE_DIR="ladspa_sdk"
PATCHES="ladspa_sdk-$portVersion.patchset"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
ladspa_sdk$secondaryArchSuffix = $portVersion
cmd:analyseplugin$secondaryArchSuffix
cmd:applyplugin$secondaryArchSuffix
cmd:listplugins$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
ladspa_sdk${secondaryArchSuffix}_devel = $portVersion
"
REQUIRES_devel="
ladspa_sdk$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
cd src
make $jobArgs targets LIBRARIES=
}
INSTALL()
{
cd src
make install INSTALL_PLUGINS_DIR=$libDir/ladspa \
INSTALL_INCLUDE_DIR=$includeDir \
INSTALL_BINARY_DIR=$binDir
# devel package
packageEntries devel \
$developDir
}
TEST()
{
cd src
make test
}