-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into refac/memory
- Loading branch information
Showing
566 changed files
with
18,781 additions
and
29,281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,10 @@ IF(COMMAND CMAKE_POLICY) | |
CMAKE_POLICY(SET CMP0057 NEW) | ||
ENDIF(COMMAND CMAKE_POLICY) | ||
|
||
|
||
# Import of windows.h breaks min()/max() | ||
ADD_DEFINITIONS(-DNOMINMAX) | ||
|
||
INCLUDE(PluginList) | ||
INCLUDE(CheckSubmodules) | ||
INCLUDE(AddFileDependencies) | ||
|
@@ -27,24 +31,24 @@ INCLUDE(GenerateExportHeader) | |
|
||
STRING(TOUPPER "${CMAKE_PROJECT_NAME}" PROJECT_NAME_UCASE) | ||
|
||
SET(PROJECT_YEAR 2019) | ||
SET(PROJECT_YEAR 2020) | ||
|
||
SET(PROJECT_AUTHOR "LMMS Developers") | ||
SET(PROJECT_URL "https://lmms.io") | ||
SET(PROJECT_EMAIL "[email protected]") | ||
SET(PROJECT_DESCRIPTION "${PROJECT_NAME_UCASE} - Free music production software") | ||
SET(PROJECT_COPYRIGHT "2008-${PROJECT_YEAR} ${PROJECT_AUTHOR}") | ||
SET(VERSION_MAJOR "1") | ||
SET(VERSION_MINOR "2") | ||
SET(VERSION_RELEASE "1") | ||
SET(VERSION_STAGE "") | ||
SET(VERSION_BUILD "0") | ||
SET(VERSION_MINOR "3") | ||
SET(VERSION_RELEASE "0") | ||
SET(VERSION_STAGE "alpha") | ||
SET(VERSION_BUILD "") | ||
SET(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_RELEASE}") | ||
IF(VERSION_STAGE) | ||
SET(VERSION "${VERSION}-${VERSION_STAGE}") | ||
ENDIF() | ||
IF(VERSION_BUILD) | ||
SET(VERSION "${VERSION}.${VERSION_BUILD}") | ||
SET(VERSION "${VERSION}-${VERSION_BUILD}") | ||
ENDIF() | ||
|
||
# Override version information for non-base builds | ||
|
@@ -58,6 +62,8 @@ OPTION(WANT_CARLA "Include Carla plugin" ON) | |
OPTION(WANT_CMT "Include Computer Music Toolkit LADSPA plugins" ON) | ||
OPTION(WANT_JACK "Include JACK (Jack Audio Connection Kit) support" ON) | ||
OPTION(WANT_WEAKJACK "Loosely link JACK libraries" ON) | ||
OPTION(WANT_LV2 "Include Lv2 plugins" ON) | ||
OPTION(WANT_SUIL "Include SUIL for LV2 plugin UIs" ON) | ||
OPTION(WANT_MP3LAME "Include MP3/Lame support" ON) | ||
OPTION(WANT_OGGVORBIS "Include OGG/Vorbis support" ON) | ||
OPTION(WANT_PULSEAUDIO "Include PulseAudio support" ON) | ||
|
@@ -75,6 +81,7 @@ OPTION(WANT_VST_32 "Include 32-bit VST support" ON) | |
OPTION(WANT_VST_64 "Include 64-bit VST support" ON) | ||
OPTION(WANT_WINMM "Include WinMM MIDI support" OFF) | ||
OPTION(WANT_DEBUG_FPE "Debug floating point exceptions" OFF) | ||
OPTION(BUNDLE_QT_TRANSLATIONS "Install Qt translation files for LMMS" OFF) | ||
|
||
|
||
IF(LMMS_BUILD_APPLE) | ||
|
@@ -94,14 +101,13 @@ ENDIF(LMMS_BUILD_APPLE) | |
|
||
IF(LMMS_BUILD_WIN32) | ||
SET(WANT_ALSA OFF) | ||
SET(WANT_JACK OFF) | ||
SET(WANT_PULSEAUDIO OFF) | ||
SET(WANT_SNDIO OFF) | ||
SET(WANT_SOUNDIO OFF) | ||
SET(WANT_WINMM ON) | ||
SET(BUNDLE_QT_TRANSLATIONS ON) | ||
SET(LMMS_HAVE_WINMM TRUE) | ||
SET(STATUS_ALSA "<not supported on this platform>") | ||
SET(STATUS_JACK "<not supported on this platform>") | ||
SET(STATUS_PULSEAUDIO "<not supported on this platform>") | ||
SET(STATUS_SOUNDIO "<disabled in this release>") | ||
SET(STATUS_WINMM "OK") | ||
|
@@ -171,6 +177,17 @@ ENDIF() | |
# Resolve Qt5::qmake to full path for use in packaging scripts | ||
GET_TARGET_PROPERTY(QT_QMAKE_EXECUTABLE "${Qt5Core_QMAKE_EXECUTABLE}" IMPORTED_LOCATION) | ||
|
||
# Find the location of Qt translation files | ||
execute_process(COMMAND ${QT_QMAKE_EXECUTABLE} -query QT_INSTALL_TRANSLATIONS | ||
OUTPUT_VARIABLE QT_TRANSLATIONS_DIR | ||
OUTPUT_STRIP_TRAILING_WHITESPACE | ||
ERROR_QUIET | ||
) | ||
IF(EXISTS "${QT_TRANSLATIONS_DIR}") | ||
MESSAGE("-- Found Qt translations in ${QT_TRANSLATIONS_DIR}") | ||
ADD_DEFINITIONS(-D'QT_TRANSLATIONS_DIR="${QT_TRANSLATIONS_DIR}"') | ||
ENDIF() | ||
|
||
# check for libsndfile | ||
FIND_PACKAGE(SndFile REQUIRED) | ||
IF(NOT SNDFILE_FOUND) | ||
|
@@ -181,6 +198,44 @@ IF(NOT SNDFILE_VERSION VERSION_LESS 1.0.26) | |
SET(LMMS_HAVE_SF_COMPLEVEL TRUE) | ||
ENDIF() | ||
|
||
IF(WANT_LV2) | ||
IF(PKG_CONFIG_FOUND) | ||
PKG_CHECK_MODULES(LV2 lv2) | ||
PKG_CHECK_MODULES(LILV lilv-0) | ||
ENDIF() | ||
IF(NOT LV2_FOUND AND NOT LILV_FOUND) | ||
FIND_PACKAGE(LV2 CONFIG) | ||
FIND_PACKAGE(LILV CONFIG) | ||
IF(LILV_FOUND) | ||
SET(LILV_LIBRARIES "lilv::lilv") | ||
ENDIF() | ||
ENDIF() | ||
IF(LV2_FOUND AND LILV_FOUND) | ||
SET(LMMS_HAVE_LV2 TRUE) | ||
SET(STATUS_LV2 "OK") | ||
ELSE() | ||
SET(STATUS_LV2 "not found, install it or set PKG_CONFIG_PATH appropriately") | ||
ENDIF() | ||
ELSE(WANT_LV2) | ||
SET(STATUS_LV2 "not built as requested") | ||
ENDIF(WANT_LV2) | ||
|
||
IF(WANT_SUIL) | ||
IF(PKG_CONFIG_FOUND) | ||
PKG_CHECK_MODULES(SUIL suil-0) | ||
IF(SUIL_FOUND) | ||
SET(LMMS_HAVE_SUIL TRUE) | ||
SET(STATUS_SUIL "OK") | ||
ELSE() | ||
SET(STATUS_SUIL "not found, install it or set PKG_CONFIG_PATH appropriately") | ||
ENDIF() | ||
ELSE() | ||
SET(STATUS_SUIL "not found, requires pkg-config") | ||
ENDIF() | ||
ELSE(WANT_SUIL) | ||
SET(STATUS_SUIL "not built as requested") | ||
ENDIF(WANT_SUIL) | ||
|
||
IF(WANT_CALF) | ||
SET(LMMS_HAVE_CALF TRUE) | ||
SET(STATUS_CALF "OK") | ||
|
@@ -384,23 +439,26 @@ ENDIF(NOT LMMS_HAVE_ALSA) | |
|
||
# check for JACK | ||
IF(WANT_JACK) | ||
PKG_CHECK_MODULES(JACK jack>=0.77) | ||
IF(JACK_FOUND) | ||
IF(WANT_WEAKJACK) | ||
SET(LMMS_HAVE_WEAKJACK TRUE) | ||
SET(WEAKJACK_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/src/3rdparty/weakjack/weakjack") | ||
SET(STATUS_JACK "OK (weak linking enabled)") | ||
# use dlsym instead | ||
SET(JACK_LIBRARIES ${CMAKE_DL_LIBS}) | ||
ELSE() | ||
IF(WANT_WEAKJACK) | ||
SET(LMMS_HAVE_WEAKJACK TRUE) | ||
SET(WEAKJACK_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/3rdparty/weakjack/weakjack) | ||
SET(JACK_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/src/3rdparty/jack2/common) | ||
SET(STATUS_JACK "OK (weak linking enabled)") | ||
# use dlsym instead | ||
SET(JACK_LIBRARIES ${CMAKE_DL_LIBS}) | ||
SET(LMMS_HAVE_JACK TRUE) | ||
SET(JACK_FOUND TRUE) | ||
ELSE() | ||
PKG_CHECK_MODULES(JACK jack>=0.77) | ||
IF(JACK_FOUND) | ||
SET(STATUS_JACK "OK") | ||
ENDIF() | ||
SET(LMMS_HAVE_JACK TRUE) | ||
ELSE(JACK_FOUND) | ||
ENDIF() | ||
|
||
IF(NOT JACK_FOUND) | ||
SET(JACK_INCLUDE_DIRS "") | ||
SET(STATUS_JACK "not found, please install libjack0.100.0-dev (or similar) " | ||
"if you require JACK support") | ||
ENDIF(JACK_FOUND) | ||
SET(STATUS_JACK "not found") | ||
ENDIF() | ||
ENDIF(WANT_JACK) | ||
|
||
# check for FFTW3F-library | ||
|
@@ -438,9 +496,9 @@ If(WANT_GIG) | |
ENDIF(WANT_GIG) | ||
|
||
# check for pthreads | ||
IF(LMMS_BUILD_LINUX OR LMMS_BUILD_APPLE OR LMMS_BUILD_OPENBSD OR LMMS_BUILD_FREEBSD) | ||
IF(LMMS_BUILD_LINUX OR LMMS_BUILD_APPLE OR LMMS_BUILD_OPENBSD OR LMMS_BUILD_FREEBSD OR LMMS_BUILD_HAIKU) | ||
FIND_PACKAGE(Threads) | ||
ENDIF(LMMS_BUILD_LINUX OR LMMS_BUILD_APPLE OR LMMS_BUILD_OPENBSD OR LMMS_BUILD_FREEBSD) | ||
ENDIF(LMMS_BUILD_LINUX OR LMMS_BUILD_APPLE OR LMMS_BUILD_OPENBSD OR LMMS_BUILD_FREEBSD OR LMMS_BUILD_HAIKU) | ||
|
||
# check for sndio (roaraudio won't work yet) | ||
IF(WANT_SNDIO) | ||
|
@@ -686,6 +744,8 @@ MESSAGE( | |
MESSAGE( | ||
"Optional plugins\n" | ||
"----------------\n" | ||
"* Lv2 plugins : ${STATUS_LV2}\n" | ||
"* SUIL for plugin UIs : ${STATUS_SUIL}\n" | ||
"* ZynAddSubFX instrument : ${STATUS_ZYN}\n" | ||
"* Carla Patchbay & Rack : ${STATUS_CARLA}\n" | ||
"* SoundFont2 player : ${STATUS_FLUIDSYNTH}\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ | |
[![Join the chat at Discord](https://img.shields.io/badge/chat-on%20discord-7289DA.svg)](https://discord.gg/3sc5su7) | ||
[![Localise on transifex](https://img.shields.io/badge/localise-on_transifex-green.svg)](https://www.transifex.com/lmms/lmms/) | ||
|
||
**A soft PR-Freeze is currently underway to prepare for refactoring ([#5592](https://github.com/LMMS/lmms/issues/5592)). Please do not open non-essential PRs at this time.** | ||
|
||
What is LMMS? | ||
-------------- | ||
|
||
|
@@ -53,7 +55,6 @@ Information about what you can do and how can be found in the | |
|
||
Before coding a new big feature, please _always_ | ||
[file an issue](https://github.com/LMMS/lmms/issues/new) for your idea and | ||
suggestions about your feature and about the intended implementation on GitHub | ||
or post to the LMMS developers mailinglist ([email protected]) | ||
and wait for replies! Maybe there are different ideas, improvements, hints or | ||
suggestions about your feature and about the intended implementation on GitHub, | ||
or ask in one of the tech channels on Discord and wait for replies! Maybe there are different ideas, improvements, or hints, or | ||
maybe your feature is not welcome/needed at the moment. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.