vaporizer2: fix compatibility with JUCE 8.0.11
This commit is contained in:
@@ -30,6 +30,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# LTO needs special setup on Linux
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail 'juce::juce_recommended_lto_flags' '# Not forcing LTO'
|
||||
|
||||
rm -rf clap-juce-extensions
|
||||
ln -s ${finalAttrs.passthru.clapJuceExtensions} clap-juce-extensions
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -56,11 +65,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.cmakeFeature "USE_SYSTEM_JUCE" "ON")
|
||||
];
|
||||
|
||||
# LTO needs special setup on Linux
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail 'juce::juce_recommended_lto_flags' '# Not forcing LTO'
|
||||
'';
|
||||
passthru.clapJuceExtensions = fetchFromGitHub {
|
||||
owner = "free-audio";
|
||||
repo = "clap-juce-extensions";
|
||||
rev = "645ed2fd0949d36639e3d63333f26136df6df769";
|
||||
hash = "sha256-Lx88nyEFjPLA5yh8rrqBdyZIxe/j0FgIHoyKcbjuuI4=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Wavetable synthesizer";
|
||||
|
||||
Reference in New Issue
Block a user