void-packages/srcpkgs/opencolorio/template

35 lines
930 B
Bash

# Template file for 'opencolorio'
pkgname=opencolorio
version=1.0.9
revision=1
wrksrc=OpenColorIO-${version}
build_style=cmake
configure_args="-DUSE_EXTERNAL_TINYXML=ON -DUSE_EXTERNAL_LCMS=ON"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) ;;
*) configure_args+=" -DOCIO_USE_SSE=OFF" ;;
esac
hostmakedepends="pkg-config"
makedepends="tinyxml-devel lcms2-devel"
short_desc="A complete color management solution"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="openimageio"
homepage="http://opencolorio.org"
distfiles="https://github.com/imageworks/OpenColorIO/archive/v${version}.tar.gz"
checksum=27c81e691c15753cd2b560c2ca4bd5679a60c2350eedd43c99d44ca25d65ea7f
post_install() {
vlicense LICENSE
}
opencolorio-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/pkgconfig
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}