forked from flathub/io.github.dummerle.rare
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8e6aeb
commit 241fba4
Showing
14 changed files
with
250 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
|
||
name: "Flatpak" | ||
|
||
|
||
on: | ||
workflow_dispatch: | ||
release: | ||
types: [ published ] | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
|
||
permissions: | ||
contents: write | ||
|
||
|
||
jobs: | ||
build: | ||
name: "Build" | ||
runs-on: ubuntu-latest | ||
container: | ||
image: bilelmoussaoui/flatpak-github-actions:kde-6.7 | ||
options: --privileged | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6 | ||
with: | ||
bundle: rare-${{ github.ref_name }}.flatpak | ||
manifest-path: io.github.dummerle.rare.yaml | ||
cache-key: flatpak-builder-${{ github.sha }} | ||
|
||
release: | ||
needs: build | ||
if: github.event_name == 'release' | ||
name: "Release" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: rare-${{ github.ref_name }}-x86_64 | ||
- uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: rare-${{ github.ref_name }}.flatpak | ||
asset_name: rare-${{ github.ref_name }}.flatpak | ||
tag: ${{ github.ref_name }} | ||
overwrite: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.flatpak-builder | ||
build-dir | ||
build | ||
venv* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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_source.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.10.11.525' | ||
disable-shallow-clone: true | ||
modules: | ||
- python3-build-wheels.yaml | ||
- python3-runtime-wheels.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
build==1.2.2.post1 | ||
installer==0.7.0 | ||
packaging==24.2 | ||
pyproject_hooks==1.2.0 | ||
setuptools==75.6.0 | ||
setuptools-scm==8.1.0 | ||
wheel==0.45.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Nuitka==2.5.9 | ||
ordered-set==4.1.0 | ||
zstandard==0.23.0 | ||
patchelf==0.17.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
certifi==2024.12.14 | ||
charset-normalizer==3.4.1 | ||
filelock==3.16.1 | ||
idna==3.10 | ||
legendary-gl==0.20.34 | ||
orjson==3.10.13 | ||
packaging==24.2 | ||
pypresence==4.3.0 | ||
QtAwesome==1.3.1 | ||
QtPy==2.4.2 | ||
requests==2.32.3 | ||
setuptools==75.6.0 | ||
urllib3==2.3.0 | ||
vdf==3.4 | ||
wheel==0.45.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Generated by req2flatpak.py -t 312-x86_64 -r modules-build-frozen.in --yaml | ||
name: python3-build-wheels | ||
buildsystem: simple | ||
build-commands: | ||
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" | ||
--prefix=${FLATPAK_DEST} --no-build-isolation build installer packaging pyproject-hooks | ||
setuptools setuptools-scm wheel | ||
sources: | ||
- type: file | ||
url: https://files.pythonhosted.org/packages/84/c2/80633736cd183ee4a62107413def345f7e6e3c01563dbca1417363cf957e/build-1.2.2.post1-py3-none-any.whl | ||
sha256: 1d61c0887fa860c01971625baae8bdd338e517b836a2f70dd1f7aa3a6b2fc5b5 | ||
- type: file | ||
url: https://files.pythonhosted.org/packages/e5/ca/1172b6638d52f2d6caa2dd262ec4c811ba59eee96d54a7701930726bce18/installer-0.7.0-py3-none-any.whl | ||
sha256: 05d1933f0a5ba7d8d6296bb6d5018e7c94fa473ceb10cf198a92ccea19c27b53 | ||
- type: file | ||
url: https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl | ||
sha256: 09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759 | ||
- type: file | ||
url: https://files.pythonhosted.org/packages/bd/24/12818598c362d7f300f18e74db45963dbcb85150324092410c8b49405e42/pyproject_hooks-1.2.0-py3-none-any.whl | ||
sha256: 9e5c6bfa8dcc30091c74b0cf803c81fdd29d94f01992a7707bc97babb1141913 | ||
- type: file | ||
url: https://files.pythonhosted.org/packages/55/21/47d163f615df1d30c094f6c8bbb353619274edccf0327b185cc2493c2c33/setuptools-75.6.0-py3-none-any.whl | ||
sha256: ce74b49e8f7110f9bf04883b730f4765b774ef3ef28f722cce7c273d253aaf7d | ||
- type: file | ||
url: https://files.pythonhosted.org/packages/a0/b9/1906bfeb30f2fc13bb39bf7ddb8749784c05faadbd18a21cf141ba37bff2/setuptools_scm-8.1.0-py3-none-any.whl | ||
sha256: 897a3226a6fd4a6eb2f068745e49733261a21f70b1bb28fce0339feb978d9af3 | ||
- type: file | ||
url: https://files.pythonhosted.org/packages/0b/2c/87f3254fd8ffd29e4c02732eee68a83a1d3c346ae39bc6822dcbcb697f2b/wheel-0.45.1-py3-none-any.whl | ||
sha256: 708e7481cc80179af0e556bbf0cc00b8444c7321e2700b8d8580231d13017248 |
Oops, something went wrong.