Date: Monday, December 28, 2020 @ 02:53:29 Author: svenstaro Revision: 794319
archrelease: copy trunk to community-staging-x86_64 Added: openvdb/repos/community-staging-x86_64/ openvdb/repos/community-staging-x86_64/PKGBUILD (from rev 794318, openvdb/trunk/PKGBUILD) openvdb/repos/community-staging-x86_64/boost-1.67.patch (from rev 794318, openvdb/trunk/boost-1.67.patch) ------------------+ PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ boost-1.67.patch | 11 +++++++++++ 2 files changed, 52 insertions(+) Copied: openvdb/repos/community-staging-x86_64/PKGBUILD (from rev 794318, openvdb/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-28 02:53:29 UTC (rev 794319) @@ -0,0 +1,41 @@ +# Maintainer : Sven-Hendrik Haase <svenst...@gmail.com> +pkgname=openvdb +pkgver=8.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=('openexr' 'boost-libs' 'intel-tbb' 'zlib' 'jemalloc' 'blosc' 'log4cplus' 'openexr') +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=('b26dea41e5305bbe023362241b82dda7e168f8df9526270e6b214f8442ce7e2135889d79a1944928478ae1a2b24866381b3be4d2d1af7a5726e39724055a6e78') + +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 + mkdir -p "${pkgdir}"/usr/share/doc/ + mv "${pkgdir}"/usr/doc "${pkgdir}"/usr/share/doc/$pkgname +} + +# vim:set sw=2 sts=2 et: Copied: openvdb/repos/community-staging-x86_64/boost-1.67.patch (from rev 794318, openvdb/trunk/boost-1.67.patch) =================================================================== --- community-staging-x86_64/boost-1.67.patch (rev 0) +++ community-staging-x86_64/boost-1.67.patch 2020-12-28 02:53:29 UTC (rev 794319) @@ -0,0 +1,11 @@ +diff -upr openvdb-5.1.0.orig/openvdb/CMakeLists.txt openvdb-5.1.0/openvdb/CMakeLists.txt +--- openvdb-5.1.0.orig/openvdb/CMakeLists.txt 2018-06-03 02:59:00.521389220 +0300 ++++ openvdb-5.1.0/openvdb/CMakeLists.txt 2018-06-03 03:07:55.094264747 +0300 +@@ -275,6 +275,7 @@ IF (NOT WIN32) + TARGET_LINK_LIBRARIES ( vdb_view + openvdb_shared + ${Boost_THREAD_LIBRARY} ++ ${CMAKE_THREAD_LIBS_INIT} + ${OPENGL_gl_LIBRARY} + ${OPENGL_glu_LIBRARY} + ${COCOA_LIBRARY}