/[escript]/trunk/tools/flatpak/au.edu.uq.esys.escript.json
ViewVC logotype

Contents of /trunk/tools/flatpak/au.edu.uq.esys.escript.json

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6949 - (show annotations)
Thu Feb 6 02:36:07 2020 UTC (15 months, 1 week ago) by uqaeller
File MIME type: application/json
File size: 11106 byte(s)
Release version 5.5
1 {
2 "app-id": "au.edu.uq.esys.escript",
3 "runtime": "org.freedesktop.Platform",
4 "runtime-version": "18.08",
5 "sdk": "org.freedesktop.Sdk",
6 "command": "run-escript",
7 "cleanup": [
8 "/app/man",
9 "/app/share"
10 ],
11 "build-options" : {
12 "cflags": "-O3 -fPIC",
13 "cxxflags": "-O3 -fPIC"
14 },
15 "modules": [
16 {
17 "name": "python",
18 "builddir": true,
19 "buildsystem": "simple",
20 "build-commands": [
21 "./configure --prefix=/app --exec-prefix=/app --enable-shared",
22 "make install -j`nproc --all`",
23 "chmod 755 /app/lib/*"
24 ],
25 "sources": [
26 {
27 "type": "archive",
28 "url": "https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz",
29 "sha256": "f09d83c773b9cc72421abba2c317e4e6e05d919f9bcf34468e192b6a6c8e328d"
30 }
31 ]
32 },
33 {
34 "name": "boost",
35 "buildsystem": "simple",
36 "build-commands": [
37 "echo import sys > v.py",
38 "echo ver=sys.version_info >> v.py",
39 "echo \"print(\\\"%d.%d\\\"%(ver.major,ver.minor))\" >> v.py",
40 "python3 v.py > VERSION",
41 "sed -i 's+include/python$(version)+include/python$(version)m+g' ./tools/build/src/tools/python.jam",
42 "./bootstrap.sh --with-python-version=`cat VERSION` --prefix=/app",
43 "./bjam cxxflags=\"-fPIC\" -j`nproc --all` --with-iostreams --with-python --with-random -d0 install"
44 ],
45 "sources": [
46 {
47 "type": "archive",
48 "url": "https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.gz",
49 "sha256": "9a2c2819310839ea373f42d69e733c339b4e9a19deab6bfec448281554aa4dbb"
50 }
51 ]
52 },
53 {
54 "name": "hdf5",
55 "sources": [
56 {
57 "type": "git",
58 "url": "https://bitbucket.hdfgroup.org/scm/hdffv/hdf5.git",
59 "tag": "hdf5-1_10_5",
60 "commit": "dc9412f73acfd0f887f7a112533ea078fedd1f19"
61 }
62 ]
63 },
64 {
65 "name": "netcdf-c",
66 "sources": [
67 {
68 "type": "archive",
69 "url": "ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-c-4.7.3.tar.gz",
70 "sha256": "8e8c9f4ee15531debcf83788594744bd6553b8489c06a43485a15c93b4e0448b"
71 }
72 ]
73 },
74 {
75 "name": "netcdf-cxx",
76 "sources": [
77 {
78 "type": "archive",
79 "url": "ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-cxx4-4.3.0.tar.gz",
80 "sha256": "e34fbc6aba243ec82c23e9ee99db2430555ada849c54c1f3ab081b0ddd0f5f30"
81 }
82 ]
83 },
84 {
85 "name": "python3-numpy",
86 "buildsystem": "simple",
87 "build-commands": [
88 "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} numpy"
89 ],
90 "sources": [
91 {
92 "type": "file",
93 "url": "https://files.pythonhosted.org/packages/2b/26/07472b0de91851b6656cbc86e2f0d5d3a3128e7580f23295ef58b6862d6c/numpy-1.16.1.zip",
94 "sha256": "31d3fe5b673e99d33d70cfee2ea8fe8dccd60f265c3ed990873a88647e3dd288"
95 }
96 ]
97 },
98 {
99 "name": "python3-pyproj",
100 "buildsystem": "simple",
101 "build-commands": [
102 "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} pyproj"
103 ],
104 "sources": [
105 {
106 "type": "file",
107 "url": "https://files.pythonhosted.org/packages/26/8c/1da0580f334718e04f8bbf74f0515a7fb8185ff96b2560ce080c11aa145b/pyproj-1.9.6.tar.gz",
108 "sha256": "e0c02b1554b20c710d16d673817b2a89ff94738b0b537aead8ecb2edc4c4487b"
109 }
110 ]
111 },
112 {
113 "name": "python3-matplotlib",
114 "buildsystem": "simple",
115 "build-commands": [
116 "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} matplotlib"
117 ],
118 "sources": [
119 {
120 "type": "file",
121 "url": "https://files.pythonhosted.org/packages/c2/f7/c7b501b783e5a74cf1768bc174ee4fb0a8a6ee5af6afa92274ff964703e0/setuptools-40.8.0.zip",
122 "sha256": "6e4eec90337e849ade7103723b9a99631c1f0d19990d6e8412dc42f5ae8b304d"
123 },
124 {
125 "type": "file",
126 "url": "https://files.pythonhosted.org/packages/89/0c/653aec68e9cfb775c4fbae8f71011206e5e7fe4d60fcf01ea1a9d3bc957f/matplotlib-3.0.2.tar.gz",
127 "sha256": "c94b792af431f6adb6859eb218137acd9a35f4f7442cea57e4a59c54751c36af"
128 },
129 {
130 "type": "file",
131 "url": "https://files.pythonhosted.org/packages/c2/4b/137dea450d6e1e3d474e1d873cd1d4f7d3beed7e0dc973b06e8e10d32488/cycler-0.10.0.tar.gz",
132 "sha256": "cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8"
133 },
134 {
135 "type": "file",
136 "url": "https://files.pythonhosted.org/packages/b9/b8/6b32b3e84014148dcd60dd05795e35c2e7f4b72f918616c61fdce83d27fc/pyparsing-2.3.1.tar.gz",
137 "sha256": "66c9268862641abcac4a96ba74506e594c884e3f57690a696d21ad8210ed667a"
138 },
139 {
140 "type": "file",
141 "url": "https://files.pythonhosted.org/packages/ad/99/5b2e99737edeb28c71bcbec5b5dda19d0d9ef3ca3e92e3e925e7c0bb364c/python-dateutil-2.8.0.tar.gz",
142 "sha256": "c89805f6f4d64db21ed966fda138f8a5ed7a4fdbc1a8ee329ce1b74e3c74da9e"
143 },
144 {
145 "type": "file",
146 "url": "https://files.pythonhosted.org/packages/31/60/494fcce70d60a598c32ee00e71542e52e27c978e5f8219fae0d4ac6e2864/kiwisolver-1.0.1.tar.gz",
147 "sha256": "ce3be5d520b4d2c3e5eeb4cd2ef62b9b9ab8ac6b6fedbaa0e39cdb6f50644278"
148 },
149 {
150 "type": "file",
151 "url": "https://files.pythonhosted.org/packages/dd/bf/4138e7bfb757de47d1f4b6994648ec67a51efe58fa907c1e11e350cddfca/six-1.12.0.tar.gz",
152 "sha256": "d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73"
153 },
154 {
155 "type": "file",
156 "url": "https://files.pythonhosted.org/packages/54/85/514ba3ca2a022bddd68819f187ae826986051d130ec5b972076e4f58a9f3/setuptools_scm-3.2.0.tar.gz",
157 "sha256": "52ab47715fa0fc7d8e6cd15168d1a69ba995feb1505131c3e814eb7087b57358"
158 },
159 {
160 "type": "file",
161 "url": "https://files.pythonhosted.org/packages/d9/7d/86df15e317027f6e87aa68ea854abf8437e796b4c0fadd3ae5ee67b77cb2/wheel-0.33.0.tar.gz",
162 "sha256": "12363e6df5678ecf9daf8429f06f97e7106e701405898f24318ce7f0b79c611a"
163 }
164 ]
165 },
166 {
167 "name": "python3-sympy",
168 "buildsystem": "simple",
169 "build-commands": [
170 "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} sympy"
171 ],
172 "sources": [
173 {
174 "type": "file",
175 "url": "https://files.pythonhosted.org/packages/ca/63/3384ebb3b51af9610086b23ea976e6d27d6d97bf140a76a365bd77a3eb32/mpmath-1.1.0.tar.gz",
176 "sha256": "fc17abe05fbab3382b61a123c398508183406fa132e0223874578e20946499f6"
177 },
178 {
179 "type": "file",
180 "url": "https://files.pythonhosted.org/packages/dd/f6/ed485ff22efdd7b371d0dbbf6d77ad61c3b3b7e0815a83c89cbb38ce35de/sympy-1.3.tar.gz",
181 "sha256": "e1319b556207a3758a0efebae14e5e52c648fc1db8975953b05fff12b6871b54"
182 }
183 ]
184 },
185 {
186 "name": "gmsh",
187 "buildsystem": "cmake",
188 "config-opts": [
189 "-DDEFAULT=0",
190 "-DENABLE_BUILD_LIB=1",
191 "-DENABLE_POST=1",
192 "-DENABLE_PARSER=1"
193 ],
194 "sources": [
195 {
196 "type": "archive",
197 "url": "http://gmsh.info/src/gmsh-4.1.5-source.tgz",
198 "sha256": "654d38203f76035a281006b77dcb838987a44fd549287f11c53a1e9cdf598f46"
199 }
200 ]
201 },
202 {
203 "name": "scons",
204 "buildsystem": "simple",
205 "build-commands": [
206 "python3 bootstrap.py build/scons",
207 "python3 build/scons/setup.py install --prefix=/app"
208 ],
209 "sources": [
210 {
211 "type": "git",
212 "url": "https://github.com/SCons/scons",
213 "tag": "3.0.4",
214 "commit": "73b2c02d7088c6d6490fdede8396d88103b00482"
215 }
216 ]
217 },
218 {
219 "name": "escript",
220 "buildsystem": "simple",
221 "build-commands": [
222 "mkdir -p /app/share/icons/hicolor/64x64/apps",
223 "mkdir -p /app/share/icons/hicolor/128x128/apps/",
224 "mkdir -p /app/share/icons/hicolor/256x256/apps/",
225 "mkdir -p /app/share/applications/",
226 "mkdir -p /app/share/metainfo",
227 "cp ./tools/flatpak/64x64_au.edu.uq.esys.escript.png /app/share/icons/hicolor/64x64/apps/au.edu.uq.esys.escript.png",
228 "cp ./tools/flatpak/128x128_au.edu.uq.esys.escript.png /app/share/icons/hicolor/128x128/apps/au.edu.uq.esys.escript.png",
229 "cp ./tools/flatpak/256x256_au.edu.uq.esys.escript.png /app/share/icons/hicolor/256x256/apps/au.edu.uq.esys.escript.png",
230 "cp ./tools/flatpak/au.edu.uq.esys.escript.desktop /app/share/applications/au.edu.uq.esys.escript.desktop",
231 "cp ./tools/flatpak/au.edu.uq.esys.escript.appdata.xml /app/share/metainfo/au.edu.uq.esys.escript.appdata.xml",
232 "scons options_file=scons/flatpak_options.py umfpack=0 trilinos=0 werror=0 silo=0 cxx_extra='-fPIC -Wno-psabi' -j`nproc --all`"
233 ],
234 "sources": [
235 {
236 "type": "svn",
237 "url": "https://svn.geocomp.uq.edu.au/svn/esys13/trunk",
238 "revision": "6945"
239 }
240 ]
241 }
242 ],
243 "finish-args": [
244 "--filesystem=home",
245 "--share=network"
246 ]
247 }

  ViewVC Help
Powered by ViewVC 1.1.26