forked from flathub/com.gitfiend.GitFiend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.gitfiend.GitFiend.yaml
82 lines (75 loc) · 2.86 KB
/
com.gitfiend.GitFiend.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
app-id: com.gitfiend.GitFiend
runtime: org.freedesktop.Sdk
runtime-version: '23.08'
base: org.electronjs.Electron2.BaseApp
base-version: '23.08'
sdk: org.freedesktop.Sdk
command: gitfiend
tags:
- proprietary
finish-args:
- --share=ipc
- --socket=x11
- --socket=ssh-auth
- --filesystem=home
- --filesystem=xdg-run/gnupg:ro
- --share=network
- --device=dri
modules:
- name: unappimage
buildsystem: simple
build-commands:
- make -C squashfs-tools -j ${FLATPAK_BUILDER_N_JOBS} install INSTALL_DIR=${FLATPAK_DEST}/bin
sources:
- type: git
url: https://github.com/refi64/unappimage
commit: d7f86f2a0d7ec3a69211125207d5f127386b849a
- name: gitfiend
buildsystem: simple
build-commands:
- install -Dm755 gitfiend ${FLATPAK_DEST}/bin/gitfiend
- install -Dm755 apply_extra ${FLATPAK_DEST}/bin/apply_extra
- install -Dm644 ${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
- install -Dm644 ${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
- install -Dm644 ${FLATPAK_ID}.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
sources:
- type: file
path: com.gitfiend.GitFiend.svg
- type: file
path: com.gitfiend.GitFiend.desktop
- type: file
path: com.gitfiend.GitFiend.metainfo.xml
- type: script
dest-filename: gitfiend
commands:
- exec zypak-wrapper /app/extra/GitFiend/gitfiend "$@"
- type: script
dest-filename: apply_extra
commands:
- unappimage -no-progress -dest GitFiend GitFiend.AppImage
- rm -rf GitFiend/{usr,AppRun,.DirIcon,gitfiend.png,gitfiend.desktop}
- rm GitFiend.AppImage
- type: extra-data
filename: GitFiend.AppImage
url: https://github.com/GitFiend/Support/releases/download/v0.45.3/GitFiend-0.45.3.AppImage
size: 108642693
sha256: 41647fbde365380f9c6e19bf90064b11b74b85e60edea3e42854e2cda2bc01eb
# x-checker-data:
# type: html
# url: https://gitfiend.com/output/index.js
# version-pattern: makeUrlsForVersion\("([\d\.]+)"\)
# url-template: https://gitfiend.com/resources/GitFiend-${version}.AppImage
only-arches:
- x86_64
- type: extra-data
filename: GitFiend.AppImage
url: https://github.com/GitFiend/Support/releases/download/v0.45.3/GitFiend-0.45.3-arm64.AppImage
size: 108910602
sha256: 2c4dfd83d3a3f76deec5d7cb9c3f5f12e5309573de2c24f9144f147a25276e3a
# x-checker-data:
# type: html
# url: https://gitfiend.com/output/index.js
# version-pattern: makeUrlsForVersion\("([\d\.]+)"\)
# url-template: https://gitfiend.com/resources/GitFiend-${version}-arm64.AppImage
only-arches:
- aarch64