[arch-commits] Commit in openvdb/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Fri Dec 25 00:05:19 UTC 2020
Date: Friday, December 25, 2020 @ 00:05:19
Author: svenstaro
Revision: 789245
upgpkg: openvdb 7.2.1-1
Modified:
openvdb/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++-----------------
1 file changed, 7 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-25 00:04:58 UTC (rev 789244)
+++ PKGBUILD 2020-12-25 00:05:19 UTC (rev 789245)
@@ -1,6 +1,6 @@
# Maintainer : Sven-Hendrik Haase <svenstaro at gmail.com>
pkgname=openvdb
-pkgver=7.2.0
+pkgver=7.2.1
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'
@@ -11,23 +11,14 @@
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"
- https://patch-diff.githubusercontent.com/raw/AcademySoftwareFoundation/openvdb/pull/905.patch)
-sha512sums=('f55ce585349272ddf534d2ccdf51ebbb1b50ac0a0431056c8f4d431cc6867e31cc0abdc3ea7856918904fc114406d896e89ee1b52be0eb6626cbf7ad9ac90160'
- '034a96b1baa59b4455d46244a3dbbf85ca775e6295ed77b968de10d56816af8bc2bdf9c5f29ce949edfbaea780fbbba07be4e1b6f303946b9af9f130f5c8fed0')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dreamworksanimation/openvdb/archive/v${pkgver}.tar.gz")
+sha512sums=('ae74c3e54fe5ae5866bc58cf83c0ba291a32dd9af9c87cbf201af7ab169b44af2afc134eaa0c7c37de0471ebde08e1ee325e4e111d69579ad9460892055fb137')
-prepare() {
+build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- # sed -i "s/MINIMUM_PYTHON_VERSION 2.7/MINIMUM_PYTHON_VERSION 3.7/g" CMakeLists.txt
- patch -Np1 -i "${srcdir}/905.patch"
- mkdir build
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"/build
-
- cmake .. \
+ cmake \
+ -Bbuild \
-GNinja \
-DUSE_NUMPY=ON \
-DUSE_LOG4CPLUS=ON \
@@ -36,8 +27,7 @@
-DOPENVDB_BUILD_DOCS=ON \
-DOPENVDB_BUILD_UNITTESTS=OFF
- sed -i "s/isystem/I/g" build.ninja
- ninja
+ ninja -C build
}
package() {
More information about the arch-commits
mailing list