-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to Fluidlite because latest Glib versions dropped Windows XP support and Fluidsynth needs Glib.
- Loading branch information
1 parent
a503ea9
commit d21303b
Showing
19 changed files
with
141 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
toolchains/mxe/packages/fluidlite/fluidlite-1-static-build.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
From 849751658e68ae734dcf493153d012da63c2652a Mon Sep 17 00:00:00 2001 | ||
From: Le Philousophe <lephilousophe@users.noreply.github.com> | ||
Date: Fri, 5 May 2023 22:58:29 +0200 | ||
Subject: [PATCH] Fix static build | ||
|
||
--- | ||
CMakeLists.txt | 3 ++- | ||
include/{fluidlite.h => fluidlite.h.in} | 6 ++++++ | ||
2 files changed, 8 insertions(+), 1 deletion(-) | ||
rename include/{fluidlite.h => fluidlite.h.in} (95%) | ||
|
||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 4aead6c..530651f 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -33,10 +33,11 @@ include(CheckIncludeFile) | ||
check_include_file(fcntl.h HAVE_FCNTL_H) | ||
|
||
list(APPEND HEADERS | ||
- include/fluidlite.h | ||
+ ${PROJECT_BINARY_DIR}/fluidlite.h | ||
) | ||
|
||
configure_file(src/version.cmake ${PROJECT_BINARY_DIR}/fluidlite/version.h @ONLY) | ||
+configure_file(include/fluidlite.h.in ${PROJECT_BINARY_DIR}/fluidlite.h) | ||
|
||
list(APPEND SCOPED_HEADERS | ||
include/fluidlite/types.h | ||
diff --git a/include/fluidlite.h b/include/fluidlite.h.in | ||
similarity index 95% | ||
rename from include/fluidlite.h | ||
rename to include/fluidlite.h.in | ||
index a159ddd..5e6ea4b 100644 | ||
--- a/include/fluidlite.h | ||
+++ b/include/fluidlite.h.in | ||
@@ -27,6 +27,12 @@ | ||
extern "C" { | ||
#endif | ||
|
||
+#cmakedefine01 FLUIDLITE_BUILD_SHARED | ||
+ | ||
+#if (FLUIDLITE_BUILD_SHARED == 0) && !defined(FLUIDLITE_STATIC) | ||
+#define FLUIDLITE_STATIC | ||
+#endif | ||
+ | ||
#if defined(_WIN32) | ||
#if defined(FLUIDLITE_STATIC) | ||
#define FLUIDSYNTH_API | ||
-- | ||
2.34.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
PKG := fluidlite | ||
$(PKG)_WEBSITE := https://github.com/divideconcept/FluidLite | ||
$(PKG)_DESCR := Fluidlite | ||
$(PKG)_IGNORE := | ||
$(PKG)_VERSION := d59d232 | ||
$(PKG)_CHECKSUM := f119ff09fa7e3a87874eb51546de66ce50342bbefd9ab11e37f292a71b097c5e | ||
$(PKG)_GH_CONF := divideconcept/FluidLite/branches/master | ||
$(PKG)_DEPS := cc | ||
|
||
define $(PKG)_BUILD | ||
cd '$(BUILD_DIR)' && '$(TARGET)-cmake' '$(SOURCE_DIR)' \ | ||
-DFLUIDLITE_BUILD_SHARED=OFF \ | ||
$($(PKG)_CONFIGURE_OPTS) | ||
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' VERBOSE=1 | ||
$(MAKE) -C '$(BUILD_DIR)' -j 1 install VERBOSE=1 | ||
endef |
38 changes: 0 additions & 38 deletions
38
toolchains/mxe/packages/fluidsynth-light/fluidsynth-light.mk
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...packages/sdl2/sdl2-9998-use-console.patch → ...packages/sdl2/sdl2-9997-use-console.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 7 additions & 9 deletions
16
...ages/sdl2/sdl2-9999-no-no-undefined.patch → ...ages/sdl2/sdl2-9998-no-no-undefined.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
toolchains/mxe/packages/sdl2/sdl2-9999-fix-sdl2-config-path.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From ab671b54d34363297f449053b53a035fec960879 Mon Sep 17 00:00:00 2001 | ||
From: Le Philousophe <lephilousophe@users.noreply.github.com> | ||
Date: Sun, 30 Jun 2024 16:15:18 +0200 | ||
Subject: [PATCH 3/3] PATCH4 | ||
|
||
|
||
diff --git a/sdl2-config.in b/sdl2-config.in | ||
index f6eca7668..1fe584a39 100644 | ||
--- a/sdl2-config.in | ||
+++ b/sdl2-config.in | ||
@@ -1,7 +1,7 @@ | ||
#!/bin/sh | ||
|
||
# Get the canonical path of the folder containing this script | ||
-bindir=$(cd -P -- "$(dirname -- "$0")" && printf '%s\n' "$(pwd -P)") | ||
+bindir=$(cd -P -- "$(dirname -- "$(readlink -e "$0")")" && printf '%s\n' "$(pwd -P)") | ||
|
||
# Calculate the canonical path of the prefix, relative to the folder of this script | ||
prefix=$(cd -P -- "$bindir/@bin_prefix_relpath@" && printf '%s\n' "$(pwd -P)") | ||
-- | ||
2.44.2 | ||
|
Oops, something went wrong.