shithub: opus-tools

Download patch

ref: 0731a61ea0551a8da04f681fb8703f9ad710c892
parent: 0d6d8dd8e8cee8a3eea71e23af58bf6bd5a52147
author: Ralph Giles <giles@thaumas.net>
date: Fri Jun 23 13:38:41 EDT 2017

travis: Build libopusenc from source for the linux tests

There's no Ubuntu package for libopusenc, so we need
to provide our own binary.

--- a/.travis.yml
+++ b/.travis.yml
@@ -22,6 +22,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" == "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
 
 script:
   - ./autogen.sh