92 Commits

Author SHA1 Message Date
FeRD (Frank Dana)
1686842eb6 Docs: Switch to doxygen_add_docs() 2021-11-11 05:32:12 -05:00
Jonathan Thomas
e085397cc1 Revert "Docs: Switch from UseDoxygen to doxygen_add_docs" 2021-11-10 22:52:51 -06:00
Jonathan Thomas
ed70b57238 Merge pull request #613 from ferdnyc/new-docs
Docs: Switch from UseDoxygen to doxygen_add_docs
2021-11-10 22:07:08 -06:00
Jonathan Thomas
bbbb72aa5d Merge pull request #757 from ferdnyc/resvg-in-ci
Resvg: Add support for v0.11.0+, enable in GitHub CI
2021-10-28 21:31:58 -05:00
FeRD (Frank Dana)
5c8ee393a6 Findbabl: Add license headers 2021-10-22 15:20:50 -04:00
Frank Dana
49f2319699 Merge branch 'develop' into babl-integration 2021-10-22 15:14:11 -04:00
Frank Dana
2d2a062bdc Remove (broken) BlackMagic DeckLink support (#760) 2021-10-20 06:49:08 -04:00
FeRD (Frank Dana)
68a6c589e9 Docs: Switch from UseDoxygen to doxygen_add_docs
Since CMake 3.11, the supported method of integrating Doxygen into
CMake projects has been via the doxygen_add_docs() CMake function,
which (crucially) can be passed a target name to create and doesn't
rely on tons of hardcoding like our UseDoxygen.cmake and its
Doxyfile.in template did.

This means our docs (only) now require CMake 3.11 to generate, but it
allows Doxygen to be configured/used multiple times in the same CMake
configuration, removing a major barrier to superproject builds.
2021-10-16 12:13:28 -04:00
Frank Dana
59138ea3e4 Adopt license management via Reuse project/tool (#711)
* reuse-managed license/copyright headers

reuse is a tool for compliance with the REUSE recommendations. See
<https://reuse.software/> for more information, and
<https://reuse.readthedocs.io/> for the online documentation.

* Set jsoncpp license
* Add MIT license for Decklink sources
* Explicitly license examples/
  - Add headers to source files
  - Change blanket licensing in .reuse/dep5 to only cover binary media
  - Import CC-BY-3.0 license and assign to sintel_trailer
2021-10-16 01:26:26 -04:00
Troy Rollo
c3ef319e04 Fix errors in LCH Chroma keying and Findbabl.cmake 2021-10-10 19:49:35 +11:00
FeRD (Frank Dana)
c02ab70813 FindResvg: Updates for discovery, version-parsing 2021-10-08 03:08:07 -04:00
Troy Rollo
331cc1f362 Improve new Chroma Key options.
Includes code amendments as requested upstream, improved accuracy,
new keying methods and the addition of a secondary halo threshhold
(pixels in the halo threshold get an alpha between zero and one).
2021-09-19 23:57:36 +10:00
Troy Rollo
eff61c8492 Add support for more Chroma Key methods 2021-09-19 10:25:49 +10:00
FeRD (Frank Dana)
e2b685de47 FindFFmpeg: Don't report missing components
find_package_handle_standard_args() will take care of that
2021-06-25 12:37:58 -04:00
FeRD (Frank Dana)
93fb2eedf5 Enhance FindFFmpeg.cmake
- Add fallback component version parsing from the individual
  <includedir>/<libname>/version.h headers
- Switch to FFmpeg_<component>_<property> variable names, standard
  for CMake component variables
- No longer probe for non-requested components
- Use HANDLE_COMPONENT in find_package_handle_standard_args
- Parse, export overall FFmpeg_VERSION from libavutil/ffversion.h
2021-06-25 11:46:25 -04:00
Frank Dana
4e4a95c648 Gitlab-CI: Update Windows builder configs, OpenShotAudio linking; enable Windows unit tests (#657)
* Remove no-longer-used cmake Modules

* Don't use OpenShot.h in ExampleHtml.cpp

When `#include`-ing the whole mess, building the file was leading
to what looked like out-of-memory errors. Replacing the monolithic
header with just the necessary ones cleared it up.

* .gitlab-ci.yml: Update for new Windows setup

* Make unit tests work under Windows

- Copying the built and depended (libopenshot-audio) DLLs into
  the unit test dir before building the tests ensures that when
  the test executables are run by the Catch.cmake module to
  discover their contents, the executables will find the DLLs
  they need in order to run.

* Gitlab-ci: Run unit tests on Windows

* Rename openshot-html-example

(The former name, openshot-html-test, was too close to the new
name format for all of our unit test executables, making things
unnecessarily confusing.)

* Rename JuceHeader.h to OpenShotAudio.h

* Github Actions: Install ALSA libs

With the switch to an EXPORTED CMake configuration for
libopenshot-audio, its dependencies become our dependencies.
Which means that CMake now correctly requires that the ALSA
libs be installed.
2021-04-19 15:59:52 -04:00
FeRD (Frank Dana)
8dfaf74177 Fix FindResvg for older CMake 2021-01-13 10:59:34 -05:00
FeRD (Frank Dana)
3854fe9c0e FindOpenShotAudio: Fix linking 2020-10-18 11:14:20 -04:00
FeRD (Frank Dana)
1ae52808c7 CMake: Add target for ImageMagick dependency
- Parameters assigned to ImageMagick::Magick++ will now follow
  the 'openshot' shared-library target wherever it's linked, even in
  build subdirectories that aren't children or siblings of the
  location where the target was created.
- Removed the redundant code duplicating `find_package(ImageMagick)`
  checks. Multiple dependency scans have only been necessary as a
  workaround to overcome CMake variables' restricted scope.
  Targets do not share that limitation.
2020-10-18 10:55:59 -04:00
FeRD (Frank Dana)
4bd3af0c71 Rename FindResvg, target is now Resvg::Resvg 2020-10-18 10:41:53 -04:00
FeRD (Frank Dana)
630e7ac4df Use new OpenShot::Audio target in CMakeLists.txt
FindOpenShotAudio.cmake: Enhance with targets

- Also, migrate as much config as possible from CMakeLists.txt files
  to properties of IMPORTED OpenShot::Audio target (including platform-
  specific configs)
2020-10-18 07:47:36 -04:00
Frank Dana
4e98fb7293 Merge branch 'develop' into develop 2020-09-20 19:23:39 -04:00
Frank Dana
7c9e3f5ebb Merge pull request #3 from ferdnyc/ferdnyc-patch-1
Delete FindZMQ.cmake
2020-05-23 23:16:13 -04:00
FeRD (Frank Dana)
b766baf752 Findjsoncpp: Fix target 2020-04-17 10:01:44 -04:00
FeRD (Frank Dana)
9d261f6568 CMake: Rename, modernize Findjsoncpp.cmake
- 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)
2020-04-17 06:54:16 -04:00