-
-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathcom.rtosta.zapzap.yaml
More file actions
55 lines (52 loc) · 1.67 KB
/
com.rtosta.zapzap.yaml
File metadata and controls
55 lines (52 loc) · 1.67 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.rtosta.zapzap
runtime: org.kde.Platform
runtime-version: "6.10"
sdk: org.kde.Sdk
base: com.riverbankcomputing.PyQt.BaseApp
base-version: "6.10"
command: zapzap
finish-args:
- "--share=ipc"
- "--socket=wayland"
- "--socket=fallback-x11"
- "--socket=pulseaudio"
- "--share=network"
- "--device=all"
- "--filesystem=xdg-documents"
- "--filesystem=xdg-pictures"
- "--filesystem=xdg-download"
- "--filesystem=/tmp"
- "--filesystem=xdg-run/pipewire-0"
- "--talk-name=org.freedesktop.Notifications"
- "--talk-name=org.kde.StatusNotifierWatcher"
- "--env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess"
- "--env=QTWEBENGINE_DICTIONARIES_PATH=/app/qtwebengine_dictionaries"
cleanup:
- /include
- /lib/pkgconfig
- "*.la"
- "*.a"
cleanup-commands:
- /app/cleanup-BaseApp.sh
modules:
# Build dependencies
- name: python-build-deps
buildsystem: simple
build-commands:
- pip3 install --prefix=${FLATPAK_DEST} setuptools wheel
sources: []
# Zapzap wheel build
- name: zapzap
buildsystem: simple
build-commands:
# Gera o wheel antes
- python3 -m build --wheel --no-isolation
# Instala o wheel dentro do Flatpak
- pip3 install --prefix=${FLATPAK_DEST} dist/zapzap-*.whl
# Instala os assets
- install -Dm644 share/icons/${FLATPAK_ID}.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
- install -Dm644 share/applications/${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
- install -Dm644 share/metainfo/${FLATPAK_ID}.appdata.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.appdata.xml
sources:
- type: dir
path: .