cmake: Enable FFmpeg Encoders on Linux

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2020-08-10 02:46:25 +02:00
parent c20ac4a413
commit 4947ae9a13
3 changed files with 16 additions and 2 deletions

View file

@ -127,7 +127,8 @@ jobs:
cmake \
ninja-build \
git \
qt5-default libqwt-qt5-dev libqt5svg5-dev
qt5-default libqwt-qt5-dev libqt5svg5-dev \
libavcodec-dev libavutil-dev libswscale-dev
${{ matrix.extra_command }}
- name: "Cache: Prerequisites"
uses: actions/cache@v2

View file

@ -22,7 +22,7 @@ jobs:
git submodule update --init --recursive
sudo apt-get -qq update
sudo apt-get purge libjpeg9-dev:amd64 libjpeg8-dev:amd64 libjpeg-turbo8-dev:amd64
sudo apt-get install build-essential clang clang-format checkinstall pkg-config cmake ninja-build git qt5-default libqwt-qt5-dev libqt5svg5-dev
sudo apt-get install build-essential clang clang-format checkinstall pkg-config cmake ninja-build git qt5-default libqwt-qt5-dev libqt5svg5-dev libavcodec-dev libavutil-dev libswscale-dev
- name: "Cache: Prerequisites"
uses: actions/cache@v2
with:

View file

@ -217,6 +217,19 @@ if(WIN32)
set(ENABLE_SOURCE_MIRROR TRUE)
set(ENABLE_SOURCE_SHADER TRUE)
set(ENABLE_TRANSITION_SHADER TRUE)
elseif(NOT APPLE)
set(ENABLE_ENCODER_FFMPEG TRUE)
set(ENABLE_FILTER_BLUR TRUE)
set(ENABLE_FILTER_COLOR_GRADE TRUE)
set(ENABLE_FILTER_DISPLACEMENT TRUE)
set(ENABLE_FILTER_DYNAMIC_MASK TRUE)
set(ENABLE_FILTER_NVIDIA_FACE_TRACKING FALSE)
set(ENABLE_FILTER_SDF_EFFECTS TRUE)
set(ENABLE_FILTER_SHADER TRUE)
set(ENABLE_FILTER_TRANSFORM TRUE)
set(ENABLE_SOURCE_MIRROR TRUE)
set(ENABLE_SOURCE_SHADER TRUE)
set(ENABLE_TRANSITION_SHADER TRUE)
else()
set(ENABLE_ENCODER_FFMPEG FALSE)
set(ENABLE_FILTER_BLUR TRUE)