mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
fluidlite: add recipe for version 1.0.0.
* static lib only.
This commit is contained in:
74
media-sound/fluidlite/fluidlite-1.0.0.recipe
Normal file
74
media-sound/fluidlite/fluidlite-1.0.0.recipe
Normal file
@@ -0,0 +1,74 @@
|
||||
SUMMARY="A very light software real-time synthesizer"
|
||||
DESCRIPTION="FluidLite is a very light version of FluidSynth \
|
||||
designed to be hardware, platform and external dependency independant.
|
||||
It only uses standard C libraries.
|
||||
|
||||
It also adds support for SF3 files (SF2 files compressed with ogg vorbis) \
|
||||
and an additional setting to remove the constraint of channel 9 (drums): \
|
||||
fluid_settings_setstr(settings, "synth.drums-channel.active", "no"); \
|
||||
you can still select bank 128 on any channel to use drum kits.
|
||||
|
||||
FluidLite keeps very minimal functionnalities (settings and synth), \
|
||||
therefore MIDI file reading, realtime MIDI events and audio output must be \
|
||||
implemented externally."
|
||||
HOMEPAGE="https://github.com/divideconcept/FluidLite"
|
||||
COPYRIGHT="2007-2012 Josh Green, Pedro Lopez-Cabanillas, David Henningsson"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
gitRevision="b9573fd464ce3f872b2f5511b595bc67d4498466"
|
||||
SOURCE_URI="$HOMEPAGE/archive/$gitRevision.tar.gz"
|
||||
CHECKSUM_SHA256="e7501cee0f4b2312cf42b7a8eae671849416cb25c9dc7ca86ab9dce801225c7a"
|
||||
SOURCE_DIR="FluidLite-$gitRevision"
|
||||
PATCHES="fluidlite-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
fluidlite${secondaryArchSuffix} = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
fluidlite${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libfluidlite$secondaryArchSuffix = $portVersion compat >= 1
|
||||
"
|
||||
REQUIRES_devel="
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libogg$secondaryArchSuffix
|
||||
devel:libvorbis$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix .
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
mv $prefix/lib $prefix/lib2
|
||||
mkdir -p $(dirname $includeDir) $(dirname $libDir)
|
||||
mv $prefix/include $includeDir
|
||||
mv $prefix/lib2 $libDir
|
||||
|
||||
prepareInstalledDevelLib libfluidlite
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user