-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcom.kgurgul.cpuinfo.yml
48 lines (48 loc) · 2.21 KB
/
com.kgurgul.cpuinfo.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
app-id: com.kgurgul.cpuinfo
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk17
command: cpuinfo
finish-args:
- --socket=x11
- --share=ipc
- --share=network
- --device=all
- --socket=ssh-auth
modules:
- name: openjdk
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk17/install.sh
- name: cpuinfo
buildsystem: simple
build-commands:
- install -D cpuinfo /app/bin/cpuinfo
- install -D cpuinfo.jar /app/share/cpuinfo.jar
- install -D com.kgurgul.cpuinfo.desktop /app/share/applications/com.kgurgul.cpuinfo.desktop
- install -D icon-linux.png /app/share/icons/hicolor/256x256/apps/com.kgurgul.cpuinfo.png
- install -D com.kgurgul.cpuinfo.metainfo.xml /app/share/appdata/com.kgurgul.cpuinfo.metainfo.xml
sources:
- type: file
path: cpuinfo
- type: file
url: https://github.com/kamgurgul/cpu-info/releases/download/jvm-1.2.0/CPU-Info-linux-x64-1.2.0-release.jar
sha256: 8896c8440e3e73cb1cebe59344a2f7067189a5176fb673a4bbff3c3231b65482
only-arches: [x86_64]
dest-filename: cpuinfo.jar
- type: file
url: https://github.com/kamgurgul/cpu-info/releases/download/jvm-1.2.0/CPU-Info-linux-arm64-1.2.0-release.jar
sha256: ee51af1cb30bafbd9a4d30fa361c64f286dca517b59a475bb607195757536769
only-arches: [aarch64]
dest-filename: cpuinfo.jar
- type: file
url: https://raw.githubusercontent.com/kamgurgul/cpu-info/a5a326d0da79de38be379f7deec7b571b70d2892/desktopApp/stores/flatpak/com.kgurgul.cpuinfo.desktop
sha256: dfb39d66a8e2eec5ca4c257f161dcddaa17ec4da04abb7302cfbce4a30077c74
- type: file
url: https://raw.githubusercontent.com/kamgurgul/cpu-info/a5a326d0da79de38be379f7deec7b571b70d2892/desktopApp/desktop-icons/icon-linux.png
sha256: 1ee7f162a1bbc19494b2625d9717e4c9dc2ff6c3cd897eeb91cf95109b7bcb30
- type: file
url: https://raw.githubusercontent.com/kamgurgul/cpu-info/a5a326d0da79de38be379f7deec7b571b70d2892/desktopApp/stores/flatpak/com.kgurgul.cpuinfo.metainfo.xml
sha256: 25c90e0c8551ae9dec402c6dcc0e592ee4cd88e4520c6e8d2eea9a99d2182620