-
Notifications
You must be signed in to change notification settings - Fork 10
/
org.octave.Octave.yaml
65 lines (65 loc) · 1.76 KB
/
org.octave.Octave.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
app-id: org.octave.Octave
runtime: org.kde.Sdk
runtime-version: 5.15-23.08
sdk: org.kde.Sdk
command: octave
rename-icon: octave
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk
finish-args:
- --socket=wayland
- --socket=x11
- --share=ipc
- --device=dri
- --socket=pulseaudio
- --share=network
- --filesystem=host
- --talk-name=com.canonical.AppMenu.Registrar # required for global menu
- --talk-name=org.freedesktop.Flatpak # allows spawning processes on the host via flatpak-spawn --host
- --env=PATH=/app/bin:/usr/bin:/app/jre/bin
- --env=CPPFLAGS=-I/app/include # required for building some Octave forge packages
- --env=LDFLAGS=-L/app/lib # required for building some Octave forge packages
- --env=LD_LIBRARY_PATH=/app/lib # required for linking stand-alone programs with Octave
- --env=OCTAVE_HOME=/app
- --env=PKG_CONFIG_PATH=/app/lib/pkgconfig:/app/share/pkgconfig
cleanup:
- /bin/*lpr*.sh
- /bin/GraphicsMagick*config
- /bin/fltk-config
- /bin/gif2h5
- /bin/glpsol
- /bin/h5*
- /bin/isympy
- /bin/qconvex
- /bin/qdelaunay
- /bin/qhalf
- /bin/qhull
- /bin/qvoronoi
- /bin/rbox
- /com
- /examples
- /include/QSci
- /lib/cmake
- /lib/lib*.a
- /lib/lib*.la
- /lib/lib*.settings
- /lib/octave/*/lib*.la
- /man
- /share/*.txt
- /share/COPYING
- /share/applications/fluid.desktop
- /share/doc
- /share/fltk
- /share/hdf5_examples
- /share/man
- /share/units/locale_map.txt
- /share/zmq
- fluid
- fluid.*
build-options:
env:
# https://github.com/flathub/org.freedesktop.Sdk.Extension.openjdk/blob/f5e566f9e2245e34f6c166209c396483a62527ca/org.freedesktop.Sdk.Extension.openjdk.yaml#L186
PATH: /app/bin:/usr/bin:/usr/lib/sdk/openjdk/bin
PYTHON: python3
modules:
- octave-modules.yaml