New package: opencolorio-1.0.8

This commit is contained in:
lemmi 2015-04-02 21:48:50 +02:00 committed by Juan RP
parent 57174e06ea
commit 13acda929f
2 changed files with 35 additions and 0 deletions

1
srcpkgs/opencolorio-devel Symbolic link
View file

@ -0,0 +1 @@
opencolorio

View file

@ -0,0 +1,34 @@
# Template file for 'opencolorio'
pkgname=opencolorio
version=1.0.8
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="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="opencolorio>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/pkgconfig
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}