[arch-commits] Commit in ospray/repos (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Wed Nov 24 20:58:40 UTC 2021


    Date: Wednesday, November 24, 2021 @ 20:58:40
  Author: arojas
Revision: 1054737

archrelease: copy trunk to community-staging-x86_64

Added:
  ospray/repos/community-staging-x86_64/
  ospray/repos/community-staging-x86_64/PKGBUILD
    (from rev 1054736, ospray/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: ospray/repos/community-staging-x86_64/PKGBUILD (from rev 1054736, ospray/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-11-24 20:58:40 UTC (rev 1054737)
@@ -0,0 +1,29 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=ospray
+pkgver=2.8.0
+pkgrel=2
+pkgdesc="Ray Tracing Based Rendering Engine for High-Fidelity Visualization"
+arch=(x86_64)
+url="https://www.ospray.org/"
+license=(Apache)
+depends=(tbb embree ispc libgl glfw glu openmpi openimagedenoise openvkl rkcommon snappy)
+optdepends=('benchmark: benchmarks'
+            'gtest: tests suite')
+makedepends=(cmake benchmark gtest)
+source=(https://github.com/ospray/OSPRay/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('2dabc75446a0e2e970952d325f930853a51a9b4d1868c8135f05552a4ae04d39')
+
+build() {
+  cmake -B build -S ${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DOSPRAY_BUILD_ISA=ALL \
+    -DOSPRAY_MODULE_DENOISER=ON \
+    -DOSPRAY_MODULE_MPI=ON
+  make -C build
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list