@@ -34,6 +34,25 @@ modules:
34
34
# Would rather use 4d6cb08189cf7336821f04090b612baa2ca6a90d (same commit as openSUSE
35
35
# Tumbleweed) as known to be good, but older commits like that don't seem to compile
36
36
commit : 7c73dd7de7c4f14379b781418c6e947ad464c818
37
+
38
+ - name : openbabel
39
+ buildsystem : cmake-ninja
40
+ builddir : true
41
+ config-opts :
42
+ # Match the way Avogadro builds Open Babel
43
+ - -DCMAKE_BUILD_TYPE=Release
44
+ - -DENABLE_TESTS=OFF
45
+ - -DBUILD_GUI=OFF
46
+ - -DOPTIMIZE_NATIVE=OFF
47
+ - -DOB_USE_PREBUILT_BINARIES=OFF
48
+ - -DENABLE_VERSIONED_FORMATS=OFF
49
+ - -DWITH_JSON=ON
50
+ - -DWITH_COORDGEN=OFF
51
+ - -DWITH_MAEPARSER=OFF
52
+ sources :
53
+ - type : git
54
+ url : https://github.com/openbabel/openbabel.git
55
+ commit : 32cf131444c1555c749b356dab44fb9fe275271f
37
56
38
57
- name : avogadro2
39
58
buildsystem : cmake-ninja
@@ -47,6 +66,7 @@ modules:
47
66
- -DBUILD_MOLEQUEUE=OFF
48
67
- -DQT_VERSION=6
49
68
- -DDOWNLOAD_TO_SOURCE_DIR=ON
69
+ - -DUSE_SYSTEM_OPENBABEL=ON
50
70
sources :
51
71
# Avogadro stuff all already collected together as part of GitHub Actions
52
72
# This means that if using this to build the Flatpak locally, the openchemistry repo and
@@ -58,8 +78,8 @@ modules:
58
78
# Now fetch third-party stuff where the source is expected in `openchemistry/thirdparty`
59
79
# VTK
60
80
- type : archive
61
- url : https://www.vtk.org/files/release/9.3/VTK-9.3.0 .tar.gz
62
- sha256 : fdc7b9295225b34e4fdddc49cd06e66e94260cb00efee456e0f66568c9681be9
81
+ url : https://github.com/Kitware/VTK/archive/4f02ae83179c6a1542ac3c335c73dea976578c63 .tar.gz
82
+ sha256 : 2d2da63dc660016628fc41c3a201e24d49a7e67b0d5d6fbbe655fb23f5099929
63
83
dest : thirdparty/VTK
64
84
65
85
# Other third-party sources would normally be downloaded by Avogadro build on the fly
0 commit comments