-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspeedscan.yml
More file actions
46 lines (42 loc) · 1.17 KB
/
Copy pathspeedscan.yml
File metadata and controls
46 lines (42 loc) · 1.17 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
app-id: com.github.ewertonvasconcelos.speedscan
runtime: org.kde.Platform
runtime-version: '6.7'
sdk: org.kde.Sdk
command: speedscan
finish-args:
- --share=ipc
- --socket=wayland
- --socket=fallback-x11
- --device=dri
- --filesystem=home
cleanup:
- /include
- /lib/pkgconfig
- '*.la'
- "*.pyc"
modules:
- name: python3-packages
buildsystem: simple
build-commands:
- pip3 install --no-index --find-links=/run/build/python3-packages/wheels --prefix=/app customtkinter matplotlib psutil requests numpy
sources:
- type: dir
path: wheels
- name: speedscan
buildsystem: simple
build-commands:
- install -Dm755 run.sh /app/bin/speedscan
- install -Dm644 speedscan.desktop /app/share/applications/com.github.ewertonvasconcelos.speedscan.desktop
- cp -r core /app/share/speedscan/
- cp -r assets /app/share/speedscan/
sources:
- type: dir
path: .
- type: script
dest-filename: run.sh
commands:
- cd /app/share/speedscan
- export PYTHONPATH=/app/share/speedscan:$PYTHONPATH
- python3 -m speedscan "$@"
- type: file
path: speedscan.desktop