summaryrefslogtreecommitdiff
path: root/community/luxrays/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/luxrays/PKGBUILD')
-rw-r--r--community/luxrays/PKGBUILD45
1 files changed, 0 insertions, 45 deletions
diff --git a/community/luxrays/PKGBUILD b/community/luxrays/PKGBUILD
deleted file mode 100644
index ff955101f..000000000
--- a/community/luxrays/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 59944 2011-12-02 20:59:16Z ibiru $
-# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
-pkgname=luxrays
-pkgver=0.8
-_pkgver=ed424ec77571
-pkgrel=7
-epoch=0
-pkgdesc="Accelerate the ray intersection process by using GPUs"
-arch=('i686' 'x86_64')
-url="http://www.luxrender.net/"
-license=('GPL')
-depends=('freeimage' 'freeglut' 'glew' 'libcl')
-makedepends=('cmake' 'boost' 'opencl-headers')
-source=(https://bitbucket.org/luxrender/luxrays/get/$_pkgver.tar.bz2 \
- luxrays_opencl1.2_use_deprecated.diff)
-md5sums=('2ac9c588675c5971c57f473ef10ac67d'
- '27b3eb7c6332aa7f040cc4ca94dc3df6')
-
-build() {
- cd "$srcdir/luxrender-$pkgname-$_pkgver"
-
- # fix the build with opencl-headers 1.2
- # they doesn't support OpenCL 1.1, so we have to use this ugly hack of using deprecated API
- patch -Np1 < "$srcdir/luxrays_opencl1.2_use_deprecated.diff"
- # fix the break caused by the change of the name of the namespace 'detail' to 'ipcdetail'
- sed -i 's|::detail|::ipcdetail|' include/luxrays/utils/core/atomic.h
-
- export CXXFLAGS="$CXXFLAGS -lpthread"
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_RPATH=ON \
- -DLUXRAYS_DISABLE_OPENCL=OFF \
- .
- make
-}
-
-package() {
- cd "$srcdir/luxrender-$pkgname-$_pkgver"
-
- install -d -m755 "$pkgdir"/usr/{bin,include,lib}
- install -m755 bin/* "$pkgdir"/usr/bin
- install -m644 lib/* "$pkgdir"/usr/lib
- cp -a include/luxrays "$pkgdir"/usr/include
-}
-
-# vim:set ts=2 sw=2 et: