Make flatpak able to access home directory.
[pspp] / org.gnu.pspp.yml
1 app-id: org.gnu.pspp
2 runtime: org.gnome.Platform
3 runtime-version: '42'
4 sdk: org.gnome.Sdk
5 command: psppire
6 finish-args:
7   # X11 + XShm access
8   - --share=ipc
9   - --socket=fallback-x11
10   # Wayland access
11   - --socket=wayland
12   - --own-name=gnu.pspp
13   - --talk-name=org.gtk.vfs.*
14   - --filesystem=xdg-run/gvfsd
15   # Access to file system from syntax files
16   - --filesystem=home
17 modules:
18   - name: spread-sheet-widget
19     buildsystem: autotools
20     sources:
21       - type: archive
22         url: https://alpha.gnu.org/gnu/ssw/spread-sheet-widget-0.8.tar.gz
23         sha256: 8589d8298fcf3b5850d0968b04801a4f40faf0555544f6cc9d954b0162e9954b
24   - name: gsl
25     buildsystem: autotools
26     sources:
27       - type: archive
28         url: https://ftp.gnu.org/gnu/gsl/gsl-2.7.1.tar.gz
29         sha256: dcb0fbd43048832b757ff9942691a8dd70026d5da0ff85601e52687f6deeb34b
30   - name: pspp
31     buildsystem: simple
32     sources:
33       - type: archive
34         path: SOURCE_PATH
35         dest: pspp
36     build-commands:
37       - cd pspp && ./configure --prefix=/app --libdir=/app/lib && make -j$(nproc) && make -j$(nproc) install