Skip to content

Commit

Permalink
Merge branch 'fix-travis-macos'
Browse files Browse the repository at this point in the history
* fix-travis-macos:
  update opencv dependencies for mojave 10.14.4
  • Loading branch information
paulz committed Apr 9, 2019
2 parents 25ada2a + 2b36bbe commit 1d4cc7c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
30 changes: 21 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,35 @@ matrix:
- /usr/local/Cellar/openblas
- /usr/local/Cellar/gcc
- /usr/local/Cellar/ffmpeg
- /usr/local/Cellar/libpng
- /usr/local/Cellar/libtiff
- /usr/local/Cellar/ilmbase
- /usr/local/Cellar/snappy
- /usr/local/Cellar/openexr
- /usr/local/Cellar/jpeg
- /usr/local/Cellar/opencore-amr
- /usr/local/Cellar/snappy
- /usr/local/Cellar/lame
- /usr/local/Cellar/openjpeg
- /usr/local/Cellar/opus
- /usr/local/Cellar/speex
- /usr/local/Cellar/theora
- /usr/local/Cellar/rtmpdump
- /usr/local/Cellar/libogg
- /usr/local/Cellar/libvorbis
- /usr/local/Cellar/opus
- /usr/local/Cellar/jpeg
- /usr/local/Cellar/lame
- /usr/local/Cellar/libpng
- /usr/local/Cellar/libtiff
- /usr/local/Cellar/openexr
- /usr/local/Cellar/openssl
- /usr/local/Cellar/x264
- /usr/local/Cellar/x265
- /usr/local/Cellar/libsoxr
- /usr/local/Cellar/libbluray
- /usr/local/Cellar/gnutls
- /usr/local/Cellar/rtmpdump
- /usr/local/Cellar/openssl
- /usr/local/Cellar/fontconfig
- /usr/local/Cellar/freetype
- /usr/local/Cellar/p11-kit
- /usr/local/Cellar/libunistring
- /usr/local/Cellar/libtasn1
- /usr/local/Cellar/nettle
- /usr/local/Cellar/gmp
- /usr/local/Cellar/libffi
- stage: deploy
name: Cartage build, archive, deploy on tag
env:
Expand Down
4 changes: 2 additions & 2 deletions Example/OpenCV-OSX-Tests/install-opencv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

# install-opencv.sh

libraries="tbb openblas gcc ffmpeg libpng libtiff ilmbase openexr jpeg opencore-amr snappy lame opus speex theora libogg libvorbis x264 x265 rtmpdump openssl"
libraries="tbb openblas gcc ffmpeg libpng libtiff ilmbase openexr jpeg opencore-amr snappy lame openjpeg opus speex theora libogg libvorbis x264 x265 libsoxr libbluray gnutls rtmpdump openssl fontconfig freetype p11-kit libunistring libtasn1 nettle gmp libffi"

for package in opencv $libraries; do brew link $package || brew install --ignore-dependencies --force-bottle $package; done

# To remove all dependencies:
# for package in opencv $(brew deps opencv); do brew rm --ignore-dependencies $package; done
# for package in opencv $(brew deps opencv); do brew rm --ignore-dependencies --force $package; done

0 comments on commit 1d4cc7c

Please sign in to comment.