mirror of
https://github.com/wang-bin/QtAV.git
synced 2026-10-21 06:36:19 +08:00
13 lines
360 B
Bash
Executable File
13 lines
360 B
Bash
Executable File
#!/bin/bash
|
|
set -ev
|
|
brew update
|
|
brew install ffmpeg qt5
|
|
|
|
ls /usr/local/bin
|
|
export QTAV_OUT=QtAV-OSX-${TRAVIS_COMMIT:0:7}
|
|
mkdir -p $QTAV_OUT
|
|
export PATH=/usr/local/opt/qt5/bin:$PATH
|
|
## /usr/local/include is fine too
|
|
export CPATH=/usr/local/opt/ffmpeg/include:/usr/local/opt/libass/include
|
|
export LIBRARY_PATH=/usr/local/opt/ffmpeg/lib:/usr/local/opt/libass/lib
|