* Version checking!
- Supports EXACT
(but only for M.N.B, e.g. 0.1.8-dev1 matches 0.1.8 EXACT)
- REQUIRED will now cause CMake to abort if version is not
sufficient (lower than requested)
- Outputs the following:
- Version requested, if set
- Version found, if successfully parsed from header
- Compatibility status, if version set on both ends
* Accept `LIBOPENSHOT_AUDIO_DIR` cache variable, in addition to
the environment variable (for `cmake -DLIBOPENSHOT_AUDIO_DIR=...`)
* Do two-stage search for both headers and libs
(Avoids this situation...)
LIBOPENSHOT_AUDIO_INCLUDE_DIRS=/usr/include/libopenshot-audio
LIBOPENSHOT_AUDIO_LIBRARY=/home/ferd/build/
(Largely inspired by CMake's `FindPythonLibs.cmake`)
There was a bug in the definition of `DOXYFILE_LATEX`, and _another_
in the processing of it (which were the only reason it wasn't
defaulting on, the way it appeared to be configured), fixed the
bug and changed it to default OFF. But now it _can_ be enabled.
Also moved the handling of `DOXYFILE_DOT` out of the latex-only
section, so that it can be turned on with the new config variable
`DOXYFILE_USE_DOT` (default on). If `DOXYFILE_USE_DOT` is enabled
and the `dot` executable is found, `DOXYFILE_DOT` will be set "YES"
and `dot` will be used for the HTML as well, giving better graphs.
* Search for libresvg.so in RESVGDIR also
This means that RESVGDIR can be pointed to the `target/release` dir
where resvg was built, and both `libresvg.so` and `include/resvg.h` will
be found.
* ReSVG: Fix up discovery module
`find_package_handle_standard_args` is supposed to set the `_FOUND`
variable automatically (as the comment right above it says), as well as
handling things like REQUIRED, QUIETLY, etc. It should always be run at
the end of a module, for this reason.
This change removes the conditionals around the call, lets it handle
what it's meant to handle, and defines a custom failure message for
discovery that replaces the one in `src/CMakeList.txt`.
In addition, the `REQRUIRED` is removed from `tests/CMakeLists.txt`,
since it's _supposed_ to mark the module as required (which ReSVG is
not), and was only working due to the aforementioned improper
conditional wrapping of the module's cleanup.
* FindRESVG.cmake does not set RESVG_DEFINITIONS
Remove the comment that claims it does.
* Integration of libresvg SVG library (optional during build)
* Major refactor of max_width and max_height for preview optimization
* Fixed many bugs related to preview resizing, with regards to cached frames
* Updating gitlab CI to find RESVGDIR correctly for windows, and adding svgz support
* Updating cmake findresvg module to search for windows locations first, to prevent an issue on our windows builders and updating some CMake output.
* Removing folder path from resvg header, since it could be installed in different named folders. This is an attempt to fix Windows include issues.
* Making call to AV_FREE_FRAME conditional for non windows systems (because it crashes on Windows for seemingly no reason). Needs more investigation.
* FFmpeg4 support. Compile warnings fixes. Credit goes to many people, including ferdnyc, peterM, and other awesome folks!
* Adding environment checking to enable/disable omp taskwait after each video/audio frame is processed. This is experimental for some users with crashes.
* Moving `omp taskwait` to after the ProcessVideoPacket() method, since that is the only place it is useful.
* Fixing crashes on missing Clip source file, and changing FFmpeg scaling algorthm from SWS_BILINEAR to SWS_LANCZOS (for higher quality scaling)
* Update FindFFmpeg.cmake module, and updating build script. Also enabling debug builds.
* Updating experimental travis build script
* Fixed unit test for newer version of FFmpeg (audio resampling)
* Experimental travis multiple jobs
* Adding OMP schedule hint (thanks PeterM), which prevents crashes in some circumstances.