community/openvdb to 7.2.0-1

This commit is contained in:
Kevin Mihelich 2020-12-21 03:30:16 +00:00
parent 417f4eb8c0
commit 5bb83579f8

View file

@ -4,8 +4,8 @@
# - explicitly link v5/v6 with libatomic
pkgname=openvdb
pkgver=7.1.0
pkgrel=5
pkgver=7.2.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')
@ -15,12 +15,15 @@ makedepends=('doxygen' 'boost' 'cmake' 'mesa' 'cppunit' 'glfw-x11' 'glu' 'python
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=('49806375f7e6d7b12eaba24e672a068531d2f8a05f12eba29069710d2682f9983f9e6ad26047eed4b28e337f8d0e738b90130582863c710e8dd1e720bf0addad')
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')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i "s/MINIMUM_PYTHON_VERSION 2.7/MINIMUM_PYTHON_VERSION 3.7/g" CMakeLists.txt
# sed -i "s/MINIMUM_PYTHON_VERSION 2.7/MINIMUM_PYTHON_VERSION 3.7/g" CMakeLists.txt
patch -Np1 -i "${srcdir}/905.patch"
mkdir build
}