-
Notifications
You must be signed in to change notification settings - Fork 7
/
org.ferdium.Ferdium.yaml
101 lines (101 loc) · 3.86 KB
/
org.ferdium.Ferdium.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
app-id: org.ferdium.Ferdium
base: org.electronjs.Electron2.BaseApp
base-version: '23.08'
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: ferdium
separate-locales: false
rename-desktop-file: ferdium.desktop
rename-icon: ferdium
finish-args:
- --socket=x11
- --socket=wayland
- --share=ipc
- --socket=pulseaudio
- --share=network
- --device=all
- --filesystem=home:ro
- --filesystem=xdg-download
- --filesystem=/run/.heim_org.h5l.kcm-socket
# For correct cursor scaling under Wayland
- --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons
- --env=ELECTRON_OZONE_PLATFORM_HINT=x11
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.kde.StatusNotifierWatcher
- --talk-name=com.canonical.AppMenu.Registrar
modules:
- name: krb5
subdir: src
config-opts:
- --disable-static
- --disable-rpath
sources:
- type: archive
url: https://kerberos.org/dist/krb5/1.21/krb5-1.21.tar.gz
sha256: 69f8aaff85484832df67a4bbacd99b9259bd95aab8c651fbbe65cdc9620ea93b
x-checker-data:
type: anitya
project-id: 13287
stable-only: true
url-template: https://kerberos.org/dist/krb5/$major.$minor/krb5-$major.$minor.tar.gz
- name: krb5-config
buildsystem: simple
sources:
- type: file
path: krb5.conf
build-commands:
- mkdir -p /app/etc
- install -m 644 krb5.conf /app/etc/krb5.conf
- name: ferdium-desktop
buildsystem: simple
build-commands:
- ar x Ferdium-*.deb
- rm -f Ferdium-*.deb
- tar xf data.tar.xz
- rm -f control.tar.gz data.tar.xz debian-binary
- cp -r usr/* opt/* /app
- chmod -R a-s,go+rX,go-w /app/Ferdium
- rm -r /app/share/icons/hicolor/1024x1024
- desktop-file-edit --set-key=Exec --set-value='ferdium %U' /app/share/applications/ferdium.desktop
- install ferdium.sh /app/bin/ferdium
- install -Dm644 org.ferdium.Ferdium.metainfo.xml /app/share/metainfo/org.ferdium.Ferdium.metainfo.xml
sources:
- type: file
only-arches:
- x86_64
url: https://github.com/ferdium/ferdium-app/releases/download/v7.0.0/Ferdium-linux-7.0.0-amd64.deb
sha256: 132d8585e910552601d248b85371f2b8ab3f51182d64c0a5e358e43ec64c36b4
x-checker-data:
type: json
url: https://api.github.com/repos/ferdium/ferdium-app/releases/latest
version-query: .tag_name | sub("^v"; "")
url-query: .assets[] | select(.name=="Ferdium-linux-" + $version + "-amd64.deb")
| .browser_download_url
- type: file
only-arches:
- aarch64
url: https://github.com/ferdium/ferdium-app/releases/download/v7.0.0/Ferdium-linux-7.0.0-arm64.deb
sha256: a228a6305c309013b0aa50921681904981ec0e97234d08a7832b81918cfc7ef0
x-checker-data:
type: json
url: https://api.github.com/repos/ferdium/ferdium-app/releases/latest
version-query: .tag_name | sub("^v"; "")
url-query: .assets[] | select(.name=="Ferdium-linux-" + $version + "-arm64.deb")
| .browser_download_url
- type: file
url: https://github.com/ferdium/ferdium-app/releases/download/v7.0.0/Ferdium-linux-7.0.0.tar.gz
sha256: d71fd0d1144c5eb8488934bef33c3c81654f5616c19393fd09ff8be8c8793e31
x-checker-data:
type: json
url: https://api.github.com/repos/ferdium/ferdium-app/releases/latest
version-query: .tag_name | sub("^v"; "")
url-query: .assets[] | select(.name=="Ferdium-linux-" + $version + ".tar.gz")
| .browser_download_url
- type: script
dest-filename: ferdium.sh
commands:
- export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID"
- exec zypak-wrapper /app/Ferdium/ferdium "$@"
- type: file
path: org.ferdium.Ferdium.metainfo.xml