| @@ -25,6 +25,7 @@ source common.env | |||||
| CHROOT_CARLA_DIR="/tmp/carla-src" | CHROOT_CARLA_DIR="/tmp/carla-src" | ||||
| PKG_FOLDER="Carla_2.0-beta6-linux" | PKG_FOLDER="Carla_2.0-beta6-linux" | ||||
| export MAKE_ARGS="${MAKE_ARGS} SKIP_ZYN_SYNTH=true" | |||||
| # --------------------------------------------------------------------------------------------------------------------- | # --------------------------------------------------------------------------------------------------------------------- | ||||
| # function to remove old stuff | # function to remove old stuff | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * Carla Native Plugins | * Carla Native Plugins | ||||
| * Copyright (C) 2012-2017 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2012-2018 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -19,7 +19,6 @@ | |||||
| #include "CarlaNative.h" | #include "CarlaNative.h" | ||||
| #ifdef CARLA_OS_WIN | #ifdef CARLA_OS_WIN | ||||
| # define DISABLE_PLUGINS_FOR_WINDOWS_BUILD | |||||
| # undef HAVE_PYQT | # undef HAVE_PYQT | ||||
| #endif | #endif | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * Carla Native Plugins | * Carla Native Plugins | ||||
| * Copyright (C) 2012-2017 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2012-2018 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -19,7 +19,6 @@ | |||||
| #include "CarlaNative.h" | #include "CarlaNative.h" | ||||
| #ifdef CARLA_OS_WIN | #ifdef CARLA_OS_WIN | ||||
| # define DISABLE_PLUGINS_FOR_WINDOWS_BUILD | |||||
| # undef HAVE_PYQT | # undef HAVE_PYQT | ||||
| #endif | #endif | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * Carla Native Plugins | * Carla Native Plugins | ||||
| * Copyright (C) 2012-2017 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2012-2018 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -20,7 +20,6 @@ | |||||
| #include "CarlaUtils.hpp" | #include "CarlaUtils.hpp" | ||||
| #ifdef CARLA_OS_WIN | #ifdef CARLA_OS_WIN | ||||
| # define DISABLE_PLUGINS_FOR_WINDOWS_BUILD | |||||
| # undef HAVE_PYQT | # undef HAVE_PYQT | ||||
| #endif | #endif | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * Carla Native Plugins | * Carla Native Plugins | ||||
| * Copyright (C) 2012-2017 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2012-2018 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -20,7 +20,6 @@ | |||||
| #include "CarlaUtils.hpp" | #include "CarlaUtils.hpp" | ||||
| #ifdef CARLA_OS_WIN | #ifdef CARLA_OS_WIN | ||||
| # define DISABLE_PLUGINS_FOR_WINDOWS_BUILD | |||||
| # undef HAVE_PYQT | # undef HAVE_PYQT | ||||
| #endif | #endif | ||||
| @@ -37,7 +37,7 @@ OBJS_all += \ | |||||
| $(OBJDIR)/zynaddsubfx-fx.cpp.o \ | $(OBJDIR)/zynaddsubfx-fx.cpp.o \ | ||||
| $(OBJDIR)/zynaddsubfx-src.cpp.o | $(OBJDIR)/zynaddsubfx-src.cpp.o | ||||
| ifneq ($(MACOS_OR_WIN32),true) | |||||
| ifneq ($(SKIP_ZYN_SYNTH),true) | |||||
| OBJS_all += \ | OBJS_all += \ | ||||
| $(OBJDIR)/zynaddsubfx-synth.cpp.o | $(OBJDIR)/zynaddsubfx-synth.cpp.o | ||||
| endif | endif | ||||
| @@ -12,6 +12,7 @@ endif | |||||
| ifeq ($(MACOS_OR_WIN32),true) | ifeq ($(MACOS_OR_WIN32),true) | ||||
| HAVE_DGL = true | HAVE_DGL = true | ||||
| SKIP_ZYN_SYNTH = true | |||||
| else | else | ||||
| HAVE_DGL = $(shell pkg-config --exists gl x11 && echo true) | HAVE_DGL = $(shell pkg-config --exists gl x11 && echo true) | ||||
| endif | endif | ||||
| @@ -125,6 +126,9 @@ ZYN_DSP_FLAGS += $(shell pkg-config --cflags fftw3 zlib) | |||||
| ZYN_DSP_LIBS = $(ZYN_BASE_LIBS) | ZYN_DSP_LIBS = $(ZYN_BASE_LIBS) | ||||
| ZYN_DSP_LIBS += $(shell pkg-config --libs fftw3 zlib) | ZYN_DSP_LIBS += $(shell pkg-config --libs fftw3 zlib) | ||||
| ifeq ($(SKIP_ZYN_SYNTH),true) | |||||
| ZYN_DSP_LIBS += -DSKIP_ZYN_SYNTH | |||||
| else | |||||
| # UI flags | # UI flags | ||||
| ifeq ($(HAVE_ZYN_UI_DEPS),true) | ifeq ($(HAVE_ZYN_UI_DEPS),true) | ||||
| @@ -156,6 +160,7 @@ else # HAVE_ZYN_UI_DEPS | |||||
| ZYN_DSP_FLAGS += -DNO_UI | ZYN_DSP_FLAGS += -DNO_UI | ||||
| endif # SKIP_ZYN_SYNTH | |||||
| endif # HAVE_ZYN_UI_DEPS | endif # HAVE_ZYN_UI_DEPS | ||||
| endif # HAVE_ZYN_DEPS | endif # HAVE_ZYN_DEPS | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * Carla Native Plugins | * Carla Native Plugins | ||||
| * Copyright (C) 2012-2017 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2012-2018 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -62,7 +62,7 @@ void carla_register_all_native_external_plugins(void) | |||||
| #ifdef HAVE_ZYN_DEPS | #ifdef HAVE_ZYN_DEPS | ||||
| // ZynAddSubFX | // ZynAddSubFX | ||||
| carla_register_native_plugin_zynaddsubfx_fx(); | carla_register_native_plugin_zynaddsubfx_fx(); | ||||
| # ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD | |||||
| # ifndef SKIP_ZYN_SYNTH | |||||
| carla_register_native_plugin_zynaddsubfx_synth(); | carla_register_native_plugin_zynaddsubfx_synth(); | ||||
| # endif | # endif | ||||
| #endif | #endif | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * Carla Native Plugins | * Carla Native Plugins | ||||
| * Copyright (C) 2012-2017 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2012-2018 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -356,7 +356,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = { | |||||
| /* copyright */ "GNU GPL v2+", | /* copyright */ "GNU GPL v2+", | ||||
| DESCFUNCS | DESCFUNCS | ||||
| }, | }, | ||||
| # ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD | |||||
| # ifndef SKIP_ZYN_SYNTH | |||||
| { | { | ||||
| /* category */ NATIVE_PLUGIN_CATEGORY_SYNTH, | /* category */ NATIVE_PLUGIN_CATEGORY_SYNTH, | ||||
| /* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_SYNTH | /* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_SYNTH | ||||
| @@ -381,7 +381,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = { | |||||
| /* copyright */ "GNU GPL v2+", | /* copyright */ "GNU GPL v2+", | ||||
| DESCFUNCS | DESCFUNCS | ||||
| }, | }, | ||||
| # endif // ! DISABLE_PLUGINS_FOR_WINDOWS_BUILD | |||||
| # endif // ! SKIP_ZYN_SYNTH | |||||
| #endif // HAVE_ZYN_DEPS | #endif // HAVE_ZYN_DEPS | ||||
| // -------------------------------------------------------------------------------------------------------------------- | // -------------------------------------------------------------------------------------------------------------------- | ||||