void-packages/srcpkgs/openimageio/template

31 lines
1.0 KiB
Bash
Raw Normal View History

2015-04-02 18:13:11 +02:00
# Template file for 'openimageio'
pkgname=openimageio
version=1.5.13
revision=2
2015-04-02 18:13:11 +02:00
wrksrc=oiio-Release-${version}
build_style=cmake
configure_args="-DUSE_OPENGL=0 -DUSE_QT=0 -DUSE_PYTHON=0 -DOIIO_BUILD_TESTS=0"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) configure_args+=" -DUSE_SIMD=sse2" ;;
2015-04-02 18:13:11 +02:00
esac
hostmakedepends="cmake pkg-config"
makedepends="boost-devel giflib-devel libraw-devel libopenjpeg-devel libwebp-devel
libjpeg-turbo-devel tiff-devel libpng-devel libopenexr-devel freetype-devel
ffmpeg-devel libopencv-devel"
2015-04-02 18:13:11 +02:00
short_desc="Library for reading and writing images"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="BSD"
homepage="https://sites.google.com/site/openimageio/home"
distfiles="https://github.com/OpenImageIO/oiio/archive/Release-${version}.tar.gz"
checksum=ff9fd20eb2ad3a4d05e9e2849f18a62d4fe7a9330de21f177db597562d947429
nocross=yes # -> ilmbase
openimageio-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
2015-04-02 18:13:11 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}