shithub: opus-tools

Download patch

ref: f5f571b39ac4acd1dbed6134f99c96ac39d8a13e
parent: 4849857bc12f43375df872c3844b8d5fe78d9bff
author: Mark Harris <mark.hsj@gmail.com>
date: Mon Oct 15 16:13:00 EDT 2018

travis-ci: Fix CI on macOS

--- a/.travis.yml
+++ b/.travis.yml
@@ -21,7 +21,8 @@
 
 before_install:
   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
-  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libogg opus opusfile libopusenc flac xz; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libogg opus opusfile libopusenc flac; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig"; fi
   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then git clone https://git.xiph.org/libopusenc.git; fi
   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pushd libopusenc; ./autogen.sh; ./configure --prefix=$PWD/_inst; make check; make install; export PKG_CONFIG_PATH=$PWD/_inst/lib/pkgconfig; popd; fi