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

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Jun 12 23:58:54 UTC 2021


    Date: Saturday, June 12, 2021 @ 23:58:54
  Author: svenstaro
Revision: 963222

archrelease: copy trunk to community-testing-x86_64

Added:
  openvdb/repos/community-testing-x86_64/
  openvdb/repos/community-testing-x86_64/PKGBUILD
    (from rev 963221, openvdb/trunk/PKGBUILD)

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

Copied: openvdb/repos/community-testing-x86_64/PKGBUILD (from rev 963221, openvdb/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-06-12 23:58:54 UTC (rev 963222)
@@ -0,0 +1,39 @@
+# Maintainer : Sven-Hendrik Haase <svenstaro at gmail.com>
+pkgname=openvdb
+pkgver=8.1.0
+pkgrel=1
+pkgdesc='A large suite of tools for the efficient storage and manipulation of sparse volumetric data discretized on three-dimensional grids'
+url='https://github.com/dreamworksanimation/openvdb'
+arch=('x86_64')
+license=('MPL')
+depends=('boost-libs' 'intel-tbb' 'zlib' 'jemalloc' 'blosc' 'log4cplus' 'imath')
+makedepends=('doxygen' 'boost' 'cmake' 'mesa' 'cppunit' 'glfw-x11' 'glu' 'python' 'python-numpy' 'ninja')
+optdepends=('glfw: for tools'
+            'glu: for tools'
+            'python-numpy: python module')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dreamworksanimation/openvdb/archive/v${pkgver}.tar.gz")
+sha512sums=('081ccedb122ff9bd73e0cd7ff083ad0ff0165e0cf6305187edcbe90ff12f01ec085c91ad5c52c53596035e0c2afd5b8801e6c00374b0fc4b0cc111f5c7f37eb5')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  cmake \
+    -Bbuild \
+    -GNinja \
+    -DUSE_NUMPY=ON \
+    -DUSE_LOG4CPLUS=ON \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DOPENVDB_BUILD_PYTHON_MODULE=ON \
+    -DOPENVDB_BUILD_DOCS=ON \
+    -DOPENVDB_BUILD_UNITTESTS=OFF
+
+  ninja -C build
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}/build"
+
+  DESTDIR="${pkgdir}" ninja install
+}
+
+# vim:set sw=2 sts=2 et:



More information about the arch-commits mailing list