diff --git a/sdk/juce/JUCE-4.3.1.patch b/sdk/juce/JUCE-4.3.1.patch new file mode 100644 index 0000000..e69de29 diff --git a/sdk/juce/JUCE-4.3.1.zip b/sdk/juce/JUCE-4.3.1.zip new file mode 100644 index 0000000..b96ae87 Binary files /dev/null and b/sdk/juce/JUCE-4.3.1.zip differ diff --git a/sdk/juce/JUCE-5.4.5.patch b/sdk/juce/JUCE-5.4.5.patch new file mode 100644 index 0000000..6034c71 --- /dev/null +++ b/sdk/juce/JUCE-5.4.5.patch @@ -0,0 +1,30 @@ +diff -ruN temp/JUCE-5.4.5/extras/Projucer/Builds/LinuxMakefile/Makefile ./JUCE-5.4.5/extras/Projucer/Builds/LinuxMakefile/Makefile +--- temp/JUCE-5.4.5/extras/Projucer/Builds/LinuxMakefile/Makefile 2019-10-16 11:09:54.000000000 +0200 ++++ ./JUCE-5.4.5/extras/Projucer/Builds/LinuxMakefile/Makefile 2019-11-22 08:37:05.501409996 +0100 +@@ -24,6 +24,7 @@ + endif + + JUCE_ARCH_LABEL := $(shell uname -m) ++EXTRA_INCLUDES := -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 + + ifeq ($(CONFIG),Debug) + JUCE_BINDIR := build +@@ -35,7 +36,8 @@ + TARGET_ARCH := -march=native + endif + +- JUCE_CPPFLAGS := $(DEPFLAGS) -DLINUX=1 -DDEBUG=1 -D_DEBUG=1 -DJUCER_LINUX_MAKE_6D53C8B4=1 -DJUCE_APP_VERSION=5.4.5 -DJUCE_APP_VERSION_HEX=0x50405 $(shell pkg-config --cflags x11 xinerama xext freetype2 webkit2gtk-4.0 gtk+-x11-3.0) -pthread -I../../JuceLibraryCode -I../../../../modules $(CPPFLAGS) ++ ++ JUCE_CPPFLAGS := $(DEPFLAGS) -DLINUX=1 -DDEBUG=1 -D_DEBUG=1 -DJUCER_LINUX_MAKE_6D53C8B4=1 -DJUCE_APP_VERSION=5.4.5 -DJUCE_APP_VERSION_HEX=0x50405 $(shell pkg-config --cflags x11 xinerama xext freetype2 webkit2gtk-4.0 gtk+-x11-3.0) -pthread -I../../JuceLibraryCode -I../../../../modules $(CPPFLAGS) $(EXTRA_INCLUDES) + JUCE_CPPFLAGS_APP := -DJucePlugin_Build_VST=0 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0 -DJucePlugin_Build_Unity=0 + JUCE_TARGET_APP := Projucer + +@@ -56,7 +58,7 @@ + TARGET_ARCH := -march=native + endif + +- JUCE_CPPFLAGS := $(DEPFLAGS) -DLINUX=1 -DNDEBUG=1 -DJUCER_LINUX_MAKE_6D53C8B4=1 -DJUCE_APP_VERSION=5.4.5 -DJUCE_APP_VERSION_HEX=0x50405 $(shell pkg-config --cflags x11 xinerama xext freetype2 webkit2gtk-4.0 gtk+-x11-3.0) -pthread -I../../JuceLibraryCode -I../../../../modules $(CPPFLAGS) ++ JUCE_CPPFLAGS := $(DEPFLAGS) -DLINUX=1 -DNDEBUG=1 -DJUCER_LINUX_MAKE_6D53C8B4=1 -DJUCE_APP_VERSION=5.4.5 -DJUCE_APP_VERSION_HEX=0x50405 $(shell pkg-config --cflags x11 xinerama xext freetype2 webkit2gtk-4.0 gtk+-x11-3.0) -pthread -I../../JuceLibraryCode -I../../../../modules $(CPPFLAGS) $(EXTRA_INCLUDES) + JUCE_CPPFLAGS_APP := -DJucePlugin_Build_VST=0 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0 -DJucePlugin_Build_Unity=0 + JUCE_TARGET_APP := Projucer + diff --git a/sdk/juce/JUCE-5.4.5.zip b/sdk/juce/JUCE-5.4.5.zip new file mode 100644 index 0000000..d514a8a Binary files /dev/null and b/sdk/juce/JUCE-5.4.5.zip differ diff --git a/sdk/juce/JuceHeader.h.JUCE-4.3.1 b/sdk/juce/JuceHeader.h.JUCE-4.3.1 new file mode 100644 index 0000000..b4f8ba2 --- /dev/null +++ b/sdk/juce/JuceHeader.h.JUCE-4.3.1 @@ -0,0 +1,42 @@ +/* + + IMPORTANT! This file is auto-generated each time you save your + project - if you alter its contents, your changes may be overwritten! + + This is the header file that your files should include in order to get all the + JUCE library headers. You should avoid including the JUCE headers directly in + your own source files, because that wouldn't pick up the correct configuration + options for your app. + +*/ + +#ifndef __APPHEADERFILE_FGWBAQ__ +#define __APPHEADERFILE_FGWBAQ__ + +#include "AppConfig.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#if ! DONT_SET_USING_JUCE_NAMESPACE + // If your code uses a lot of JUCE classes, then this will obviously save you + // a lot of typing, but can be disabled by setting DONT_SET_USING_JUCE_NAMESPACE. + using namespace juce; +#endif + +namespace ProjectInfo +{ + const char* const projectName = JucePlugin_Name; + const char* const versionString = JucePlugin_VersionString; + const int versionNumber = JucePlugin_VersionCode; +} + +#endif // __APPHEADERFILE_FGWBAQ__ diff --git a/sdk/juce/JuceHeader.h.JUCE-5.4.5 b/sdk/juce/JuceHeader.h.JUCE-5.4.5 new file mode 100644 index 0000000..b4f8ba2 --- /dev/null +++ b/sdk/juce/JuceHeader.h.JUCE-5.4.5 @@ -0,0 +1,42 @@ +/* + + IMPORTANT! This file is auto-generated each time you save your + project - if you alter its contents, your changes may be overwritten! + + This is the header file that your files should include in order to get all the + JUCE library headers. You should avoid including the JUCE headers directly in + your own source files, because that wouldn't pick up the correct configuration + options for your app. + +*/ + +#ifndef __APPHEADERFILE_FGWBAQ__ +#define __APPHEADERFILE_FGWBAQ__ + +#include "AppConfig.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#if ! DONT_SET_USING_JUCE_NAMESPACE + // If your code uses a lot of JUCE classes, then this will obviously save you + // a lot of typing, but can be disabled by setting DONT_SET_USING_JUCE_NAMESPACE. + using namespace juce; +#endif + +namespace ProjectInfo +{ + const char* const projectName = JucePlugin_Name; + const char* const versionString = JucePlugin_VersionString; + const int versionNumber = JucePlugin_VersionCode; +} + +#endif // __APPHEADERFILE_FGWBAQ__ diff --git a/sdk/juce/Makefile.JUCE-4.3.1 b/sdk/juce/Makefile.JUCE-4.3.1 new file mode 100644 index 0000000..f5bf973 --- /dev/null +++ b/sdk/juce/Makefile.JUCE-4.3.1 @@ -0,0 +1,28 @@ +CONFIG ?= release +PKG_VER := JUCE-4.3.1 +TARGET := LINUX +BUILD_TARGET := libjuce.a + +SRCS := modules/juce_core/juce_core.cpp +SRCS += modules/juce_data_structures/juce_data_structures.cpp +SRCS += modules/juce_events/juce_events.cpp +SRCS += modules/juce_graphics/juce_graphics.cpp +SRCS += modules/juce_gui_basics/juce_gui_basics.cpp +SRCS += modules/juce_gui_extra/juce_gui_extra.cpp +SRCS += modules/juce_audio_basics/juce_audio_basics.cpp +SRCS += modules/juce_audio_devices/juce_audio_devices.cpp +SRCS += modules/juce_audio_formats/juce_audio_formats.cpp +SRCS += modules/juce_audio_processors/juce_audio_processors.cpp +SRCS += modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp +SRCS += modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +SRCS += modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp + +DEFINES := -DHAVE_LROUND +INCLUDES := -I ../vst/vstsdk2.4 + +DEFINES += -DJUCE_APP_CONFIG_HEADER=\"JuceHeader.h.${PKG_VER}\" +INCLUDES += -I${PKG_VER}/modules + +include pkg.mk + + diff --git a/sdk/juce/Makefile.JUCE-5.4.5 b/sdk/juce/Makefile.JUCE-5.4.5 new file mode 100644 index 0000000..e811ee7 --- /dev/null +++ b/sdk/juce/Makefile.JUCE-5.4.5 @@ -0,0 +1,28 @@ +CONFIG ?= release +PKG_VER := JUCE-5.4.5 +TARGET := LINUX +BUILD_TARGET := libjuce.a + +SRCS := modules/juce_core/juce_core.cpp +SRCS += modules/juce_data_structures/juce_data_structures.cpp +SRCS += modules/juce_events/juce_events.cpp +SRCS += modules/juce_graphics/juce_graphics.cpp +SRCS += modules/juce_gui_basics/juce_gui_basics.cpp +SRCS += modules/juce_gui_extra/juce_gui_extra.cpp +SRCS += modules/juce_audio_basics/juce_audio_basics.cpp +SRCS += modules/juce_audio_devices/juce_audio_devices.cpp +SRCS += modules/juce_audio_formats/juce_audio_formats.cpp +SRCS += modules/juce_audio_processors/juce_audio_processors.cpp +SRCS += modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp +SRCS += modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +SRCS += modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp + +DEFINES := -DHAVE_LROUND +INCLUDES := -I ../vst/vstsdk2.4 + +DEFINES += -DJUCE_APP_CONFIG_HEADER=\"JuceHeader.h.${PKG_VER}\" +INCLUDES += -I${PKG_VER}/modules + +include pkg.mk + +