Skip to content

Commit

Permalink
aedi: update fluidsynth to 2.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Dec 31, 2024
1 parent 829f4b5 commit 565766e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aedi/target/library_tier2.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ def __init__(self, name='fluidsynth'):

def prepare_source(self, state: BuildState):
state.download_source(
'https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.4.1.tar.gz',
'd1e64155ac902116ed3d4dea512719d8c04ab3877db2e8fb160284379f570a2f')
'https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.4.2.tar.gz',
'22797942575e10347dab52ec43ebb9d3ace1d9b8569b271f434e2e1b1a4fe897',
patches='fluidsynth-sf3-support')

def configure(self, state: BuildState):
opts = state.options
Expand Down
11 changes: 11 additions & 0 deletions patch/fluidsynth-sf3-support.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/cmake_admin/FindSndFileLegacy.cmake
+++ b/cmake_admin/FindSndFileLegacy.cmake
@@ -70,7 +70,7 @@

# Check the features SndFile was built with
# 2024-01-02: Recent versions of libsndfile don't seem to provide a pkgconfig file and older version who did are lacking private libraries like OGG.
-if(FALSE) #PC_SNDFILE_FOUND
+if(TRUE) #PC_SNDFILE_FOUND
if("vorbis" IN_LIST PC_SNDFILE_STATIC_LIBRARIES)
set(SndFile_WITH_EXTERNAL_LIBS TRUE)
endif()

0 comments on commit 565766e

Please sign in to comment.