summaryrefslogtreecommitdiff
path: root/libre/luxmark
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-05-16 15:17:31 -0400
committerDavid P <megver83@parabola.nu>2018-05-16 15:17:31 -0400
commit080f32a3a3e1b3044880ce5fac84dc01dabc4f0e (patch)
treeb53232bffaac7ef972856a13b107a4d73ac2d7d1 /libre/luxmark
parent30f40fb91514c592533316a9948e4977572e8230 (diff)
downloadabslibre-080f32a3a3e1b3044880ce5fac84dc01dabc4f0e.tar.gz
abslibre-080f32a3a3e1b3044880ce5fac84dc01dabc4f0e.tar.bz2
abslibre-080f32a3a3e1b3044880ce5fac84dc01dabc4f0e.zip
remove deprecated [libre] packages
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre/luxmark')
-rw-r--r--libre/luxmark/PKGBUILD54
-rw-r--r--libre/luxmark/exepath.diff15
-rw-r--r--libre/luxmark/system_scenes.diff21
3 files changed, 0 insertions, 90 deletions
diff --git a/libre/luxmark/PKGBUILD b/libre/luxmark/PKGBUILD
deleted file mode 100644
index 2ffe96734..000000000
--- a/libre/luxmark/PKGBUILD
+++ /dev/null
@@ -1,54 +0,0 @@
-# $Id: PKGBUILD 207918 2017-01-18 20:07:48Z stativ $
-# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
-# Maintainer (Hyperbola): Márcio Silva <coadde@hyperbola.info>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-pkgname=luxmark
-pkgver=3.1
-_scenever=3.1beta3
-_pkgver=21d445746802
-pkgrel=4.parabola2
-pkgdesc="OpenCL benchmark tool, with opencl-mesa recommendation"
-arch=('x86_64') # because of embree only x86_64 is supported
-url="http://www.luxrender.net/"
-license=('GPL3')
-depends=('boost-libs' 'embree' 'freetype2' 'freeglut' 'glew' 'opencl-icd-loader' 'libgl' 'libpng' 'openimageio' 'qt4')
-makedepends=('cmake' 'boost' 'luxrays' 'mesa' 'opencl-headers' 'freeglut')
-optdepends=('opencl-mesa: OpenCL support for AMD/ATI GPUs')
-source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/luxrender/luxmark/get/${_pkgver}.tar.bz2 \
- https://bitbucket.org/luxrender/luxmark/downloads/scenes-v${_scenever}.zip \
- fix_includes.diff::https://bitbucket.org/luxrender/luxmark/commits/b7f5c9475c14b91364835d6a253f43400b7d98cb/raw/ \
- system_scenes.diff exepath.diff)
-sha256sums=('af1600ebac738188fec092fc4e3f7e3ecdff29ffb9b1cfa656b970e575fb6767'
- 'c5b93e682d44dd1a43e61c1d8d131c364dc285ddba70ddd2036c730663f0e875'
- '796aa9c89bbef57d595d2097347a502e9f988790b43fe5911e024ae0707311d0'
- '489cee3660427676eaf657e41b2f9a64eb4b7e1b0163fdf09286435339cf692f'
- '666e48e92e4f9928e8197d4e0365e7ee640adf2ff9fbb5d09586e1951e54667f')
-
-prepare() {
- cd "$srcdir"/luxrender-luxmark-$_pkgver
-
- patch -Np1 < "$srcdir/system_scenes.diff"
- # fix includes for luxrays 1.6
- patch -Np1 < "$srcdir/fix_includes.diff"
- # fix exepath for the VR mode to work
- patch -Np1 < "$srcdir/exepath.diff"
-}
-
-build() {
- cd "$srcdir/luxrender-luxmark-$_pkgver"
-
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_RPATH=ON \
- .
- make
-}
-
-package() {
- cd "$srcdir/luxrender-luxmark-$_pkgver"
- install -D -m755 bin/luxmark "$pkgdir"/usr/bin/luxmark
-
- install -d "$pkgdir/usr/share/luxmark"
- cp -a "$srcdir/scenes" "$pkgdir/usr/share/luxmark"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/libre/luxmark/exepath.diff b/libre/luxmark/exepath.diff
deleted file mode 100644
index bf135fec6..000000000
--- a/libre/luxmark/exepath.diff
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/src/luxmarkapp.cpp b/src/luxmarkapp.cpp
---- a/src/luxmarkapp.cpp
-+++ b/src/luxmarkapp.cpp
-@@ -90,10 +90,7 @@
- }
- exePath = boost::filesystem::path(boost::filesystem::initial_path<boost::filesystem::path>());
- #else
--
-- // Look for the directory where Lux executables are
-- const boost::filesystem::path luxMarkExe(argv[0]);
-- exePath = boost::filesystem::absolute(luxMarkExe).parent_path();
-+ exePath = "/usr/bin";
- #endif
- }
-
diff --git a/libre/luxmark/system_scenes.diff b/libre/luxmark/system_scenes.diff
deleted file mode 100644
index f55ec1951..000000000
--- a/libre/luxmark/system_scenes.diff
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -rup luxrender-luxmark-985b948aa5c7/src/main.cpp luxrender-luxmark-985b948aa5c7.new/src/main.cpp
---- luxrender-luxmark-985b948aa5c7/src/main.cpp 2015-02-25 10:46:48.000000000 +0100
-+++ luxrender-luxmark-985b948aa5c7.new/src/main.cpp 2015-03-12 23:01:53.971856726 +0100
-@@ -125,16 +125,7 @@ int main(int argc, char **argv) {
- return EXIT_SUCCESS;
- else {
- app.Init(mode, scnName, singleRun, singleRunExtInfo);
--
-- // If current directory doesn't have the "scenes" directory, move
-- // to where the executable is
-- if (!boost::filesystem::exists("./scenes")) {
-- // Look for the directory where LuxMark executable is installed
-- boost::filesystem::path exePath(boost::filesystem::initial_path<boost::filesystem::path>());
-- exePath = boost::filesystem::system_complete(boost::filesystem::path(argv[0])).parent_path();
-- // Set the current directory to where the binary is
-- boost::filesystem::current_path(exePath);
-- }
-+ boost::filesystem::current_path("/usr/share/luxmark");
-
- // Force C locale
- setlocale(LC_NUMERIC, "C");