# Template file for 'OpenTimelineIO'
pkgname=OpenTimelineIO
version=0.17.0
revision=1
build_style=cmake
configure_args="-DOTIO_FIND_IMATH=ON -DBUILD_SHARED_LIBS=ON"
makedepends="imath-devel rapidjson"
short_desc="Interchange format for editorial timeline information"
maintainer="John <me@johnnynator.dev>"
license="Apache-2.0"
homepage="https://github.com/AcademySoftwareFoundation/OpenTimelineIO"
distfiles="https://github.com/AcademySoftwareFoundation/OpenTimelineIO/archive/refs/tags/v${version}.tar.gz"
checksum=cdf8281c6091a18a4147295b660e13b610a6d58919a79608bf03e5359c1c2d24

OpenTimelineIO-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
