-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathorg.paraview.ParaView.yaml
653 lines (622 loc) · 24.2 KB
/
org.paraview.ParaView.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
app-id: org.paraview.ParaView
runtime: org.kde.Sdk
sdk: org.kde.Sdk
runtime-version: 5.15-23.08
base: io.qt.qtwebengine.BaseApp
base-version: 5.15-23.08
rename-icon: paraview
command: paraview
finish-args:
- --share=ipc
- --socket=x11
- --device=dri
- --share=network
- --filesystem=home
cleanup:
- /include
- /lib/cmake
- /lib/pkgconfig
- /share/doc
- /share/man
- /etc
- '*.la'
- '*.a'
# Disable ARM support, ParaView does not support it anyway.
modules:
- shared-modules/glew/glew.json
- name: meson
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py install --prefix=/app --root=/
sources:
- type: git
url: https://github.com/mesonbuild/meson.git
tag: 1.6.0
commit: 4c6c89ca7afa6244ba888ce08936acb470e126aa
x-checker-data:
type: git
tag-pattern: ^([\d.]+)$
- name: OpenBLAS # dependency for numpy
no-autogen: true
make-args:
- DYNAMIC_ARCH=1
- DYNAMIC_OLDER=1
- FC=gfortran
- TARGET=GENERIC
- USE_OPENMP=0
make-install-args:
- PREFIX=/app
sources:
- type: archive
url: https://github.com/xianyi/OpenBLAS/archive/v0.3.28.tar.gz
sha256: f1003466ad074e9b0c8d421a204121100b0751c96fc6fcf3d1456bd12f8a00a1
x-checker-data:
type: anitya
project-id: 2540
url-template: https://github.com/xianyi/OpenBLAS/archive/v$version.tar.gz
# python3 flatpak-pip-generator setuptools_scm_git_archive tomli typing-extensions pyproject_metadata setuptools_scm meson-python numpy certifi pyparsing pillow packaging cppy kiwisolver fonttools cycler pybind11 contourpy python-dateutil pkgconfig pyparsing -o python-deps && fb
- python-deps.json
#Copy qhull and freetype to correct dir so matplotlib will not try to download it
- name: python3-matplotlib
buildsystem: simple
build-commands:
- mkdir -p subprojects/packagecache/
- cp qhull-8.0.2.tgz freetype-2.6.1.tar.gz subprojects/packagecache/ #Copy qhull and freetype to correct dir so matplotlib will not try to download it
- python3 -mpip install . --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST}
--no-build-isolation
sources:
- type: file
url: https://download.savannah.gnu.org/releases/freetype/freetype-old/freetype-2.6.1.tar.gz
sha256: 0a3c7dfbda6da1e8fce29232e8e96d987ababbbf71ebc8c75659e4132c367014
dest-filename: freetype-2.6.1.tar.gz
- type: file
dest-filename: qhull-8.0.2.tgz
url: https://github.com/qhull/qhull/archive/v8.0.2/qhull-8.0.2.tar.gz
sha256: 8774e9a12c70b0180b95d6b0b563c5aa4bea8d5960c15e18ae3b6d2521d64f8b
- type: archive
url: https://files.pythonhosted.org/packages/75/9f/562ed484b11ac9f4bb4f9d2d7546954ec106a8c0f06cc755d6f63e519274/matplotlib-3.9.3.tar.gz
sha256: cd5dbbc8e25cad5f706845c4d100e2c8b34691b412b93717ce38d8ae803bcfa5
x-checker-data:
type: pypi
name: matplotlib
- name: Boost
buildsystem: simple
build-commands:
- ./bootstrap.sh --prefix=/app
- ./b2 install cxxflags="$CXXFLAGS" linkflags="$LDFLAGS" -j $FLATPAK_BUILDER_N_JOBS
sources:
- type: archive
url: https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.bz2
sha256: 1bed88e40401b2cb7a1f76d4bab499e352fa4d0c5f31c0dbae64e24d34d7513b
x-checker-data:
type: anitya
project-id: 6845
stable-only: true
url-template: https://boostorg.jfrog.io/artifactory/main/release/${version}/source/boost_${major}_${minor}_${patch}.tar.bz2
- name: hdf5
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DBUILD_TESTING:BOOL=OFF
- -DHDF5_BUILD_EXAMPLES:BOOL=OFF
- -DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=ON
sources:
- type: archive
url: https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1_14_3.tar.gz
sha256: df5ee33c74d5efb59738075ef96f4201588e1f1eeb233f047ac7fd1072dee1f6
x-checker-data:
type: anitya
project-id: 1303
stable-only: true
url-template: https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-${version}.tar.gz
- name: python-h5py
buildsystem: simple
build-commands:
- python3 -mpip install . --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST}
--no-build-isolation
sources:
- type: archive
url: https://github.com/h5py/h5py/archive/refs/tags/3.12.1.tar.gz
sha256: ee8d25e6cc6275779a2727258bcce9f2296a58b6e5ccf4cdc467a3c3a97b56b2
x-checker-data:
type: anitya
project-id: 6409
stable-only: true
url-template: https://github.com/h5py/h5py/archive/refs/tags/${version}.tar.gz
- name: netcdf
sources:
- type: archive
url: https://github.com/Unidata/netcdf-c/archive/v4.9.2.tar.gz
sha256: bc104d101278c68b303359b3dc4192f81592ae8640f1aee486921138f7f88cb7
x-checker-data:
type: anitya
project-id: 10354
stable-only: true
url-template: https://github.com/Unidata/netcdf-c/archive/v${version}.tar.gz
- name: openmpi
sources:
- type: archive
url: https://download.open-mpi.org/release/open-mpi/v5.0/openmpi-5.0.6.tar.bz2
sha256: bd4183fcbc43477c254799b429df1a6e576c042e74a2d2f8b37d537b2ff98157
x-checker-data:
type: anitya
project-id: 2554
stable-only: true
url-template: https://download.open-mpi.org/release/open-mpi/v${major}.${minor}/openmpi-${version}.tar.bz2
- name: TBB
buildsystem: cmake-ninja
config-opts:
- -DTBB_TEST=OFF
- -DTBB_EXAMPLES=OFF
- -DTBB_STRICT=OFF
builddir: true
sources:
- type: archive
url: https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2022.0.0.tar.gz
sha256: e8e89c9c345415b17b30a2db3095ba9d47647611662073f7fbf54ad48b7f3c2a
x-checker-data:
type: anitya
project-id: 8217
stable-only: true
url-template: https://github.com/oneapi-src/oneTBB/archive/refs/tags/v$version.tar.gz
- name: Embree
buildsystem: cmake-ninja
config-opts:
- -DEMBREE_TUTORIALS:BOOL=OFF
- -DEMBREE_ISPC_SUPPORT:BOOL=ON
sources:
- type: archive
url: https://github.com/embree/embree/archive/refs/tags/v3.13.1.tar.gz
sha256: 00dbd852f19ae2b95f5106dd055ca4b304486436ced0ccf842aec4e38a4df425
modules:
- name: extra-cmake-modules
buildsystem: cmake-ninja
sources:
- type: git
url: https://invent.kde.org/frameworks/extra-cmake-modules.git
tag: v5.100.0
# Attempt to build from source, but ISPC need glic-32bit which make things complicated.
# OSPRay need ISPC 1.9.2.
- name: ISPC
buildsystem: simple
build-commands:
- cp bin/ispc /app/bin/
sources:
- type: archive
url: https://github.com/ispc/ispc/releases/download/v1.16.0/ispc-v1.16.0-linux.tar.gz
sha256: 71a20e75ee1b952d8096a842368244111a0a727454d4a42043de10eadf02e740
- name: glfw
buildsystem: cmake-ninja
config-opts:
- -DGLFW_USE_WAYLAND:BOOL=ON
- -DBUILD_SHARED_LIBS:BOOL=ON
- -DGLFW_BUILD_EXAMPLES:BOOL=OFF
- -DGLFW_BUILD_TESTS:BOOL=OFF
- -DGLFW_BUILD_DOCS:BOOL=OFF
sources:
- type: archive
url: https://github.com/glfw/glfw/releases/download/3.3.4/glfw-3.3.4.zip
sha256: bbd2c42c660b725e9755eb417e40b373f0d4c03138c9b2e210d02cd308bd99cd
- name: OSPRay
buildsystem: cmake
builddir: true
config-opts:
- -DOSPRAY_ENABLE_APPS_BENCHMARK:BOOL=OFF
- -DOSPRAY_ENABLE_APPS_EXAMPLES:BOOL=OFF
- -DOSPRAY_ENABLE_APPS_TUTORIALS:BOOL=OFF
- -DOSPRAY_ENABLE_APPS_TESTING:BOOL=OFF
sources:
- type: archive
url: https://github.com/ospray/ospray/archive/refs/tags/v2.9.0.tar.gz
sha256: 0145e09c3618fb8152a32d5f5cff819eb065d90975ee4e35400d2db9eb9f6398
modules:
- name: rkcommon
buildsystem: cmake
builddir: true
config-opts:
- -DBUILD_TESTING:BOOL=OFF
sources:
- type: archive
url: https://github.com/ospray/rkcommon/archive/refs/tags/v1.9.0.tar.gz
sha256: b68aa02ef44c9e35c168f826a14802bb5cc6a9d769ba4b64b2c54f347a14aa53
- name: openvkl
buildsystem: cmake
builddir: true
config-opts:
- -DBUILD_EXAMPLES:BOOL=OFF
- -DBUILD_BENCHMARKS:BOOL=OFF
- -DBUILD_TESTING:BOOL=OFF
sources:
- type: archive
url: https://github.com/openvkl/openvkl/archive/refs/tags/v1.2.0.tar.gz
sha256: dc468c2f0a359aaa946e04a01c2a6634081f7b6ce31b3c212c74bf7b4b0c9ec2
- name: GDAL
buildsystem: cmake-ninja
config-opts:
- -DACCEPT_MISSING_SQLITE3_RTREE:BOOL=ON
- -DBUILD_TESTING:BOOL=OFF
sources:
- type: archive
url: https://github.com/OSGeo/gdal/archive/refs/tags/v3.10.0.tar.gz
sha256: 50bd2130e89a57e0742f7f26e5ba795e2a994b95aca2cdd5f27ee8f5ffd6c5c9
x-checker-data:
type: anitya
project-id: 881
stable-only: true
url-template: https://github.com/OSGeo/gdal/archive/refs/tags/v$version.tar.gz
modules:
- name: PROJ
buildsystem: cmake-ninja
config-opts:
- -DBUILD_TESTING:BOOL=OFF
sources:
- type: archive
url: https://github.com/OSGeo/PROJ/releases/download/9.5.1/proj-9.5.1.tar.gz
sha256: a8395f9696338ffd46b0feb603edbb730fad6746fba77753c77f7f997345e3d3
x-checker-data:
type: anitya
project-id: 9463
stable-only: true
url-template: https://github.com/OSGeo/PROJ/releases/download/$version/proj-$version.tar.gz
- name: GeoTIFF
builddir: true
sources:
- type: archive
url: https://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.7.3.tar.gz
sha256: ba23a3a35980ed3de916e125c739251f8e3266be07540200125a307d7cf5a704
x-checker-data:
type: anitya
project-id: 21361
stable-only: true
url-template: https://download.osgeo.org/geotiff/libgeotiff/libgeotiff-$version.tar.gz
- name: LASzip
buildsystem: cmake-ninja
builddir: true
sources:
- type: archive
url: https://github.com/LASzip/LASzip/releases/download/3.4.4/laszip-src-3.4.4.tar.gz
sha256: 41f826848ff106f471b134224f58075ac8e36a62b6ba0ad75be8a8c191bdba4b
x-checker-data:
type: anitya
project-id: 241499
stable-only: true
url-template: https://github.com/LASzip/LASzip/releases/download/$version/laszip-src-$version.tar.gz
- name: lapack
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_TESTING=OFF
- -DLAPACKE=ON
- -DCBLAS=ON
sources:
- type: archive
url: https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.12.0.tar.gz
sha256: eac9570f8e0ad6f30ce4b963f4f033f0f643e7c3912fc9ee6cd99120675ad48b
x-checker-data:
type: anitya
project-id: 1534
stable-only: true
url-template: https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v$version.tar.gz
- name: Eigen3
buildsystem: cmake-ninja
builddir: true
sources:
- type: archive
url: https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.bz2
sha256: b4c198460eba6f28d34894e3a5710998818515104d6e74e5cc331ce31e46e626
x-checker-data:
type: anitya
project-id: 13751
stable-only: true
url-template: https://gitlab.com/libeigen/eigen/-/archive/${version}/eigen-${version}.tar.bz2
cleanup:
- '*'
- name: SWIG
sources:
- type: archive
url: https://sourceforge.net/projects/swig/files/swig/swig-4.1.1/swig-4.1.1.tar.gz
sha256: 2af08aced8fcd65cdb5cc62426768914bedc735b1c250325203716f78e39ac9b
- name: OpenTURNS
buildsystem: cmake-ninja
sources:
- type: archive
url: https://github.com/openturns/openturns/archive/refs/tags/v1.24.tar.gz
sha256: 6c5232b4daf0b93fbc49dee45299ade2c2c16d44476700e7689af6b50c999f57
x-checker-data:
type: anitya
project-id: 220847
stable-only: true
url-template: https://github.com/openturns/openturns/archive/refs/tags/v${version}.tar.gz
cleanup:
- /share
# Provide libnuma for MEMKIND
- name: numactl
sources:
- type: archive
url: https://github.com/numactl/numactl/releases/download/v2.0.19/numactl-2.0.19.tar.gz
sha256: f2672a0381cb59196e9c246bf8bcc43d5568bc457700a697f1a1df762b9af884
x-checker-data:
type: anitya
project-id: 2507
stable-only: true
url-template: https://github.com/numactl/numactl/releases/download/v${version}/numactl-${version}.tar.gz
- name: MEMKIND
sources:
- type: archive
url: https://github.com/memkind/memkind/archive/refs/tags/v1.14.0.tar.gz
sha256: ab366b20b5a87ea655483631fc762ba6eb59eb6c3a08652e643f1ee3f06a6a12
x-checker-data:
type: anitya
project-id: 220852
stable-only: true
url-template: https://github.com/memkind/memkind/archive/refs/tags/v${version}.tar.gz
- type: patch
path: memkind_support_multi-threading_build.patch
- name: ADIOS2
buildsystem: cmake
builddir: true
config-opts:
- -DADIOS2_RUN_INSTALL_TEST:BOOL=OFF
- -DADIOS2_BUILD_EXAMPLES=OFF
- -DBUILD_SHARED_LIBS=ON
- -DADIOS2_USE_HDF5:STRING=OFF
- -DBUILD_TESTING:BOOL=OFF
- -DINSTALL_GTEST:BOOL=OFF
sources:
- type: archive
url: https://github.com/ornladios/ADIOS2/archive/refs/tags/v2.10.2.tar.gz
sha256: 14cf0bcd94772194bce0f2c0e74dba187965d1cffd12d45f801c32929158579e
x-checker-data:
type: anitya
project-id: 220828
stable-only: true
url-template: https://github.com/ornladios/ADIOS2/archive/refs/tags/v${version}.tar.gz
- name: Catalyst
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_CXX_STANDARD:STRING=14 #Fix error: ‘std::uint64_t’ has not been declared
- -DCATALYST_BUILD_TESTING:BOOL=OFF
- -DCATALYST_USE_MPI:BOOL=ON
- -DCATALYST_WRAP_PYTHON:BOOL=ON
sources:
- type: git
url: https://gitlab.kitware.com/paraview/catalyst
commit: 777fe7fb5e7e86bacb96908ab33f49eeb2d01cf9
- name: gmsh
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_CXX_STANDARD:STRING=14
- -DCMAKE_BUILD_TYPE:STRING=Release
- -DENABLE_BUILD_LIB=ON
- -DENABLE_BUILD_SHARED=ON
- -DENABLE_BUILD_DYNAMIC=ON
- -DENABLE_BLAS_LAPACK=ON
- -DENABLE_POST=1
- -DENABLE_PARSER=1
- -DENABLE_MPI:BOOL=ON
- -DENABLE_PRIVATE_API:BOOL=ON
sources:
- type: archive
url: https://gmsh.info/src/gmsh-4.13.1-source.tgz
sha256: 77972145f431726026d50596a6a44fb3c1c95c21255218d66955806b86edbe8d
# support gmsh 4.11.1
x-checker-data:
type: anitya
project-id: 9575
stable-only: true
url-template: https://gmsh.info/src/gmsh-$version-source.tgz
# - name: blosc
# buildsystem: cmake-ninja
# builddir: true
# sources:
# - type: git
# url: https://github.com/Blosc/c-blosc.git
# tag: v1.21.4
# x-checker-data:
# type: git
# tag-pattern: ^(v[\d.]+)$
#
# - name: openvdb
# buildsystem: cmake-ninja
# builddir: true
# config-opts:
# - -DOPENVDB_CORE_STATIC:BOOL=OFF
# sources:
# - type: git
# url: https://github.com/AcademySoftwareFoundation/openvdb.git
# tag: v10.0.1
# x-checker-data:
# type: git
# tag-pattern: ^(v[\d.]+)$
- name: PDAL
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DWITH_TESTS=OFF
- -DCMAKE_CXX_STANDARD:STRING=14
- -DWITH_TESTS:BOOL=OFF
- -DWITH_LZMA:BOOL=OFF
- -DWITH_ZLIB:BOOL=ON
- -DWITH_ZSTD:BOOL=ON
- -DBUILD_PLUGIN_HDF:BOOL=OFF
- -DBUILD_PLUGIN_E57:BOOL=OFF
sources:
- type: archive
url: https://github.com/PDAL/PDAL/releases/download/2.5.6/PDAL-2.5.6-src.tar.bz2
sha256: 7c7c4570ef518942299479cc4077e0c657ec5b5174daf465415de947a1d3eb99
# New update need c++14 https://gitlab.kitware.com/vtk/vtk/-/issues/19189
# Until paraview use c++11 we stay on this version
# x-checker-data:
# type: anitya
# project-id: 138228
# stable-only: true
# url-template: https://github.com/PDAL/PDAL/releases/download/$version/PDAL-$version-src.tar.bz2
- name: Imath
buildsystem: cmake-ninja
config-opts:
- -DBUILD_TESTING:BOOL=OFF
sources:
- type: git
url: https://github.com/AcademySoftwareFoundation/Imath.git
tag: v3.1.12
commit: c0396a055a01bc537d32f435aee11a9b7ed6f0b5
x-checker-data:
type: git
tag-pattern: ^(v[\d.]+)$
- name: Alembic
buildsystem: cmake-ninja
config-opts:
- -DUSE_TESTS:BOOL=OFF
- -DUSE_HDF5:BOOL=ON
sources:
- type: archive
url: https://github.com/alembic/alembic/archive/refs/tags/1.8.7.tar.gz
sha256: 6de0b97cd14dcfb7b2d0d788c951b6da3c5b336c47322ea881d64f18575c33da
x-checker-data:
type: anitya
project-id: 13980
stable-only: true
url-template: https://github.com/alembic/alembic/archive/refs/tags/$version.tar.gz
# Use 7.7.2 https://discourse.paraview.org/t/how-to-build-paraview-with-occt-required-targets-tkstep-tkiges-tkxdestep-tkxdeiges/14677/3
- name: OCCT
buildsystem: cmake-ninja
config-opts:
- -DBUILD_MODULE_Draw:BOOL=FALSE
- -DBUILD_MODULE_Visualization:BOOL=FALSE
- -DBUILD_MODULE_DataExchange:BOOL=TRUE
- -DBUILD_DOC_Overview:BOOL=FALSE
- -DBUILD_SAMPLES_QT:BOOL=OFF
- -DINSTALL_SAMPLES:BOOL=OFF
- -DINSTALL_TCL:BOOL=OFF
- -DINSTALL_TEST_CASES:BOOL=OFF
- -DINSTALL_TK:BOOL=OFF
sources:
- type: git
url: https://github.com/Open-Cascade-SAS/OCCT.git
tag: V7_7_2
commit: cec1ecd0c9f3b3d2572c47035d11949e8dfa85e2
# x-checker-data:
# type: git
# tag-pattern: ^(V[\d._]+)$
# Paraview need 32GB of memory to build
- name: Paraview
buildsystem: cmake-ninja
builddir: true
build-options:
cflags: -I/app/include/eigen3
cxxflags: -I/app/include/eigen3
config-opts:
- -DCMAKE_CXX_STANDARD:STRING=14
- -DCMAKE_BUILD_TYPE:STRING=Release
- -DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION:BOOL=OFF
- -DPARAVIEW_BUILD_LEGACY_REMOVE:BOOL=OFF
- -DPARAVIEW_BUILD_LEGACY_SILENT:BOOL=OFF
- -DPARAVIEW_BUILD_SHARED_LIBS:BOOL=ON
- -DPARAVIEW_BUILD_TESTING:STRING=OFF
- -DPARAVIEW_BUILD_WITH_EXTERNAL:BOOL=OFF
- -DPARAVIEW_BUILD_WITH_KITS:BOOL=OFF
- -DPARAVIEW_ENABLE_ADIOS2:BOOL=ON
- -DPARAVIEW_ENABLE_ALEMBIC:BOOL=ON
- -DPARAVIEW_ENABLE_CATALYST:BOOL=ON
- -DPARAVIEW_ENABLE_EXAMPLES:BOOL=ON
- -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON
- -DPARAVIEW_ENABLE_FIDES:BOOL=ON
- -DPARAVIEW_ENABLE_GDAL:BOOL=ON
- -DPARAVIEW_ENABLE_GEOVIS:BOOL=ON
- -DPARAVIEW_ENABLE_LAS:BOOL=OFF
- -DPARAVIEW_ENABLE_LOOKINGGLASS:BOOL=OFF # Propiertary
- -DPARAVIEW_ENABLE_MOMENTINVARIANTS:BOOL=OFF #Failed to build
- -DPARAVIEW_ENABLE_MOTIONFX:BOOL=ON
- -DPARAVIEW_ENABLE_NVPIPE:BOOL=OFF
- -DPARAVIEW_ENABLE_OCCT:BOOL=ON
- -DPARAVIEW_ENABLE_OPENTURNS:BOOL=ON
- -DPARAVIEW_ENABLE_OPENVDB:BOOL=OFF #https://github.com/AcademySoftwareFoundation/openvdb/issues/1160
- -DPARAVIEW_ENABLE_PDAL:BOOL=ON
- -DPARAVIEW_ENABLE_RAYTRACING:BOOL=ON
- -DPARAVIEW_ENABLE_VISITBRIDGE:BOOL=ON
- -DPARAVIEW_ENABLE_XDMF2:BOOL=ON
- -DPARAVIEW_ENABLE_XDMF3:BOOL=ON
- -DPARAVIEW_GENERATE_SPDX:BOOL=OFF
- -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON
- -DPARAVIEW_LOGGING_TIME_PRECISION:STRING=3
- -DPARAVIEW_PLUGINS_DEFAULT:BOOL=ON
- -DPARAVIEW_PLUGIN_DISABLE_XML_DOCUMENTATION:BOOL=OFF
- -DPARAVIEW_PLUGIN_ENABLE_AcceleratedAlgorithms:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_AnalyzeNIfTIReaderWriter:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_ArrowGlyph:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_BagPlotViewsAndFilters:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_CAVEInteraction:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_CDIReader:BOOL=OFF
- -DPARAVIEW_PLUGIN_ENABLE_Datamine:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_DigitalRockPhysics:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_EmbossingRepresentations:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_ExplicitStructuredGrid:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_FlipBookPlugin:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_GMVReader:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_GeodesicMeasurement:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_GeographicalMap:BOOL=OFF #https://gitlab.kitware.com/paraview/paraview/-/issues/22622
- -DPARAVIEW_PLUGIN_ENABLE_GmshIO:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_GmshReader:BOOL=OFF #https://gitlab.kitware.com/paraview/paraview/-/issues/22651
- -DPARAVIEW_PLUGIN_ENABLE_HyperTreeGridADR:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_InSituExodus:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_LANLX3DReader:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_LagrangianParticleTracker:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_LegacyExodusReader:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_LookingGlass:BOOL=OFF # proprietary
- -DPARAVIEW_PLUGIN_ENABLE_Moments:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_MooseXfemClip:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_NodeEditor:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_NonOrthogonalSource:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_PanoramicProjectionView:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_ParFlow:BOOL=OFF
- -DPARAVIEW_PLUGIN_ENABLE_ParametricSurfaces:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_SLACTools:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_SaveStateAndScreenshot:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_SpaceMouseInteractor:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_StreamLinesRepresentation:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_StreamingParticles:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_SurfaceLIC:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_ThickenLayeredCells:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_VDFReaderPlugin:BOOL=OFF # Need vapor version 2. Hard to compile from source
- -DPARAVIEW_PLUGIN_ENABLE_VTKmFilters:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_XRInterface:BOOL=OFF #need openvr
- -DPARAVIEW_PLUGIN_ENABLE_pvNVIDIAIndeX:BOOL=OFF
- -DPARAVIEW_PLUGIN_ENABLE_zSpace:BOOL=OFF
- -DPARAVIEW_USE_CUDA:BOOL=OFF
- -DPARAVIEW_USE_HIP:BOOL=OFF
- -DPARAVIEW_USE_MEMKIND:BOOL=ON
- -DPARAVIEW_USE_MPI:BOOL=ON
- -DPARAVIEW_USE_PYTHON:BOOL=ON
- -DPARAVIEW_USE_QT:BOOL=ON
- -DPARAVIEW_USE_QTHELP:BOOL=ON
- -DPARAVIEW_USE_QTWEBENGINE:BOOL=ON
- -DPARAVIEW_USE_VTKM:BOOL=ON
- -DBUILD_EXAMPLES:BOOL=ON
- -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON
- -DGmsh_INCLUDE_DIR=/app/include
- -DGmsh_PRIVATE_INCLUDE_DIR=/app/include/gmsh
- -DVTK_SMP_ENABLE_TBB:BOOL=ON
- -DVTK_MODULE_USE_EXTERNAL_VTK_eigen:BOOL=ON
post-install:
- install -Dm644 ../Qt/Components/Resources/Icons/pvIcon.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
- desktop-file-edit --set-icon=${FLATPAK_ID} ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
sources:
- type: archive
url: https://www.paraview.org/files/v5.13/ParaView-v5.13.1.tar.gz
sha256: 2225de08ec3cb7ccf06519f7b7d488ba6cd1691a4d26608b003b077539d5ba16
x-checker-data:
type: anitya
project-id: 9602
stable-only: true
url-template: https://www.paraview.org/files/v$major.$minor/ParaView-v$version.tar.gz
- type: patch
path: fix_appdata_file.patch
# - type: git
# url: https://gitlab.kitware.com/vtk/MomentInvariants.git
# commit: 3fb4824d1f5e1f95917e67a3fb4b8a1546ddd4ae
# dest: VTK/Remote/MomentInvariants