[arch-commits] Commit in ospray/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Tue Jul 19 06:40:15 UTC 2022
Date: Tuesday, July 19, 2022 @ 06:40:15
Author: arojas
Revision: 1254532
archrelease: copy trunk to community-staging-x86_64
Added:
ospray/repos/community-staging-x86_64/
ospray/repos/community-staging-x86_64/PKGBUILD
(from rev 1254531, ospray/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: ospray/repos/community-staging-x86_64/PKGBUILD (from rev 1254531, ospray/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-07-19 06:40:15 UTC (rev 1254532)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=ospray
+pkgver=2.10.0
+pkgrel=3
+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=('bd478284f48d2cb775fc41a2855a9d9f5ea16c861abda0f8dc94e02ea7189cb8')
+
+build() {
+ cmake -B build -S ${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DOSPRAY_BUILD_ISA=ALL \
+ -DOSPRAY_ENABLE_APPS_EXAMPLES=OFF \
+ -DOSPRAY_ENABLE_APPS_TUTORIALS=OFF \
+ -DOSPRAY_ENABLE_MODULES=ON \
+ -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