forked from Retengart/flathub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
io.github.picocrypt.Picocrypt.yaml
100 lines (100 loc) · 5.01 KB
/
io.github.picocrypt.Picocrypt.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
app-id: io.github.picocrypt.Picocrypt
runtime: org.freedesktop.Platform
runtime-version: "24.08"
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.golang
command: picocrypt-gui
finish-args:
- --share=ipc
- --socket=x11
- --device=dri
- --filesystem=home
build-options:
env:
- GOBIN=/app/bin
- GOROOT=/usr/lib/sdk/golang
- CGO_ENABLED=1
- GOPROXY=off
modules:
- name: picocrypt-gui
buildsystem: simple
build-commands:
- cp -r src/* . && $GOROOT/bin/go build -mod=vendor -ldflags="-s -w" -o picocrypt-gui
- install -Dm00755 picocrypt-gui $FLATPAK_DEST/bin/picocrypt-gui
- install -Dm00644 images/key.svg $FLATPAK_DEST/share/icons/hicolor/scalable/apps/$FLATPAK_ID.svg
- install -Dm00644 $FLATPAK_ID.desktop $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop
- install -Dm00644 $FLATPAK_ID.metainfo.xml $FLATPAK_DEST/share/appdata/$FLATPAK_ID.metainfo.xml
sources:
- type: archive
url: "https://github.com/Picocrypt/Picocrypt/archive/refs/tags/1.42.tar.gz"
sha256: b3c577d39a4f1a87131a2013894fb0b510cf147677b91d0f58313f0c85717474
- type: file
url: https://raw.githubusercontent.com/Picocrypt/Picocrypt/c45bdede59e42b22dd90e3d4c30020747191207f/dist/flatpak/io.github.picocrypt.Picocrypt.metainfo.xml
sha256: fd998d3fb1346ed53a1b86ef5e35a4a45c13779198df48f3ce1d4cdad349bdcc
- type: file
url: https://raw.githubusercontent.com/Picocrypt/Picocrypt/e8016064e8136429e80e98fd402e82a0ada6821f/dist/flatpak/io.github.picocrypt.Picocrypt.desktop
sha256: 83ca4fe18d3fc5c056487a7552abcd311e618ddbae3d5d330ed60171d897cafc
- dest: vendor
path: modules.txt
type: file
- dest: vendor/github.com/Picocrypt/dialog
sha256: 350825e6cc1339ce52ebfbacfca489518c1b8653f1b09a43c1442801386db98a
strip-components: 3
type: archive
url: https://proxy.golang.org/github.com/!picocrypt/dialog/@v/v0.0.0-20240831001746-9ca708a9cd29.zip
- dest: vendor/github.com/Picocrypt/giu
sha256: 13855d192dbce9fa2b90bbec47b8012c4836ce1edfe624976bb325ee9f375765
strip-components: 3
type: archive
url: https://proxy.golang.org/github.com/!picocrypt/giu/@v/v0.0.0-20240831005244-5771b35043ac.zip
- dest: vendor/github.com/Picocrypt/imgui-go
sha256: 36ac9ee64de004a6469ef0fa9bb5f857d7b657e2d6dfc5ea78e13f726f37d1c3
strip-components: 3
type: archive
url: https://proxy.golang.org/github.com/!picocrypt/imgui-go/@v/v0.0.0-20240831004007-6f60d7beadf6.zip
- dest: vendor/github.com/Picocrypt/infectious
sha256: bed21d28c2804e5c3873d61d27ebbc7c8b21e0e7b5fc14d222a2a0db43c2e113
strip-components: 3
type: archive
url: https://proxy.golang.org/github.com/!picocrypt/infectious/@v/v0.0.0-20240830233326-3a050f65f9ec.zip
- dest: vendor/github.com/Picocrypt/serpent
sha256: b4c676dbc7b29b207f441220c572029777330e2babf80ce477785f3b2969d160
strip-components: 3
type: archive
url: https://proxy.golang.org/github.com/!picocrypt/serpent/@v/v0.0.0-20240830233833-9ad6ab254fd7.zip
- dest: vendor/github.com/Picocrypt/zxcvbn-go
sha256: 1617c698180f80b08e186c992ab61a8f9fc1f5523b4b8f95b784b365df8eaa4a
strip-components: 3
type: archive
url: https://proxy.golang.org/github.com/!picocrypt/zxcvbn-go/@v/v0.0.0-20240831000415-fccb38ccb913.zip
- dest: vendor/golang.org/x/crypto
sha256: ec96acfe28be3ff2fb14201c5f51132f0e24c7d0d6f3201a8aa69c84f989d014
strip-components: 3
type: archive
url: https://proxy.golang.org/golang.org/x/crypto/@v/v0.26.0.zip
- dest: vendor/github.com/Picocrypt/gl
sha256: 8c62b56799182a8a20009559c47bfb0ae3e0ab8e8d28a3a7f0e9b57816c7bb61
strip-components: 3
type: archive
url: https://proxy.golang.org/github.com/!picocrypt/gl/@v/v0.0.0-20240831002619-6531d2bba5fc.zip
- dest: vendor/github.com/Picocrypt/glfw/v3.3/glfw
sha256: 0ff780b2bc925e9a3dce5e163d3f68a22219c4797a44bf45b40e47b29a4586d3
strip-components: 5
type: archive
url: https://proxy.golang.org/github.com/!picocrypt/glfw/v3.3/glfw/@v/v0.0.0-20240831003212-7f16c5fb374b.zip
- dest: vendor/github.com/Picocrypt/mainthread
sha256: 7325d519749c936a4a687a8ad37b1c07df2701cdbee7260708921642ed436397
strip-components: 3
type: archive
url: https://proxy.golang.org/github.com/!picocrypt/mainthread/@v/v0.0.0-20240831004314-496f638392b3.zip
- dest: vendor/github.com/Picocrypt/w32
sha256: b077a4c14000656d685d7c921bfe4bac33f961b3d0fa212e6a2ba5b01f4a6c04
strip-components: 3
type: archive
url: https://proxy.golang.org/github.com/!picocrypt/w32/@v/v0.0.0-20240831001500-1183079d4d57.zip
- dest: vendor/golang.org/x/sys
sha256: fbc83ddb0aee236ee85c0f8294e7c9b6f79d28794d22e7d0957fcd64ca252960
strip-components: 3
type: archive
url: https://proxy.golang.org/golang.org/x/sys/@v/v0.24.0.zip