@@ -19,47 +19,68 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
1919 # In that case, use a simple check to detect if the cache is already there.
2020 if [ -z ${TRAVIS_JOB_ID} ] || [ ! -d " ${DEPENDENCIES_INSTALL} /lib/" ]; then
2121
22+ # Target versions
23+ FFMPEG_RELEASE=ffmpeg-2.2.9
24+ ACES_RELEASE=aces_container-1.0
25+ CTL_RELEASE=ctl-1.5.2
26+ SEEXPR_VERSION=1.0.1
27+ SEEXPR_RELEASE=SeExpr-rel-$SEEXPR_VERSION
28+ OCIO_VERSION=1.0.9
29+ OCIO_RELEASE=OpenColorIO-$OCIO_VERSION
30+ LIBRAW_VERSION=0.16.2
31+ LIBRAW_RELEASE=LibRaw-$LIBRAW_VERSION
32+ OIIO_VERSION=1.5.16
33+ OIIO_RELEASE=oiio-Release-$OIIO_VERSION
34+
35+
2236 cd $TRAVIS_BUILD_DIR
23- wget https://www.ffmpeg.org/releases/ffmpeg-2.2.9 .tar.bz2
24- bunzip2 ffmpeg-2.2.9 .tar.bz2
25- tar -xf ffmpeg-2.2.9 .tar > /dev/null 2>&1
26- cd ffmpeg-2.2.9
37+ wget https://www.ffmpeg.org/releases/$FFMPEG_RELEASE .tar.bz2
38+ bunzip2 $FFMPEG_RELEASE .tar.bz2
39+ tar -xf $FFMPEG_RELEASE .tar > /dev/null 2>&1
40+ cd $FFMPEG_RELEASE
2741 ./configure --prefix=${DEPENDENCIES_INSTALL} --enable-shared --disable-static --disable-yasm && make && make install
2842
2943 cd $TRAVIS_BUILD_DIR
30- wget https://github.com/ampas/aces_container/archive/v1.0.tar.gz -O /tmp/aces_container-1.0 .tar.gz
31- tar -xzf /tmp/aces_container-1.0 .tar.gz > /dev/null 2>&1
32- mkdir aces_container-1.0 /build
33- cd aces_container-1.0 /build
44+ wget https://github.com/ampas/aces_container/archive/v1.0.tar.gz -O /tmp/$ACES_RELEASE .tar.gz
45+ tar -xzf /tmp/$ACES_RELEASE .tar.gz > /dev/null 2>&1
46+ mkdir $ACES_RELEASE /build
47+ cd $ACES_RELEASE /build
3448 cmake .. -DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_INSTALL} && make && make install
3549
3650 cd $TRAVIS_BUILD_DIR
37- wget https://github.com/ampas/CTL/archive/ctl-1.5.2. tar.gz -O /tmp/ctl-1.5.2 .tar.gz
38- tar -xzf /tmp/ctl-1.5.2 .tar.gz > /dev/null 2>&1
39- mkdir CTL-ctl-1.5.2 /build
40- cd CTL-ctl-1.5.2 /build
51+ wget https://github.com/ampas/CTL/archive/$CTL_RELEASE . tar.gz -O /tmp/$CTL_RELEASE .tar.gz
52+ tar -xzf /tmp/$CTL_RELEASE .tar.gz > /dev/null 2>&1
53+ mkdir CTL-$CTL_RELEASE /build
54+ cd CTL-$CTL_RELEASE /build
4155 cmake .. -DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_INSTALL} && make && make install
4256
4357 cd $TRAVIS_BUILD_DIR
44- wget https://github.com/wdas/SeExpr/archive/rel-1.0.1. tar.gz -O /tmp/SeExpr-1.0.1 .tar.gz
45- tar -xzf /tmp/SeExpr-1.0.1 .tar.gz > /dev/null 2>&1
46- mkdir SeExpr-rel-1.0.1 /build
47- cd SeExpr-rel-1.0.1 /build
58+ wget https://github.com/wdas/SeExpr/archive/rel-$SEEXPR_VERSION . tar.gz -O /tmp/$SEEXPR_RELEASE .tar.gz
59+ tar -xzf /tmp/$SEEXPR_RELEASE .tar.gz > /dev/null 2>&1
60+ mkdir $SEEXPR_RELEASE /build
61+ cd $SEEXPR_RELEASE /build
4862 cmake .. -DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_INSTALL} && make && make install
4963
5064 cd $TRAVIS_BUILD_DIR
51- wget https://github.com/imageworks/OpenColorIO/archive/v1.0.9. tar.gz -O /tmp/ocio-1.0.9 .tar.gz
52- tar -xzf /tmp/ocio-1.0.9 .tar.gz > /dev/null 2>&1
53- mkdir OpenColorIO-1.0.9 /build
54- cd OpenColorIO-1.0.9 /build
65+ wget https://github.com/imageworks/OpenColorIO/archive/v $OCIO_VERSION . tar.gz -O /tmp/$OCIO_RELEASE .tar.gz
66+ tar -xzf /tmp/$OCIO_RELEASE .tar.gz > /dev/null 2>&1
67+ mkdir $OCIO_RELEASE /build
68+ cd $OCIO_RELEASE /build
5569 cmake .. -DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_INSTALL} && make && make install
5670
5771 cd $TRAVIS_BUILD_DIR
58- wget https://github.com/OpenImageIO/oiio/archive/Release-1.5.16.tar.gz -O /tmp/oiio-1.5.16.tar.gz
59- tar -xzf /tmp/oiio-1.5.16.tar.gz > /dev/null 2>&1
60- mkdir oiio-Release-1.5.16/build
61- cd oiio-Release-1.5.16/build
62- cmake .. -DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_INSTALL} -DCMAKE_CXX_FLAGS=" -D__STDC_CONSTANT_MACROS" && make && make install
72+ wget https://github.com/LibRaw/LibRaw/archive/$LIBRAW_VERSION .tar.gz -O /tmp/$LIBRAW_RELEASE .tar.gz
73+ tar -xzf /tmp/$LIBRAW_RELEASE .tar.gz > /dev/null 2>&1
74+ mkdir $LIBRAW_RELEASE /build
75+ cd $LIBRAW_RELEASE /build
76+ ./configure --prefix=${DEPENDENCIES_INSTALL} && make && make install
77+
78+ cd $TRAVIS_BUILD_DIR
79+ wget https://github.com/OpenImageIO/oiio/archive/Release-$OIIO_VERSION .tar.gz -O /tmp/$OIIO_RELEASE .tar.gz
80+ tar -xzf /tmp/$OIIO_RELEASE .tar.gz > /dev/null 2>&1
81+ mkdir $OIIO_RELEASE /build
82+ cd $OIIO_RELEASE /build
83+ cmake .. -DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_INSTALL} -DCMAKE_PREFIX_PATH=${DEPENDENCIES_INSTALL} -DCMAKE_CXX_FLAGS=" -D__STDC_CONSTANT_MACROS" && make && make install
6384
6485 else
6586 echo ' Using cached directory.' ;
0 commit comments