luxrays: actually enable openCL

(previous template built it without, as the configure-logs show)

Closes: #12693 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Piraty 2017-07-23 17:36:48 +02:00 committed by Jürgen Buchmüller
parent fc3e368208
commit 6eb3d71b31
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 5 additions and 3 deletions

View File

@ -1,17 +1,19 @@
# Template file for 'luxrays'
pkgname=luxrays
version=3.1
revision=7
revision=8
build_style=cmake
configure_args="-DLUXRAYS_DISABLE_OPENCL=OFF -DCMAKE_SKIP_RPATH=ON"
hostmakedepends="flex bison boost-python"
makedepends="openimageio-devel tiff-devel libpng-devel libgomp-devel boost-devel glew-devel opencl-headers libopenexr-devel python-devel libfreeglut-devel embree-devel"
makedepends="openimageio-devel tiff-devel libpng-devel libgomp-devel
boost-devel glew-devel opencl-headers opencl-clhpp libopenexr-devel
python-devel libfreeglut-devel embree-devel"
short_desc="LuxMark renderer engine"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-3"
homepage="http://www.luxrender.net/wiki/LuxRays"
distfiles="https://bitbucket.org/luxrender/luxrays/get/luxmark_v$version.tar.gz"
checksum=f5b67220b72ec261ad51526d5c4550e2f95130565f3aa02a92d40f56593d8064
configure_args=" -DLUXRAYS_DISABLE_OPENCL=OFF -DCMAKE_SKIP_RPATH=ON"
post_extract() {
mv $XBPS_BUILDDIR/luxrender-luxrays* $wrksrc