ladspa_sdk: convert recipe to new format.

* remove old patch.
This commit is contained in:
Jerome Duval
2016-08-02 22:20:02 +02:00
parent 63e8af8698
commit af70bf231a
3 changed files with 122 additions and 59 deletions

View File

@@ -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
}