New package: opencolorio-1.0.8
This commit is contained in:
parent
57174e06ea
commit
13acda929f
2 changed files with 35 additions and 0 deletions
1
srcpkgs/opencolorio-devel
Symbolic link
1
srcpkgs/opencolorio-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
opencolorio
|
34
srcpkgs/opencolorio/template
Normal file
34
srcpkgs/opencolorio/template
Normal 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"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue