configure.ac | 18 +-----------------
2 files changed, 5 insertions(+), 20 deletions(-)
+Index: giada/Makefile.am
+===================================================================
--- giada.orig/Makefile.am
+++ giada/Makefile.am
-@@ -366,9 +366,10 @@
+@@ -385,9 +385,10 @@ cppFlags += \
-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
-@@ -382,9 +383,10 @@
+@@ -401,9 +402,10 @@ if LINUX
# 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
-@@ -393,9 +395,10 @@
+@@ -412,9 +414,10 @@ if FREEBSD
# Add preprocessor flags to enable ALSA, Pulse and JACK in RtAudio.
cppFlags += -D__LINUX_PULSE__ -D__UNIX_JACK__
-lfreetype
endif
-@@ -409,8 +412,9 @@
+@@ -427,9 +430,9 @@ sourcesExtra += src/utils/cocoa.mm src/u
+ cppFlags += -D__MACOSX_CORE__
# -ObjC++: Juce requires to build some Objective C code
- cxxFlags += -ObjC++
+-cxxFlags += -ObjC++
+cppFlags += $(RTMIDI_CFLAGS)
-ldAdd += -lsndfile -lfltk -lrtmidi -lsamplerate -lm -lpthread \
+ldAdd += -lsndfile -lfltk $(RTMIDI_LIBS) -lsamplerate -lm -lpthread \
- -lFLAC -logg -lvorbis -lvorbisenc
+ -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 @@
+@@ -123,23 +123,7 @@ AC_CHECK_HEADER(
)
AC_LANG_POP