forked from flathub/io.github.dummerle.rare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.github.dummerle.rare.yaml
51 lines (51 loc) · 1.61 KB
/
io.github.dummerle.rare.yaml
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
id: io.github.dummerle.rare
runtime: org.kde.Platform
runtime-version: '6.7'
sdk: org.kde.Sdk
base: io.qt.PySide.BaseApp
base-version: '6.7'
cleanup-commands:
- /app/cleanup-BaseApp.sh
build-options:
env:
BASEAPP_REMOVE_WEBENGINE: '1'
command: rare
finish-args:
- --share=ipc
- --share=network
- --socket=fallback-x11
- --socket=wayland
- --filesystem=home
- --device=all
- --talk-name=org.freedesktop.Flatpak
- --env=PYTHONNOUSERSITE=1,
- --env=PYTHONSAFEPATH=1,
- --env=PYTHONPATH=
modules:
- name: metadata
buildsystem: simple
build-commands:
- install -Dm644 io.github.dummerle.rare.appdata.xml ${FLATPAK_DEST}/share/metainfo/io.github.dummerle.rare.appdata.xml
sources:
- type: file
path: io.github.dummerle.rare.appdata.xml
- name: rare
buildsystem: simple
build-commands:
- python3 setup.py bdist_wheel
- python3 -m installer -p ${FLATPAK_DEST} dist/*.whl
- sed -i s/Icon=rare/Icon=io\.github\.dummerle\.rare/g misc/rare.desktop
- install -Dm644 misc/rare.desktop
${FLATPAK_DEST}/share/applications/io.github.dummerle.rare.desktop
- install -Dm644 rare/resources/images/Rare.svg
${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/io.github.dummerle.rare.svg
- install -Dm644 rare/resources/images/Rare.png
${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/io.github.dummerle.rare.png
sources:
- type: git
url: https://github.com/RareDevs/Rare.git
tag: '1.11.2'
disable-shallow-clone: true
modules:
- python3-build-wheels.yaml
- python3-runtime-wheels.yaml