Files
haikuports/media-sound/fluidsynth/fluidsynth-1.1.6.recipe
2014-07-09 16:39:46 +02:00

57 lines
1.3 KiB
Plaintext

SUMMARY="Fluidsynth is a software real-time synthesizer"
DESCRIPTION="
Fluidsynth is a software real-time synthesizer based on the Soundfont 2 \
specifications.
"
HOMEPAGE="http://www.fluidsynth.org/"
SRC_URI="http://sourceforge.net/projects/fluidsynth/files/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.bz2/download"
CHECKSUM_SHA256="d28b47dfbf7f8e426902ae7fa2981d821fbf84f41da9e1b85be933d2d748f601"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2007-2012 Josh Green, Pedro Lopez-Cabanillas, David Henningsson"
REVISION="1"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
PROVIDES="
fluidsynth$secondaryArchSuffix = $portVersion
lib:libfluidsynth$secondaryArchSuffix
cmd:fluidsynth
"
REQUIRES="
haiku$secondayArchSuffix >= $haikuVersion
lib:libsndfile$secondaryArchSuffix
lib:libreadline
lib:libglib_2.0
lib:libgthread_2.0
lib:libintl
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libglib_2.0
devel:libreadline
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
PATCHES="fluidsynth-$portVersion.patchset"
BUILD()
{
cmake . -DCMAKE_INSTALL_PREFIX=$prefix \
-DINCLUDE_INSTALL_DIR=$relativeIncludeDir \
-DMAN_INSTALL_DIR=$relativeManDir
make $jobArgs
}
INSTALL()
{
make install
}