forked from flathub/io.github.dummerle.rare
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathio.github.dummerle.rare.yaml
More file actions
63 lines (61 loc) · 2.03 KB
/
io.github.dummerle.rare.yaml
File metadata and controls
63 lines (61 loc) · 2.03 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
56
57
58
59
60
61
62
63
id: io.github.dummerle.rare
runtime: org.kde.Platform
runtime-version: '6.10'
sdk: org.kde.Sdk
base: io.qt.PySide.BaseApp
base-version: '6.10'
cleanup-commands:
- /app/cleanup-BaseApp.sh
build-options:
env:
BASEAPP_REMOVE_WEBENGINE: '1'
BASEAPP_DISABLE_NUMPY: '1'
SETUPTOOLS_SCM_PRETEND_VERSION: '1.12.0.155'
command: rare
finish-args:
- --share=ipc
- --share=network
- --socket=fallback-x11
- --socket=wayland
- --filesystem=xdg-desktop:create
- --filesystem=xdg-data/applications:create
- --filesystem=xdg-data/umu:rw
- --filesystem=xdg-data/Steam:rw
- --filesystem=home/Games:create
- --device=all
- --talk-name=org.kde.StatusNotifierWatcher
- --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.metainfo.xml ${FLATPAK_DEST}/share/metainfo/io.github.dummerle.rare.metainfo.xml
sources:
- type: file
path: io.github.dummerle.rare.metainfo.xml
- name: rare
buildsystem: simple
build-commands:
- ./tools/qrc2py.sh --force
- ./tools/ts2qm.py
- 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.12.0.155'
commit: '2dff3fd829ce149f97e8b0de00b8926cb3ad0e87'
disable-shallow-clone: true
modules:
- python3-requirements-binary.yaml
- python3-requirements-source.yaml