-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.github.achrafsoltani.Merisio.yml
More file actions
55 lines (47 loc) · 1.53 KB
/
com.github.achrafsoltani.Merisio.yml
File metadata and controls
55 lines (47 loc) · 1.53 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
47
48
49
50
51
52
53
54
55
app-id: com.github.achrafsoltani.Merisio
runtime: org.kde.Platform
runtime-version: '6.8'
sdk: org.kde.Sdk
command: merisio
finish-args:
- --share=ipc
- --socket=fallback-x11
- --socket=wayland
- --device=dri
- --filesystem=home
modules:
- name: python3-pyside6
buildsystem: simple
build-commands:
- pip3 install --no-index --find-links=. --prefix=/app PySide6
sources:
- type: pypi
name: PySide6
version: 6.8.3
- name: merisio
buildsystem: simple
build-commands:
# Install Python source
- mkdir -p /app/share/merisio
- cp -r src/ /app/share/merisio/
- cp main.py /app/share/merisio/
- cp cli.py /app/share/merisio/
# Launcher scripts
- install -Dm755 /dev/stdin /app/bin/merisio <<'EOF'
#!/bin/bash
exec python3 /app/share/merisio/main.py "$@"
EOF
- install -Dm755 /dev/stdin /app/bin/merisio-cli <<'EOF'
#!/bin/bash
exec python3 /app/share/merisio/cli.py "$@"
EOF
# Desktop entry
- install -Dm644 merisio.desktop /app/share/applications/com.github.achrafsoltani.Merisio.desktop
# AppStream metadata
- install -Dm644 com.github.achrafsoltani.Merisio.metainfo.xml /app/share/metainfo/com.github.achrafsoltani.Merisio.metainfo.xml
# Icon
- install -Dm644 resources/icons/app_icon.png /app/share/icons/hicolor/256x256/apps/com.github.achrafsoltani.Merisio.png
sources:
- type: git
url: https://github.com/AchrafSoltani/Merisio.git
tag: v1.5.0