Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JUCE_MODULES_PATH config variable #97

Merged
merged 2 commits into from
May 19, 2020

Conversation

ferdnyc
Copy link
Contributor

@ferdnyc ferdnyc commented May 19, 2020

(See Debian bug 925755 for background.)

Debian have a distro package juce-modules-source that they can build against, but they need to be able to point us there. This PR adds a JUCE_MODULES_PATH cache variable, default to ${CMAKE_CURRENT_BINARY_DIR}/JuceLibraryCode/modules, that can be overridden at build system generation time via:

cmake -DJUCE_MODULES_PATH=/usr/share/juce/modules

Tha'll allow Debian to build against their version of JUCE, instead of our bundled one.

I also reverted the old isfinite() fix patch, so that we're using an unpatched version of JUCE, since they'll be doing the same. I figured out how to fix the isfinite() thing from the libopenshot build configs end, and a corresponding PR there will ensure that this still works.

Bumped the libopenshot-audio version to 0.2.0-dev3 because of the build system changes.

Debian have a distro package juce-modules-source that they can
build against, but they need to be able to point us there.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925755
@ferdnyc ferdnyc added the build Issues related to compiling or installing libopenshot-audio and its dependencies label May 19, 2020
@ferdnyc
Copy link
Contributor Author

ferdnyc commented May 19, 2020

Merging, in the hopes of moving things forward on a Debian package upgrade. (They're still packaging OpenShot 2.4.3!)

@ferdnyc ferdnyc merged commit 7cec182 into OpenShot:develop May 19, 2020
@ferdnyc ferdnyc deleted the module-path-config branch May 19, 2020 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues related to compiling or installing libopenshot-audio and its dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant