From 934f12b2d6daf6efbc47f5ad7d79e3d086406008 Mon Sep 17 00:00:00 2001 From: Freaxed Date: Tue, 8 Mar 2022 12:29:37 +0100 Subject: [PATCH] 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. --- ...te-1.0.0.recipe => fluidlite-1.0.9.recipe} | 33 ++++++++++++------- 1 file changed, 21 insertions(+), 12 deletions(-) rename media-sound/fluidlite/{fluidlite-1.0.0.recipe => fluidlite-1.0.9.recipe} (67%) diff --git a/media-sound/fluidlite/fluidlite-1.0.0.recipe b/media-sound/fluidlite/fluidlite-1.0.9.recipe similarity index 67% rename from media-sound/fluidlite/fluidlite-1.0.0.recipe rename to media-sound/fluidlite/fluidlite-1.0.9.recipe index 96d100bd1..9b91d6be8 100644 --- a/media-sound/fluidlite/fluidlite-1.0.0.recipe +++ b/media-sound/fluidlite/fluidlite-1.0.9.recipe @@ -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 \