2015-06-23 04:18:26 +02:00
|
|
|
# Template file for 'luxmark'
|
|
|
|
pkgname=luxmark
|
2015-09-02 14:16:54 +02:00
|
|
|
version=3.1
|
2015-12-24 00:20:41 +01:00
|
|
|
revision=2
|
2015-06-23 04:18:26 +02:00
|
|
|
build_style=cmake
|
|
|
|
hostmakedepends="cmake"
|
2015-07-21 23:57:50 +02:00
|
|
|
makedepends="openimageio-devel tiff-devel libpng-devel libgomp-devel libopenexr-devel MesaLib-devel ocl-icd-devel opencl-headers boost-devel python-devel luxrays-devel glew-devel libfreeglut-devel qt-devel"
|
2015-06-23 04:18:26 +02:00
|
|
|
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"
|
2015-09-02 14:16:54 +02:00
|
|
|
checksum=175cc38f8a3cb73cf2ef25d6e99981456d66e1f9c7fb362522e7e58319c026e6
|
2015-06-23 04:18:26 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|