summaryrefslogtreecommitdiff
path: root/artistic/luxrays-nocl
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-04 23:20:25 -0300
committerMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-04 23:20:25 -0300
commit43a790b0d70af0c52c24405e0242f77683fd412f (patch)
tree094338da5e3543e05af109d2cb8318319fce9198 /artistic/luxrays-nocl
parentac55e256051e02dac6320d277926cc70ea65cb81 (diff)
downloadabslibre-43a790b0d70af0c52c24405e0242f77683fd412f.tar.gz
abslibre-43a790b0d70af0c52c24405e0242f77683fd412f.tar.bz2
abslibre-43a790b0d70af0c52c24405e0242f77683fd412f.zip
remove lux{rays,render}-libre from libre repo and add lux{rays,render}-{nocl,art} to artistic repo
Diffstat (limited to 'artistic/luxrays-nocl')
-rw-r--r--artistic/luxrays-nocl/PKGBUILD60
1 files changed, 60 insertions, 0 deletions
diff --git a/artistic/luxrays-nocl/PKGBUILD b/artistic/luxrays-nocl/PKGBUILD
new file mode 100644
index 000000000..cd6d642e7
--- /dev/null
+++ b/artistic/luxrays-nocl/PKGBUILD
@@ -0,0 +1,60 @@
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgname=luxrays-nocl
+pkgver=1.0rc4
+_pkgver=752ba5c422e0
+pkgrel=1
+epoch=0
+pkgdesc='Accelerate the ray intersection process by using CPUs (without OpenCL)'
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+url=http://www.${pkgname::3}render.net/
+license=(
+ GPL
+)
+depends=(
+ freeimage
+ freeglut
+ glew
+)
+makedepends=(
+ cmake
+ boost
+)
+conflicts=(
+ ${pkgname%-nocl}
+)
+provides=(
+ ${pkgname%-nocl}=$pkgver
+)
+source=(
+ https://bitbucket.org/${pkgname::3}render/${pkgname%-nocl}/get/$_pkgver.tar.bz2
+)
+md5sums=(
+ f5f4b53df22a1c7ad301c78d046edd7d
+)
+
+build() {
+ cd $srcdir/${pkgname::3}render-${pkgname%-nocl}-$_pkgver
+
+ export CXXFLAGS='$CXXFLAGS -lpthread'
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DLUXRAYS_DISABLE_OPENCL=ON \
+ .
+ make
+}
+
+package() {
+ cd $srcdir/luxrender-${pkgname%-nocl}-$_pkgver
+
+ install -d -m755 $pkgdir/usr/{bin,include,lib}
+ install -m755 bin/* $pkgdir/usr/bin
+ install -m644 lib/* $pkgdir/usr/lib
+ cp -a include/${pkgname%-nocl} $pkgdir/usr/include
+}
+