Skip to content

Commit

Permalink
Merge pull request #522 from ferdnyc/travis-focal-build
Browse files Browse the repository at this point in the history
Travis: Switch to Ubuntu 20.04 Focal for FFmpeg 4 build
  • Loading branch information
ferdnyc committed Jun 2, 2020
2 parents 45b68ce + 511a6b1 commit 782d764
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Expand Up @@ -57,19 +57,17 @@ jobs:
- lcov
- binutils-common # For c++filt

- name: "FFmpeg 4 GCC (Ubuntu 18.04 Bionic)"
- name: "FFmpeg 4 GCC (Ubuntu 20.04 Focal)"
env:
- BUILD_VERSION=ffmpeg4
- CMAKE_EXTRA_ARGS=""
- TEST_TARGET=test
os: linux
dist: bionic
dist: focal
addons:
apt:
sources:
- sourceline: 'ppa:openshot.developers/libopenshot-daily'
- sourceline: 'ppa:beineri/opt-qt-5.12.3-bionic'
- sourceline: 'ppa:jonathonf/ffmpeg-4'
packages:
- *p_common
- qt5-default
Expand Down
14 changes: 8 additions & 6 deletions src/bindings/ruby/CMakeLists.txt
Expand Up @@ -48,13 +48,15 @@ option(SILENCE_RUBY_VERSION_WARNING

if (${RUBY_VERSION} VERSION_GREATER 2.6.9 AND ${SWIG_VERSION} VERSION_LESS 4.0.3)
if (NOT ${SILENCE_RUBY_VERSION_WARNING})
message(WARNING "
message(WARNING "\
Ruby 2.7.0+ detected, building the libopenshot Ruby API bindings \
requires a pre-release version of SWIG 4.0.3 with this commit: \
https://github.com/swig/swig/commit/5542cc228ad10bdc5c91107afb77c808c43bf2a4")
message(STATUS "
To disable this warning, add -DSILENCE_RUBY_VERSION_WARNING:BOOL=1 to the cmake \
command line, or enable the option in the CMake GUI.")
requires either SWIG 4.0.3 or an older version patched with this commit: \
https://github.com/swig/swig/commit/5542cc228ad10bdc5c91107afb77c808c43bf2a4 \
(Recent Fedora and Ubuntu distro packages of SWIG 4.0.1 have already been \
patched.)")
message(STATUS "To disable the previous warning, add \
-DSILENCE_RUBY_VERSION_WARNING:BOOL=1 to the cmake command line, \
or enable the option in the CMake GUI.")
endif()
endif()

Expand Down

0 comments on commit 782d764

Please sign in to comment.