Skip to content

Commit

Permalink
Merge pull request #161 from OpenShot/recovery-menu
Browse files Browse the repository at this point in the history
Upgrade to JUCE 7.0.10
  • Loading branch information
jonoomph authored Dec 13, 2024
2 parents 23713d3 + 9b9d442 commit 6169091
Show file tree
Hide file tree
Showing 912 changed files with 93,269 additions and 28,747 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ mac-builder:
- build/install-x64/*
script:
- mkdir -p build
- cmake -B build -S . -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" -DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libc++" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D"CMAKE_INSTALL_PREFIX:PATH=build/install-x64" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -D"CMAKE_BUILD_TYPE:STRING=Release" -D"CMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk" -D"CMAKE_OSX_DEPLOYMENT_TARGET=10.9"
- cmake -B build -S . -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" -DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libc++" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D"CMAKE_INSTALL_PREFIX:PATH=build/install-x64" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -D"CMAKE_BUILD_TYPE:STRING=Release" -D"CMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk" -D"CMAKE_OSX_DEPLOYMENT_TARGET=10.9"
- cmake --build build -j 9
- cmake --install build
- PROJECT_VERSION=$(grep -E '^set\(PROJECT_VERSION_FULL "(.*)' CMakeLists.txt | awk '{print $2}' | tr -d '")')
Expand Down Expand Up @@ -99,7 +99,7 @@ trigger-pipeline:
stage: trigger-libopenshot
script:
- "curl -X POST -F token=$LIBOPENSHOT_PIPELINE_TOKEN -F ref=$CI_COMMIT_REF_NAME http://gitlab.openshot.org/api/v4/projects/1/trigger/pipeline"
when: always
when: on_success
dependencies: []
except:
- tags
Expand Down
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/Modules")
set(PROJECT_VERSION_FULL "0.3.3")
set(PROJECT_SO_VERSION 9)

#### Set C++ standard level
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

# Remove the dash and anything following, to get the #.#.# version for project()
string(REGEX REPLACE "\-.*$" "" VERSION_NUM "${PROJECT_VERSION_FULL}")

Expand Down Expand Up @@ -240,6 +245,7 @@ if(APPLE)
"-framework AudioToolbox"
"-framework QuartzCore"
"-framework Accelerate"
"-framework Security"
"-lobjc"
)
target_compile_options(openshot-audio PRIVATE
Expand Down
28 changes: 14 additions & 14 deletions JuceLibraryCode/AppConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,27 @@
/*
==============================================================================
In accordance with the terms of the JUCE 5 End-Use License Agreement, the
In accordance with the terms of the JUCE 7 End-Use License Agreement, the
JUCE Code in SECTION A cannot be removed, changed or otherwise rendered
ineffective unless you have a JUCE Indie or Pro license, or are using JUCE
under the GPL v3 license.
End User License Agreement: www.juce.com/juce-5-licence
End User License Agreement: www.juce.com/juce-7-licence
==============================================================================
*/

// BEGIN SECTION A

#ifndef JUCE_DISPLAY_SPLASH_SCREEN
#define JUCE_DISPLAY_SPLASH_SCREEN 0
#endif

#ifndef JUCE_REPORT_APP_USAGE
#define JUCE_REPORT_APP_USAGE 0
#define JUCE_DISPLAY_SPLASH_SCREEN 1
#endif

// END SECTION A

#define JUCE_USE_DARK_SPLASH_SCREEN 1

#define JUCE_PROJUCER_VERSION 0x50407
#define JUCE_PROJUCER_VERSION 0x7000a

//==============================================================================
#define JUCE_MODULE_AVAILABLE_juce_audio_basics 1
Expand All @@ -68,17 +64,13 @@
#endif

#ifndef JUCE_ASIO
//#define JUCE_ASIO 0
#define JUCE_ASIO 1
#endif

#ifndef JUCE_WASAPI
//#define JUCE_WASAPI 1
#endif

#ifndef JUCE_WASAPI_EXCLUSIVE
//#define JUCE_WASAPI_EXCLUSIVE 0
#endif

#ifndef JUCE_DIRECTSOUND
//#define JUCE_DIRECTSOUND 1
#endif
Expand All @@ -96,7 +88,11 @@
#endif

#ifndef JUCE_USE_ANDROID_OBOE
//#define JUCE_USE_ANDROID_OBOE 0
//#define JUCE_USE_ANDROID_OBOE 1
#endif

#ifndef JUCE_USE_OBOE_STABILIZED_CALLBACK
//#define JUCE_USE_OBOE_STABILIZED_CALLBACK 0
#endif

#ifndef JUCE_USE_ANDROID_OPENSLES
Expand Down Expand Up @@ -173,6 +169,10 @@
//#define JUCE_STRICT_REFCOUNTEDPOINTER 0
#endif

#ifndef JUCE_ENABLE_ALLOCATION_HOOKS
//#define JUCE_ENABLE_ALLOCATION_HOOKS 0
#endif

//==============================================================================
// juce_dsp flags:

Expand Down
2 changes: 1 addition & 1 deletion JuceLibraryCode/JuceHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/** If you've hit this error then the version of the Projucer that was used to generate this project is
older than the version of the JUCE modules being included. To fix this error, re-save your project
using the latest version of the Projucer or, if you aren't using the Projucer to manage your project,
remove the JUCE_PROJUCER_VERSION define from the AppConfig.h file.
remove the JUCE_PROJUCER_VERSION define.
*/
#error "This project was last saved using an outdated version of the Projucer! Re-save this project with the latest version to fix this error."
#endif
Expand Down
1 change: 0 additions & 1 deletion JuceLibraryCode/THESE_HEADERS_ARE_IGNORED

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2022 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provided under the terms of the ISC license
http://www.isc.org/downloads/software-support-policy/isc-license. Permission
To use, copy, modify, and/or distribute this software for any purpose with or
without fee is hereby granted provided that the above copyright notice and
this permission notice appear in all copies.
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/

namespace juce
{

bool AudioPlayHead::canControlTransport() { return false; }
void AudioPlayHead::transportPlay ([[maybe_unused]] bool shouldStartPlaying) {}
void AudioPlayHead::transportRecord ([[maybe_unused]] bool shouldStartRecording) {}
void AudioPlayHead::transportRewind() {}

} // namespace juce
Loading

0 comments on commit 6169091

Please sign in to comment.