Files
haikuports/media-sound/fluidsynth/fluidsynth-1.1.6.recipe
François Revol 769271f081 Cleanup fluidsynth recipe and patches
- merge both patches and add proper history

- run autogen.sh to avoid hardcoding stuff
- add a configure case for haiku although it doesn't seem
to have any effect
- still run libtoolize -fci just in case.
2014-08-15 16:56:28 +02:00

94 lines
2.2 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 ?x86_64"
PATCHES="fluidsynth-1.1.6.patchset"
PROVIDES="
fluidsynth
libfluidsynth${secondaryArchSuffix} = 1.1.6 compat >= 1.0
lib:libfluidsynth${secondaryArchSuffix} = 1.1.6 compat >= 1.0
cmd:fluidsynth${secondaryArchSuffix}
"
REQUIRES="
haiku${secondaryArchSuffix} >= $haikuVersion
lib:libflac$secondaryArchSuffix
glib2$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
lib:libogg$secondaryArchSuffix
lib:libreadline$secondaryArchSuffix
lib:libsndfile$secondaryArchSuffix
lib:libvorbis$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libflac$secondaryArchSuffix
devel:libgthread_2.0$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libncurses$secondaryArchSuffix
devel:libogg$secondaryArchSuffix
devel:libreadline$secondaryArchSuffix
devel:libsndfile$secondaryArchSuffix
devel:libvorbis$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:libtoolize
cmd:pkg_config$secondaryArchSuffix
cmd:make
cmd:awk
cmd:aclocal
cmd:autoconf
cmd:find
"
BUILD()
{
libtoolize -fci
./autogen.sh
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLib libfluidsynth
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libfluidsynth${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:libfluidsynth$secondaryArchSuffix = $portVersion compat >= 1
"
REQUIRES_devel="
libfluidsynth$secondaryArchSuffix == $portVersion base
"