35 lines
936 B
Bash
35 lines
936 B
Bash
# Template file for 'opencolorio'
|
|
pkgname=opencolorio
|
|
version=1.0.8
|
|
revision=2
|
|
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="cmake 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=7bc010f11c033a1d5d37da1f45f83f146458f76dc509c727414df34622f0a736
|
|
|
|
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"
|
|
}
|
|
}
|