Files
oak-editor/docker/scripts/build_otio.sh
T
Simran 472913610a Docker: Add ci-otio image (#1278)
This includes both, the Python and C++ version. We basically just need the headers and libopentime(line).so

* Add label for VFXPLATFORM_VERSION
* org.opencontainers.image.licenses defaults to GPL-2.0-only?!
2020-10-27 01:15:22 +01:00

24 lines
508 B
Bash

#!/usr/bin/env bash
# Copyright (C) 2020 Olive Team
# SPDX-License-Identifier: GPL-3.0-or-later
set -ex
git clone --depth 1 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
cd build
cmake .. -G "Ninja"
cmake --build .
cmake --install . --prefix "${OLIVE_INSTALL_PREFIX}"
cd ../..
rm -rf OpenTimelineIO