mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
fluidsynth: add recipe for version 1.1.8.
This commit is contained in:
87
media-sound/fluidsynth/fluidsynth-1.1.8.recipe
Normal file
87
media-sound/fluidsynth/fluidsynth-1.1.8.recipe
Normal file
@@ -0,0 +1,87 @@
|
||||
SUMMARY="FA software real-time synthesizer"
|
||||
DESCRIPTION="
|
||||
Fluidsynth is a free open source software synthesizer written in C. It \
|
||||
can convert MIDI note data to an audio signal using SoundFont technology \
|
||||
without a SoundFont compatible soundcard. Fluidsynth can perform as a virtual \
|
||||
MIDI device and read in SMF (.mid) files directly. Another function is its \
|
||||
ability to send audio data to a Raw or Wave file."
|
||||
HOMEPAGE="http://www.fluidsynth.org/"
|
||||
COPYRIGHT="2007-2012 Josh Green, Pedro Lopez-Cabanillas, David Henningsson"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/FluidSynth/fluidsynth/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="318df5aebde8e7353c8878f5c9cb3ba8ed578c2607978b6fbfc5f1cb2ad9d799"
|
||||
PATCHES="fluidsynth-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
fluidsynth${secondaryArchSuffix} = $portVersion
|
||||
lib:libfluidsynth${secondaryArchSuffix} = 1.6.1 compat >= 1
|
||||
cmd:fluidsynth${secondaryArchSuffix}
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
lib:libFLAC$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libncurses$secondaryArchSuffix
|
||||
lib:libogg$secondaryArchSuffix
|
||||
lib:libreadline$secondaryArchSuffix
|
||||
lib:libsndfile$secondaryArchSuffix
|
||||
lib:libvorbis$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
fluidsynth${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libfluidsynth$secondaryArchSuffix = 1.6.1 compat >= 1
|
||||
"
|
||||
REQUIRES_devel="
|
||||
fluidsynth$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libFLAC$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libncurses$secondaryArchSuffix
|
||||
devel:libogg$secondaryArchSuffix
|
||||
devel:libreadline$secondaryArchSuffix
|
||||
devel:libsndfile$secondaryArchSuffix
|
||||
devel:libvorbis$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake . $cmakeDirArgs
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
mkdir -p $(dirname $includeDir)
|
||||
mv $prefix/include $includeDir
|
||||
mv $prefix/lib64 $libDir || true
|
||||
mkdir -p $(dirname $manDir)
|
||||
mv $prefix/share/man $manDir
|
||||
rm -rf $prefix/share
|
||||
|
||||
prepareInstalledDevelLib libfluidsynth
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user