From 8736f458a17a03cf79a763a0c8122f93162fed71 Mon Sep 17 00:00:00 2001 From: Parabola Date: Wed, 7 Dec 2011 15:02:31 +0000 Subject: Wed Dec 7 15:02:27 UTC 2011 --- community-testing/luxrays/PKGBUILD | 45 ---------------------- .../luxrays/luxrays_opencl1.2_use_deprecated.diff | 12 ------ 2 files changed, 57 deletions(-) delete mode 100644 community-testing/luxrays/PKGBUILD delete mode 100644 community-testing/luxrays/luxrays_opencl1.2_use_deprecated.diff (limited to 'community-testing/luxrays') diff --git a/community-testing/luxrays/PKGBUILD b/community-testing/luxrays/PKGBUILD deleted file mode 100644 index 16b917a90..000000000 --- a/community-testing/luxrays/PKGBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# $Id: PKGBUILD 59751 2011-11-30 06:34:49Z ibiru $ -# Maintainer: Lukas Jirkovsky -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: diff --git a/community-testing/luxrays/luxrays_opencl1.2_use_deprecated.diff b/community-testing/luxrays/luxrays_opencl1.2_use_deprecated.diff deleted file mode 100644 index 0876628d7..000000000 --- a/community-testing/luxrays/luxrays_opencl1.2_use_deprecated.diff +++ /dev/null @@ -1,12 +0,0 @@ -diff -rup luxrender-luxrays-ed424ec77571.orig/include/luxrays/luxrays.h luxrender-luxrays-ed424ec77571/include/luxrays/luxrays.h ---- luxrender-luxrays-ed424ec77571.orig/include/luxrays/luxrays.h 2011-04-24 17:43:08.000000000 +0200 -+++ luxrender-luxrays-ed424ec77571/include/luxrays/luxrays.h 2011-11-26 11:38:00.336459874 +0100 -@@ -30,6 +30,8 @@ - - #define __CL_ENABLE_EXCEPTIONS - -+#define CL_USE_DEPRECATED_OPENCL_1_1_APIS -+ - #if defined(__APPLE__) - #include - #else -- cgit v1.2.3-54-g00ecf