Docker: Update deps (FFmpeg 5.0, OTIO 0.14.1, OpenEXR/Imath 3.1.3, etc.), add WIP OIIO package

This commit is contained in:
Simran Spiller
2022-03-18 23:42:26 +01:00
parent 2dacce58af
commit b55961d5bb
14 changed files with 174 additions and 57 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Copyright (C) 2021 Olive Team
# Copyright (C) 2022 Olive Team
# SPDX-License-Identifier: GPL-3.0-or-later
set -ex
+2 -2
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Copyright (C) 2021 Olive Team
# Copyright (C) 2022 Olive Team
# SPDX-License-Identifier: GPL-3.0-or-later
# Largely based on https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
@@ -213,7 +213,7 @@ wait
### Set up xvid
{
curl -fLsS -o xvidcore.tar.gz "http://downloads.xvid.org/downloads/xvidcore-${XVID_VERSION}.tar.gz"
curl -fLsS -o xvidcore.tar.gz "https://downloads.xvid.com/downloads/xvidcore-${XVID_VERSION}.tar.gz"
tar xf xvidcore.tar.gz
rm -f xvidcore.tar.gz
cd xvidcore/build/generic
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Copyright (C) 2021 Olive Team
# Copyright (C) 2022 Olive Team
# SPDX-License-Identifier: GPL-3.0-or-later
set -ex
+43
View File
@@ -0,0 +1,43 @@
#!/usr/bin/env bash
# Copyright (C) 2022 Olive Team
# SPDX-License-Identifier: GPL-3.0-or-later
set -ex
# TODO: Move to install_yumpackages.sh
yum install -y \
libtiff \
libtiff-devel \
libpng \
libpng-devel
git clone --depth 1 --branch "$JPEG_TURBO_VERSION" https://github.com/libjpeg-turbo/libjpeg-turbo
cd libjpeg-turbo
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="${OLIVE_INSTALL_PREFIX}" \
..
make -j$(nproc)
make install
cd ../..
rm -rf libjpeg-turbo
# TODO: Make OIIO pick up WebP (missing: WEBPDEMUX_LIBRARY)
git clone --depth 1 --branch "$OIIO_VERSION" https://github.com/OpenImageIO/oiio.git
cd oiio
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="${OLIVE_INSTALL_PREFIX}" \
-DOIIO_BUILD_TOOLS=OFF \
-DOIIO_BUILD_TESTS=OFF \
-DVERBOSE=ON \
-DUSE_PYTHON=0 \
-DBoost_NO_BOOST_CMAKE=ON \
..
make -j$(nproc)
make install
cd ../..
rm -rf oiio
+2 -6
View File
@@ -1,16 +1,12 @@
#!/usr/bin/env bash
# Copyright (C) 2021 Olive Team
# Copyright (C) 2022 Olive Team
# SPDX-License-Identifier: GPL-3.0-or-later
set -ex
git clone --depth 1 https://github.com/PixarAnimationStudios/OpenTimelineIO.git
git clone --depth 1 --branch "$OTIO_VERSION" https://github.com/PixarAnimationStudios/OpenTimelineIO.git
cd OpenTimelineIO
#if [ "$OTIO_VERSION" != "latest" ]; then
# git checkout "tags/v${OTIO_VERSION}" -b "v${OTIO_VERSION}"
#fi
#pip install --prefix="${OLIVE_INSTALL_PREFIX}" .
mkdir build
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Copyright (C) 2021 Olive Team
# Copyright (C) 2022 Olive Team
# Copyright (c) Contributors to the aswf-docker Project. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later