media-libs/opentimelineio: add 0.17.0_pre1
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
cd64ebced0
commit
5bb78f3e41
@ -1,4 +1,5 @@
|
|||||||
DIST any-bfc77f2e4be6e9a093dd645ef3f1aa30620c9205.tar.gz 9130 BLAKE2B 7d9066defc0a28811158b447c9b9accf1c3f33c178cca509145b9d958f42b190c3fc8fb246941bef7362b651b1c22c22a9962622f65ad5687dafed49440f0c3a SHA512 89bcfeb77e3708d2c81472d9bfbcb789ebc03a1e34642d95a8baa88d7f06e84ea598541e4d340f03cc001cd5008fc62d65b56d901b85af89d1db2a47e5e0fa4b
|
DIST any-bfc77f2e4be6e9a093dd645ef3f1aa30620c9205.tar.gz 9130 BLAKE2B 7d9066defc0a28811158b447c9b9accf1c3f33c178cca509145b9d958f42b190c3fc8fb246941bef7362b651b1c22c22a9962622f65ad5687dafed49440f0c3a SHA512 89bcfeb77e3708d2c81472d9bfbcb789ebc03a1e34642d95a8baa88d7f06e84ea598541e4d340f03cc001cd5008fc62d65b56d901b85af89d1db2a47e5e0fa4b
|
||||||
DIST opentimelineio-0.15.tar.gz 4781447 BLAKE2B 8f7a60a9c45412ed2d17c1d91bf29fd3e887620683e7f9db109f2b583a31195d6ae28e1ff8a58b6f0e80089b2819d3ec1f651c24726567b94e14f6007b7db024 SHA512 4389029f277dc75cc9b59e14758f8350860f8cc828c60081621bc9d4a656cff63fa85d2cc98651c6e2c1d9ef049fad614196b9d6adc9951f90d101b54f67b448
|
DIST opentimelineio-0.15.tar.gz 4781447 BLAKE2B 8f7a60a9c45412ed2d17c1d91bf29fd3e887620683e7f9db109f2b583a31195d6ae28e1ff8a58b6f0e80089b2819d3ec1f651c24726567b94e14f6007b7db024 SHA512 4389029f277dc75cc9b59e14758f8350860f8cc828c60081621bc9d4a656cff63fa85d2cc98651c6e2c1d9ef049fad614196b9d6adc9951f90d101b54f67b448
|
||||||
|
DIST opentimelineio-0.17.0_pre1.tar.gz 2318468 BLAKE2B a4d6e7950727b64898f898b3de31db0e194a6678ff65e23a9d3e51c11f69871f4ed16ca091ba08fc485a78e178d04a45a487827d30986c9ee491ff33e31e2a21 SHA512 ccd31bc9288572493b641ce86be4ad2157dbd7fc36673886c11eba6d3a781811d7218fbb1c93d74b9af9e5dc6a83d4dee9a91874e7738673280a5c5c19cd04dc
|
||||||
DIST optional-lite-be720ebfd7add22abe60e49602735de9231105d0.tar.gz 52452 BLAKE2B 49efbafe40fdb2cf7642b0170e087495f862219ca812239776a7f4aa3453f433572ea0c6e21762cfc488a30ade92736a5d6a78159ba333cc8f08e0df17b148dd SHA512 59669746c92552510980c81bb49c133f4e5da51c86489ccba3ea83ff48c4ce0b6ed3efd32beb3a8d2501eceb70b6420d33afcf858c2d9a0c2fbe5c8027f2ba39
|
DIST optional-lite-be720ebfd7add22abe60e49602735de9231105d0.tar.gz 52452 BLAKE2B 49efbafe40fdb2cf7642b0170e087495f862219ca812239776a7f4aa3453f433572ea0c6e21762cfc488a30ade92736a5d6a78159ba333cc8f08e0df17b148dd SHA512 59669746c92552510980c81bb49c133f4e5da51c86489ccba3ea83ff48c4ce0b6ed3efd32beb3a8d2501eceb70b6420d33afcf858c2d9a0c2fbe5c8027f2ba39
|
||||||
DIST rapidjson-.tar.gz 1107982 BLAKE2B f846bf482dd8102dede32e15b46fa8cc306291b1a4e8435ec8c5754663c28cceac1d7cdba9534e9a6a94866f4130b41b89eed13e0c1a3fcea202ea33b636f54f SHA512 f0a7df46234e5b3244a801ddf1daefd26aac7ae5b2c470b8c3898f65c65591f6c9cabac0421800588826da9d3bcccba1f98e1c0c8c15184b3843cf6f3ffbdcad
|
DIST rapidjson-.tar.gz 1107982 BLAKE2B f846bf482dd8102dede32e15b46fa8cc306291b1a4e8435ec8c5754663c28cceac1d7cdba9534e9a6a94866f4130b41b89eed13e0c1a3fcea202ea33b636f54f SHA512 f0a7df46234e5b3244a801ddf1daefd26aac7ae5b2c470b8c3898f65c65591f6c9cabac0421800588826da9d3bcccba1f98e1c0c8c15184b3843cf6f3ffbdcad
|
||||||
|
88
media-libs/opentimelineio/opentimelineio-0.17.0_pre1.ebuild
Normal file
88
media-libs/opentimelineio/opentimelineio-0.17.0_pre1.ebuild
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
# Copyright 2022-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
MY_PV="${PV/_pre/.dev}"
|
||||||
|
|
||||||
|
DESCRIPTION="Open Source API and interchange format for editorial timeline information."
|
||||||
|
HOMEPAGE="https://opentimeline.io"
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/AcademySoftwareFoundation/OpenTimelineIO.git"
|
||||||
|
EGIT_SUBMODULES="src/deps/{any,optional-lite,rapidjson}"
|
||||||
|
else
|
||||||
|
MY_PN="OpenTimelineIO"
|
||||||
|
|
||||||
|
ANY_COMMIT="bfc77f2e4be6e9a093dd645ef3f1aa30620c9205"
|
||||||
|
OPTIONAL_LITE_COMMIT="be720ebfd7add22abe60e49602735de9231105d0"
|
||||||
|
RAPIDJSON_COMMIT="06d58b9e848c650114556a23294d0b6440078c61"
|
||||||
|
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/AcademySoftwareFoundation/${MY_PN}/archive/refs/tags/v${MY_PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz
|
||||||
|
https://github.com/thelink2012/any/archive/${ANY_COMMIT}.tar.gz
|
||||||
|
-> any-${ANY_COMMIT}.tar.gz
|
||||||
|
https://github.com/martinmoene/optional-lite/archive/${OPTIONAL_LITE_COMMIT}.tar.gz
|
||||||
|
-> optional-lite-${OPTIONAL_LITE_COMMIT}.tar.gz
|
||||||
|
https://github.com/Tencent/rapidjson/archive/${RAPIDJSON_COMMIT}.tar.gz
|
||||||
|
-> rapidjson-${RAPDIJSON_COMMIT}.tar.gz
|
||||||
|
"
|
||||||
|
S="${WORKDIR}/${MY_PN}-${MY_PV}"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
|| (
|
||||||
|
dev-libs/imath
|
||||||
|
media-libs/ilmbase
|
||||||
|
)
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
#TODO: python
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if [[ "${PV}" != "9999" ]]; then
|
||||||
|
rmdir "${S}/src/deps/"{any,optional-lite,rapidjson} || die
|
||||||
|
mv "${WORKDIR}/any-${ANY_COMMIT}" "${S}/src/deps/any" || die
|
||||||
|
mv "${WORKDIR}/optional-lite-${OPTIONAL_LITE_COMMIT}" "${S}/src/deps/optional-lite" || die
|
||||||
|
mv "${WORKDIR}/rapidjson-${RAPIDJSON_COMMIT}" "${S}/src/deps/rapidjson" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
eapply_user
|
||||||
|
|
||||||
|
sed -i \
|
||||||
|
"s|\(set(OTIO_RESOLVED_CXX_DYLIB_INSTALL_DIR \"\${CMAKE_INSTALL_PREFIX}/\)lib\")|\1$(get_libdir)\")|" \
|
||||||
|
CMakeLists.txt || die
|
||||||
|
|
||||||
|
cmake_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
# needed for olive, hopefully set upstream in the final release
|
||||||
|
# (with the removal of bundled any and optional!)
|
||||||
|
# https://github.com/AcademySoftwareFoundation/OpenTimelineIO/pull/1539
|
||||||
|
-DCMAKE_CXX_STANDARD=17
|
||||||
|
|
||||||
|
-DOTIO_AUTOMATIC_SUBMODULES=OFF
|
||||||
|
-DOTIO_FIND_IMATH=ON
|
||||||
|
|
||||||
|
-DOTIO_CXX_COVERAGE=OFF
|
||||||
|
-DOTIO_CXX_EXAMPLES=OFF
|
||||||
|
-DOTIO_CXX_INSTALL=ON
|
||||||
|
-DOTIO_DEPENDENCIES_INSTALL=ON
|
||||||
|
-DOTIO_INSTALL_COMMANDLINE_TOOLS=ON
|
||||||
|
-DOTIO_INSTALL_CONTRIB=OFF
|
||||||
|
-DOTIO_PYTHON_INSTALL=OFF
|
||||||
|
-DOTIO_SHARED_LIBS=ON
|
||||||
|
)
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user