mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
68 lines
1.7 KiB
Bash
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="x86_gcc2 x86 x86_64"
|
|
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
|
|
}
|