Skip to content

Commit 782d764

Browse files
authored
Merge pull request #522 from ferdnyc/travis-focal-build
Travis: Switch to Ubuntu 20.04 Focal for FFmpeg 4 build
2 parents 45b68ce + 511a6b1 commit 782d764

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,17 @@ jobs:
5757
- lcov
5858
- binutils-common # For c++filt
5959

60-
- name: "FFmpeg 4 GCC (Ubuntu 18.04 Bionic)"
60+
- name: "FFmpeg 4 GCC (Ubuntu 20.04 Focal)"
6161
env:
6262
- BUILD_VERSION=ffmpeg4
6363
- CMAKE_EXTRA_ARGS=""
6464
- TEST_TARGET=test
6565
os: linux
66-
dist: bionic
66+
dist: focal
6767
addons:
6868
apt:
6969
sources:
7070
- sourceline: 'ppa:openshot.developers/libopenshot-daily'
71-
- sourceline: 'ppa:beineri/opt-qt-5.12.3-bionic'
72-
- sourceline: 'ppa:jonathonf/ffmpeg-4'
7371
packages:
7472
- *p_common
7573
- qt5-default

src/bindings/ruby/CMakeLists.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@ option(SILENCE_RUBY_VERSION_WARNING
4848

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

0 commit comments

Comments
 (0)