mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
ladspa_sdk: convert recipe to new format.
* remove old patch.
This commit is contained in:
@@ -1,18 +1,64 @@
|
||||
DESCRIPTION="Linux Audio Developer's Simple Plugin API"
|
||||
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/"
|
||||
SOURCE_URI="http://www.ladspa.org/download/ladspa_sdk_1.13.tgz"
|
||||
STATUS_HAIKU="stable"
|
||||
COPYRIGHT="2000-2002 Richard W.E. Furse, Paul Barton-Davis, Stefan Westerfeld."
|
||||
COPYRIGHT="2000-2002 Richard W.E. Furse, Paul Barton-Davis, Stefan Westerfeld"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
CHECKSUM_MD5="671be3e1021d0722cadc7fb27054628e"
|
||||
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
|
||||
"
|
||||
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 ladspa_sdk/src
|
||||
make
|
||||
cd src
|
||||
make $jobArgs targets LIBRARIES=
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd ladspa_sdk/src
|
||||
make 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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user