Browse Source

Tweaks for Projucer in distrho-juce7 package

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 3 years ago
parent
commit
14effa86d8
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 21 additions and 1 deletions
  1. +1
    -1
      sources/libs/distrho-juce7/debian/changelog
  2. +18
    -0
      sources/libs/distrho-juce7/debian/patches/05_projucer-setup.patch
  3. +2
    -0
      sources/libs/distrho-juce7/debian/rules

+ 1
- 1
sources/libs/distrho-juce7/debian/changelog View File

@@ -1,4 +1,4 @@
distrho-juce7 (6:7.0.0~git2022-06-22-16255740-1kxstudio2) focal; urgency=medium
distrho-juce7 (6:7.0.0~git2022-06-22-16255740-1kxstudio3) focal; urgency=medium


* Initial package * Initial package




+ 18
- 0
sources/libs/distrho-juce7/debian/patches/05_projucer-setup.patch View File

@@ -24,3 +24,21 @@ index b84d91da6..0ae17c508 100644
//============================================================================== //==============================================================================
template <class FileType> template <class FileType>
diff --git a/extras/Projucer/Source/Settings/jucer_StoredSettings.cpp b/extras/Projucer/Source/Settings/jucer_StoredSettings.cpp
index b5608a7..8e77343 100644
--- a/extras/Projucer/Source/Settings/jucer_StoredSettings.cpp
+++ b/extras/Projucer/Source/Settings/jucer_StoredSettings.cpp
@@ -358,11 +358,11 @@ static String getFallbackPathForOS (const Identifier& key, DependencyPathOS os)
{
if (key == Ids::jucePath)
{
- return (os == TargetOS::windows ? "C:\\JUCE" : "~/JUCE");
+ return (os == TargetOS::windows ? "C:\\JUCE" : "/opt/kxstudio/include/JUCE-6.1.6");
}
else if (key == Ids::defaultJuceModulePath)
{
- return (os == TargetOS::windows ? "C:\\JUCE\\modules" : "~/JUCE/modules");
+ return (os == TargetOS::windows ? "C:\\JUCE\\modules" : "/opt/kxstudio/include/JUCE-6.1.6/modules");
}
else if (key == Ids::defaultUserModulePath)
{

+ 2
- 0
sources/libs/distrho-juce7/debian/rules View File

@@ -2,6 +2,8 @@


include /usr/share/dpkg/kxstudio.mk include /usr/share/dpkg/kxstudio.mk


export CXXFLAGS += -DJUCER_ENABLE_GPL_MODE=1

override_dh_auto_configure: override_dh_auto_configure:
dh_auto_configure -- \ dh_auto_configure -- \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \


Loading…
Cancel
Save