[SCM] juce/master: Clamped audio-plugin defines

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Thu Apr 7 21:03:12 UTC 2016


The following commit has been merged in the master branch:
commit 0f239e2c4d5941b1d738611f256954e02ba22029
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Thu Apr 7 20:20:59 2016 +0200

    Clamped audio-plugin defines

diff --git a/debian/patches/debian_fixed-defines.patch b/debian/patches/debian_fixed-defines.patch
index 974b919..ee38787 100644
--- a/debian/patches/debian_fixed-defines.patch
+++ b/debian/patches/debian_fixed-defines.patch
@@ -2,10 +2,12 @@ Description: clamp a few defines to fixed values
  upstream allows to make Debug and Release builds; and Release builds with some
  debugging options on.
  our libjuce.so doesn't support so many configurations, so we disable a few.
+ .
+ Also on Debian we only currently only support a single plugin-type: LV2
 Author: IOhannes m zmölnig
 Origin: Debian
 Forwarded: not-needed
-Last-Update: 2016-02-10
+Last-Update: 2016-04-07
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- juce.orig/modules/juce_core/juce_core.h
@@ -43,3 +45,56 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  /** Config: JUCE_FORCE_DEBUG
  
      Normally, JUCE_DEBUG is set to 1 or 0 based on compiler and project settings,
+--- juce.orig/modules/juce_audio_plugin_client/utility/juce_CheckSettingMacros.h
++++ juce/modules/juce_audio_plugin_client/utility/juce_CheckSettingMacros.h
+@@ -22,6 +22,42 @@
+   ==============================================================================
+ */
+ 
++/* Debian specific overrides */
++#if JucePlugin_Build_LV2 && ! defined (JucePlugin_LV2URI)
++# warning JUCE/Debian using default LV2URI
++# define JucePlugin_LV2URI               JucePlugin_Name
++#endif
++
++#if JucePlugin_Build_VST
++# warning JUCE/Debian disabled VST support
++# undef JucePlugin_Build_VST
++# define JucePlugin_Build_VST 0
++#endif
++
++#if JucePlugin_Build_VST3
++# warning JUCE/Debian disabled VST3 support
++# undef JucePlugin_Build_VST3
++# define JucePlugin_Build_VST3 0
++#endif
++
++#if JucePlugin_Build_AU
++# warning JUCE/Debian disabled AU support
++# undef JucePlugin_Build_AU
++# define JucePlugin_Build_AU 0
++#endif
++
++#if JucePlugin_Build_RTAS
++# warning JUCE/Debian disabled RTAS support
++# undef JucePlugin_Build_RTAS
++# define JucePlugin_Build_RTAS 0
++#endif
++
++#if JucePlugin_Build_AAX
++# warning JUCE/Debian disabled AAX support
++# undef JucePlugin_Build_AAX
++# define JucePlugin_Build_AAX 0
++#endif
++
+ // The following checks should cause a compile error if you've forgotten to
+ // define all your plugin settings properly..
+ 
+@@ -31,6 +67,7 @@
+  #error "You need to enable at least one plugin format!"
+ #endif
+ 
++
+ #ifndef JucePlugin_IsSynth
+  #error "You need to define the JucePlugin_IsSynth value!"
+ #endif

-- 
juce packaging



More information about the pkg-multimedia-commits mailing list