The CMake process will pick up Qt's Qt5Core_VERSION_STRING and
stick it in a cache variable (with forced updating each run),
and a new `#define` in the header exports it to the library and
to the Python bindings so that it can be queried at runtime.
BaseException is a python standard library exception class, so it's
not a great idea to redefine that name in our bindings. Renamed
to ExceptionBase, which is more in keeping with our class naming
system anyway.
- Get rid of two-stage definition of apt.packages list, which
was never necessary anyway.
- Remove deprecated libavresample from package set for FFmpeg 4
- Rename to match package naming used elsewhere (official configs)
- Add IMPORTED target creation to the Find module, along with
version number detection
- Switch to lowercase variable forms (e.g. jsoncpp_FOUND)
The backward conversion int16_t to float in libopenshot has range
(1.0; -1.0], thus conversion -1.0f to int16_t should be secured.
Float values can exceed the (1.0; -1.0) range. This can cause
distortion in audio instead of limiting values at max/min for the
int16_t.