[arch-commits] Commit in openvdb/repos/community-x86_64 (PKGBUILD PKGBUILD)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Tue Nov 23 21:35:03 UTC 2021


    Date: Tuesday, November 23, 2021 @ 21:35:02
  Author: svenstaro
Revision: 1054518

archrelease: copy trunk to community-x86_64

Added:
  openvdb/repos/community-x86_64/PKGBUILD
    (from rev 1054517, openvdb/trunk/PKGBUILD)
Deleted:
  openvdb/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-23 21:34:54 UTC (rev 1054517)
+++ PKGBUILD	2021-11-23 21:35:02 UTC (rev 1054518)
@@ -1,39 +0,0 @@
-# Maintainer : Sven-Hendrik Haase <svenstaro at gmail.com>
-pkgname=openvdb
-pkgver=9.0.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')
-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=('1410b7b04b03fb09d6775ebe7b95e7c0a484d5f29c84203530ed30ccb7c061470be1abb93189010617342e57f3fecdd66a115c6d222024e68e2384a7fb196194')
-
-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:

Copied: openvdb/repos/community-x86_64/PKGBUILD (from rev 1054517, openvdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-23 21:35:02 UTC (rev 1054518)
@@ -0,0 +1,42 @@
+# Maintainer : Sven-Hendrik Haase <svenstaro at archlinux.org>
+pkgname=openvdb
+pkgver=9.0.0
+pkgrel=2
+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')
+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=('1410b7b04b03fb09d6775ebe7b95e7c0a484d5f29c84203530ed30ccb7c061470be1abb93189010617342e57f3fecdd66a115c6d222024e68e2384a7fb196194')
+
+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
+  # Try to workaround FS#72653 for now
+  mkdir -p "${pkgdir}"/usr/share/cmake-3.22/Modules/
+  ln -s "${pkgdir}"/usr/lib/cmake/OpenVDB/FindOpenVDB.cmake "${pkgdir}"/usr/share/cmake-3.22/Modules/FindOpenVDB.cmake
+}
+
+# vim:set sw=2 sts=2 et:



More information about the arch-commits mailing list