This repository has been archived by the owner on Nov 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathio.github.hakandundar34coding.mini-system-monitor.yml
103 lines (95 loc) · 3.31 KB
/
io.github.hakandundar34coding.mini-system-monitor.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
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
102
app-id: io.github.hakandundar34coding.mini-system-monitor
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: mini-system-monitor
finish-args:
# For X11 shared memory access (higher performance for X11)
- --share=ipc
# For monitoring data download/upload speed on network cards
- --share=network
- --socket=x11
# For monitoring data download/upload speed on network cards
- --device=all
cleanup:
- /include
- /lib/pkgconfig
- /share/man
modules:
# For Tkinter GUI
- name: tkinter
buildsystem: simple
build-commands:
- pip3 install --prefix=${FLATPAK_DEST} .
sources:
- type: git
url: https://github.com/iwalton3/tkinter-standalone
commit: ba946536054f9d27a08aafde21aa18330ce05729
modules:
- name: tcl
buildsystem: autotools
subdir: unix
post-install:
- chmod 755 /app/lib/libtcl*.so
cleanup:
- /bin
- /lib/pkgconfig
- /man
sources:
- type: archive
url: https://prdownloads.sourceforge.net/tcl/tcl8.6.13-src.tar.gz
sha256: 43a1fae7412f61ff11de2cfd05d28cfc3a73762f354a417c62370a54e2caf066
x-checker-data:
type: anitya
project-id: 4941
stable-only: true
url-template: https://prdownloads.sourceforge.net/tcl/tcl$version-src.tar.gz
- name: tk
buildsystem: autotools
subdir: unix
post-install:
- chmod 755 /app/lib/libtk*.so
cleanup:
- /bin
- /lib/pkgconfig
- /man
sources:
- type: archive
url: https://prdownloads.sourceforge.net/tcl/tk8.6.13-src.tar.gz
sha256: 2e65fa069a23365440a3c56c556b8673b5e32a283800d8d9b257e3f584ce0675
x-checker-data:
type: anitya
project-id: 11426
stable-only: true
url-template: https://prdownloads.sourceforge.net/tcl/tk$version-src.tar.gz
# For drawing Cairo graphics
- name: pycairo
buildsystem: meson
sources:
- type: archive
url: https://github.com/pygobject/pycairo/archive/v1.23.0/pycairo-v1.23.0.tar.gz
sha256: caf1bdbae0d6e091e0b39a652574cf4ad610655f09da81b8a2e68f6fd3fa3147
x-checker-data:
type: anitya
project-id: 13166
stable-only: true
url-template: https://github.com/pygobject/pycairo/archive/v$version/pycairo-v$version.tar.gz
# For showing images on the GUI
- name: Pillow
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "Pillow>=9.4.0" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/bc/07/830784e061fb94d67649f3e438ff63cfb902dec6d48ac75aeaaac7c7c30e/Pillow-9.4.0.tar.gz
sha256: a1c2d7780448eb93fbcc3789bf3916aa5720d942e37945f4056680317f1cd23e
# For installing Mini System Monitor
- name: mini-system-monitor
buildsystem: simple
build-commands:
- python3 setup.py install --flatpak --prefix=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/hakandundar34coding/mini-system-monitor.git
commit: 44c40fe939d3ab45c15b3a0895fe764e9cf191ee