configure.ac | 18 +-----------------
2 files changed, 5 insertions(+), 20 deletions(-)
-Index: giada/Makefile.am
-===================================================================
--- giada.orig/Makefile.am
+++ giada/Makefile.am
-@@ -385,9 +385,10 @@ cppFlags += \
+@@ -386,9 +386,10 @@
-D__WINDOWS_ASIO__ \
-D__WINDOWS_WASAPI__ \
-D__WINDOWS_DS__
-lsetupapi -limm32 -lglu32 -lshell32 -lversion \
-lopengl32 -loleaut32 -lshlwapi -lcomdlg32 -lflac -lvorbis -logg -lvorbisenc \
-lole32 -lwinmm -lksuser -lmfplat -lmfuuid -lwmcodecdspuuid
-@@ -401,9 +402,10 @@ if LINUX
+@@ -402,9 +403,10 @@
# Add preprocessor flags to enable ALSA, Pulse and JACK in RtAudio.
cppFlags += -D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__
-lfreetype -lfontconfig -lXrender -lXfixes -lXcursor -lXinerama
endif
-@@ -412,9 +414,10 @@ if FREEBSD
+@@ -413,9 +415,10 @@
# Add preprocessor flags to enable ALSA, Pulse and JACK in RtAudio.
cppFlags += -D__LINUX_PULSE__ -D__UNIX_JACK__
-lfreetype
endif
-@@ -427,9 +430,9 @@ sourcesExtra += src/utils/cocoa.mm src/u
+@@ -428,9 +431,9 @@
cppFlags += -D__MACOSX_CORE__
# -ObjC++: Juce requires to build some Objective C code
-lFLAC -logg -lvorbis -lvorbisenc -lopus
ldFlags += -framework CoreAudio -framework Cocoa -framework Carbon \
-Index: giada/configure.ac
-===================================================================
--- giada.orig/configure.ac
+++ giada/configure.ac
-@@ -123,23 +123,7 @@ AC_CHECK_HEADER(
+@@ -123,23 +123,7 @@
)
AC_LANG_POP
@@ -30,7 +30,7 @@
#include <string>
#include <cstring>
- #include <dirent.h>
+ #include <filesystem>
-#include "deps/json/single_include/nlohmann/json.hpp"
+#include "nlohmann/json.hpp"
#include "utils/string.h"
#include "utils/fs.h"
#include "utils/log.h"
#include "core/const.h"
-@@ -314,4 +314,4 @@
- ofs << j;
- return true;
- }
--}}}; // giada::m::conf::
-\ No newline at end of file
-+}}}; // giada::m::conf::
--- giada.orig/src/core/init.cpp
+++ giada/src/core/init.cpp
@@ -35,7 +35,7 @@