2015-06-23 02:18:26 +00:00
|
|
|
# Template file for 'luxmark'
|
|
|
|
pkgname=luxmark
|
|
|
|
version=3.0
|
2015-07-21 21:25:56 +00:00
|
|
|
revision=2
|
2015-06-23 02:18:26 +00:00
|
|
|
build_style=cmake
|
|
|
|
hostmakedepends="cmake"
|
|
|
|
makedepends="openimageio-devel tiff-devel libpng-devel libgomp-devel libopenexr-devel MesaLib-devel opencl-headers boost-devel python-devel luxrays-devel glew-devel libfreeglut-devel qt-devel"
|
|
|
|
short_desc="OpenCL benchmark based on LuxCore"
|
|
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://www.luxrender.net/wiki/LuxMark"
|
|
|
|
distfiles="https://bitbucket.org/luxrender/luxmark/get/${pkgname}_v${version}.tar.gz"
|
|
|
|
checksum=17f2300dbfe9eca571e4475db51635f01d4bced3a6447c620abb8b900be02f99
|
|
|
|
|
|
|
|
configure_args=" -DCMAKE_SKIP_RPATH=ON"
|
|
|
|
|
|
|
|
post_extract() {
|
|
|
|
mv $XBPS_BUILDDIR/luxrender-luxmark* $wrksrc
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin build/bin/luxmark
|
|
|
|
vmkdir usr/share/luxmark
|
|
|
|
vcopy scenes usr/share/luxmark
|
|
|
|
}
|