34 lines
998 B
Bash
34 lines
998 B
Bash
# Template file for 'opencolorio'
|
|
pkgname=opencolorio
|
|
version=1.1.0
|
|
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="pkg-config git"
|
|
makedepends="tinyxml-devel lcms2-devel"
|
|
short_desc="A complete color management solution"
|
|
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
|
license="openimageio"
|
|
homepage="http://opencolorio.org"
|
|
changelog="https://raw.githubusercontent.com/imageworks/OpenColorIO/master/ChangeLog"
|
|
distfiles="https://github.com/imageworks/OpenColorIO/archive/v${version}.tar.gz"
|
|
checksum=228589879e1f11e455a555304007748a8904057088319ebbf172d9384b93c079
|
|
|
|
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"
|
|
}
|
|
}
|