forked from RalfJung/io.keybase.Keybase
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathio.keybase.Keybase.yml
More file actions
57 lines (52 loc) · 1.99 KB
/
io.keybase.Keybase.yml
File metadata and controls
57 lines (52 loc) · 1.99 KB
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
app-id: io.keybase.Keybase
sdk: org.freedesktop.Sdk
runtime: org.freedesktop.Sdk
runtime-version: '24.08'
base: org.electronjs.Electron2.BaseApp
base-version: '24.08'
command: keybase
separate-locales: false
rename-desktop-file: keybase.desktop
rename-icon: keybase
finish-args:
# X11 performance
- --share=ipc
# We need X11
- --socket=x11
# Access to wayland
- --socket=wayland
# Network Access
- --share=network
# Access for downloading files
- --filesystem=xdg-download
# We need to send notifications
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.kde.StatusNotifierWatcher
# Allow running in background
- --talk-name=org.freedesktop.portal.Background
modules:
- name: keybase
buildsystem: simple
build-commands:
- install -Dm0755 keybase.sh "${FLATPAK_DEST}/bin/keybase"
- |
bsdtar -Oxf keybase.deb 'data.tar.xz' |
bsdtar -xf -
- mv opt/keybase "${FLATPAK_DEST}"/
- mv usr/bin "${FLATPAK_DEST}"/keybase/
# Desktop file and icon
- install -Dm0644 "usr/share/applications/keybase.desktop" "${FLATPAK_DEST}/share/applications/keybase.desktop"
- desktop-file-edit --set-key=Exec --set-value='keybase %U' "${FLATPAK_DEST}/share/applications/keybase.desktop"
- |
for size in 16 32 128 256 512; do
install -Dm0644 "usr/share/icons/hicolor/${size}x${size}/apps/keybase.png" "${FLATPAK_DEST}/share/icons/hicolor/${size}x${size}/apps/keybase.png"
done
- desktop-file-edit --set-key=Icon --set-value="keybase" "${FLATPAK_DEST}/share/applications/keybase.desktop"
sources:
- type: file
dest-filename: keybase.deb
# Filename found in https://prerelease.keybase.io/deb/dists/stable/main/binary-amd64/Packages.
url: https://s3.amazonaws.com/prerelease.keybase.io/linux_binaries/deb/keybase_6.4.0-20240821175720.3212f60cc5_amd64.deb
sha256: 386b9c90c5170f37c720c8506a060964e6d5e16e8bb9fa9378888283e7393233
- type: file
path: keybase.sh