[arch-commits] Commit in paraview/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Tue Jul 28 08:41:28 UTC 2020


    Date: Tuesday, July 28, 2020 @ 08:41:28
  Author: archange
Revision: 665630

FS#66441 & FS#67179

Modified:
  paraview/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-28 08:35:06 UTC (rev 665629)
+++ PKGBUILD	2020-07-28 08:41:28 UTC (rev 665630)
@@ -8,7 +8,7 @@
 pkgname=${_pkg}
 #-${_mpi}
 pkgver=5.8.0
-pkgrel=8
+pkgrel=9
 pkgdesc="Parallel Visualization application using VTK (${_mpi} version)"
 arch=(x86_64)
 url="https://www.paraview.org"
@@ -26,7 +26,7 @@
 source=("${url}/files/v${pkgver:0:3}/ParaView-v${pkgver/R/-R}.tar.xz"
         paraview-cgns-4.1.patch::https://gitlab.kitware.com/paraview/paraview/-/commit/3d48a287141eb911b4888440e09c262743b4db3c.patch)
 sha256sums=('219e4107abf40317ce054408e9c3b22fb935d464238c1c00c0161f1c8697a3f9'
-            '785cb6bd349608f441ec90ac0bd3059efc3a14856c3513733729605ee240cf90')
+            '917485fbff57b922e67e40ee35d265769b05b4b62c397e4c9ce00244f5fd07ae')
 
 prepare() {
     cd ParaView-v${pkgver/R/-R}
@@ -37,6 +37,7 @@
     # Note regarding use of system dependencies:
     # GL2PS has non-upstreamed patches
     # LIBHARU blocked by https://github.com/libharu/libharu/pull/157
+    export CPPFLAGS+=" -DH5_USE_110_API"
     cmake -B build -S ParaView-v${pkgver/R/-R} \
         -DCMAKE_BUILD_TYPE=Release \
         -DCMAKE_INSTALL_PREFIX=/usr \
@@ -57,8 +58,6 @@
         -DVTKm_ENABLE_MPI=ON \
         -DVTK_MODULE_ENABLE_VTK_IOGDAL=YES \
         -DVTK_MODULE_ENABLE_VTK_IOPDAL=YES \
-        -DCMAKE_C_FLAGS="-DH5_USE_110_API" \
-        -DCMAKE_CXX_FLAGS="-DH5_USE_110_API" \
         -GNinja
 
     ninja -C build ${MAKEFLAGS}



More information about the arch-commits mailing list