-
Notifications
You must be signed in to change notification settings - Fork 4
/
io.github.Icalingua.Icalingua.yml
71 lines (67 loc) · 2.64 KB
/
io.github.Icalingua.Icalingua.yml
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
66
67
68
69
70
71
app-id: io.github.Icalingua.Icalingua
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '23.08'
separate-locales: false
rename-icon: icalingua
rename-desktop-file: icalingua.desktop
command: icalingua
finish-args:
- --share=ipc
- --socket=x11
- --socket=pulseaudio
- --device=dri
- --share=network
- --persist=.pki
- --filesystem=xdg-documents:ro
- --filesystem=xdg-download
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.kde.StatusNotifierWatcher
- --talk-name=com.canonical.AppMenu.Registrar
modules:
- name: icalingua
buildsystem: simple
build-options:
no-debuginfo: true
build-commands:
- bsdtar --to-stdout -xf icalingua.deb data.* | bsdtar -xf -
- cp -a opt/Icalingua++ $FLATPAK_DEST/
- cp -a usr/share $FLATPAK_DEST/
- desktop-file-edit --set-key="Exec" --set-value="icalingua %U" $FLATPAK_DEST/share/applications/*.desktop
- install -Dm644 $FLATPAK_ID.appdata.xml -t /app/share/metainfo
- install -Dm755 icalingua.sh /app/bin/icalingua
sources:
- type: file
only-arches: [x86_64]
dest-filename: icalingua.deb
url: https://github.com/Icalingua-plus-plus/Icalingua-plus-plus/releases/download/v2.12.22/icalingua_2.12.22_amd64.deb
sha256: 3746a6b837bfe5341d9a08bca00917be90aacfdf16c8decade3627c5a98f70bd
x-checker-data:
type: json
is-main-source: true
url: https://api.github.com/repos/Icalingua-plus-plus/Icalingua-plus-plus/releases/latest
version-query: .tag_name | sub("^v"; "")
url-query: >-
.assets[] | select(.name=="icalingua_" + $version + "_amd64.deb") |
.browser_download_url
- type: file
only-arches: [aarch64]
dest-filename: icalingua.deb
url: https://github.com/Icalingua-plus-plus/Icalingua-plus-plus/releases/download/v2.12.22/icalingua_2.12.22_arm64.deb
sha256: 77d2e69db00b8062280b4eb2762f2ae1060cef71008ad47a050ac925e1be9734
x-checker-data:
type: json
url: https://api.github.com/repos/Icalingua-plus-plus/Icalingua-plus-plus/releases/latest
version-query: .tag_name | sub("^v"; "")
url-query: >-
.assets[] | select(.name=="icalingua_" + $version + "_arm64.deb") |
.browser_download_url
- type: file
path: io.github.Icalingua.Icalingua.appdata.xml
- type: script
dest-filename: icalingua.sh
commands:
- export TMPDIR=$XDG_RUNTIME_DIR/app/$FLATPAK_ID
- exec zypak-wrapper.sh /app/Icalingua++/icalingua "$@"