-
Notifications
You must be signed in to change notification settings - Fork 13
/
me.boolr.boolr.yaml
55 lines (55 loc) · 1.67 KB
/
me.boolr.boolr.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
# TODO: build from master branch
# Known issues
# * no access to fllesystem
app-id: me.boolr.boolr
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
command: boolr
separate-locales: false
cleanup:
- /include
- /lib/pkgconfig
- '*.a'
- '*.la'
finish-args:
- --device=dri
- --filesystem=xdg-documents
- --filesystem=xdg-download
- --filesystem=xdg-pictures
- --share=ipc
- --share=network
- --socket=x11
modules:
- ../flathub-shared-modules/gtk2/gtk2.json
- ../shared-modules/gconf/gconf.json
- name: pango-1_42
buildsystem: meson
config-opts:
- -Dgir=false
sources:
- type: git
url: https://gitlab.gnome.org/GNOME/pango.git
commit: a6a89818246b0b14c0fe3d00d6120929fc0a11d9
cleanup:
- /bin
- /libexec
- /share/installed-tests
- /share/man
- name: boolr
buildsystem: simple
build-commands:
- install -Dm755 boolr /app/bin/boolr
- install -Dm644 me.boolr.boolr.desktop -t /app/share/applications/
- install -Dm644 me.boolr.boolr.png -t /app/share/icons/hicolor/128x128/apps/
- rm -f boolr.dir/boolr.desktop
- sed -i 's#^\(const savesFolder =\).*#\1 process.env.XDG_CONFIG_HOME + "/BOOLR/saves/";\nif (!fs.existsSync(savesFolder)) fs.mkdir(savesFolder);#' boolr.dir/resources/app/app/js/saves.js
- install -d /app/lib/
- mv boolr.dir /app/lib/boolr
sources:
- type: archive
url: https://github.com/GGBRW/BOOLR/releases/download/v1.0.3/BOOLR-v1.0.3-linux-x86_64.zip
sha256: 94fa88d65442687aa6aa4ac2d3f5a0c76ed13d45adf98bcc6609f3118c90bb29
dest: boolr.dir
- type: dir
path: resources