mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
fluidlite: bump to latest github version (#6683)
* 1.0.9 is inofficial, located in fluid_config.h * fixes from PR: shared library is built by default, changes to make the build using system libraries. * Among many fixes and improvements there a fix for the function 'fluid_synth_sfload' (return of -1 in case of missing or invalid file). The buggy function is also used in haiku, midi-kit, SoftSynth.cpp.
This commit is contained in:
@@ -12,22 +12,26 @@ 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"
|
||||
COPYRIGHT="2016 Robin Lobel"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="3"
|
||||
srcGitRev="ba3a29d5976c0797b204ef5729430c295aab19d8"
|
||||
REVISION="1"
|
||||
srcGitRev="e64b4b3161cab212fffe7d1d3fb1c05750c363cc"
|
||||
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="80ea81bb3ce7e20c0aeaf95fc4660b9f0f40d004acdb7eee1b6a9a2c7aeb1075"
|
||||
CHECKSUM_SHA256="b6c4bff689bfd2b8e57b771640da019ee6cf3580a96ddced3954f9f84b66410f"
|
||||
SOURCE_DIR="FluidLite-$srcGitRev"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
fluidlite${secondaryArchSuffix} = $portVersion
|
||||
fluidlite$secondaryArchSuffix = $portVersion
|
||||
lib:libfluidlite$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libogg$secondaryArchSuffix
|
||||
lib:libvorbis$secondaryArchSuffix
|
||||
lib:libvorbisfile$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
@@ -35,12 +39,17 @@ PROVIDES_devel="
|
||||
devel:libfluidlite$secondaryArchSuffix = $portVersion compat >= 1
|
||||
"
|
||||
REQUIRES_devel="
|
||||
fluidlite$secondaryArchSuffix == $portVersion base
|
||||
devel:liboggsecondaryArchSuffix
|
||||
devel:libvorbis$secondaryArchSuffix
|
||||
devel:libvorbisfile$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libogg$secondaryArchSuffix
|
||||
devel:libvorbis$secondaryArchSuffix
|
||||
devel:libvorbisfile$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
@@ -52,7 +61,11 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix .
|
||||
cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs \
|
||||
-DENABLE_SF3=YES \
|
||||
-DSTB_VORBIS=NO .
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -60,12 +73,8 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
mv $prefix/lib $prefix/lib2
|
||||
mkdir -p $(dirname $includeDir) $(dirname $libDir)
|
||||
mv $prefix/include $includeDir
|
||||
mv $prefix/lib2 $libDir
|
||||
|
||||
prepareInstalledDevelLib libfluidlite
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
Reference in New Issue
Block a user