Skip to content

Commit

Permalink
Update to 1.10.11.525
Browse files Browse the repository at this point in the history
  • Loading branch information
loathingKernel committed Dec 31, 2024
1 parent b8e6aeb commit 241fba4
Show file tree
Hide file tree
Showing 14 changed files with 250 additions and 278 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/build.yml
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.flatpak-builder
build-dir
build
venv*
21 changes: 12 additions & 9 deletions io.github.dummerle.rare.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>Rare</name>
<summary>A GUI for legendary, an open source Epic Games alternative</summary>
<developer id="io.github">
<name>RareDevs</name>
</developer>
<summary>Open source alternative for Epic Games Launcher, using Legendary</summary>
<description>
<p>
Rare is a frontend for legendary, an open source alternative for
Rare is a frontend for legendary-gl, an open source alternative for
the Epic Games Launcher.
</p>
<p>Why Rare?</p>
Expand All @@ -25,21 +28,21 @@
<launchable type="desktop-id">io.github.dummerle.rare.desktop</launchable>
<screenshots>
<screenshot type="default">
<caption>Game Library</caption>
<image>https://github.com/RareDevs/Rare/blob/main/Screenshots/Rare.png?raw=true</image>
<caption>Game library</caption>
<image>https://github.com/RareDevs/Rare/blob/main/docs/assets/RareLibraryIcon.png?raw=true</image>
</screenshot>
<screenshot>
<caption>Game info</caption>
<image>https://github.com/RareDevs/Rare/blob/main/Screenshots/GameInfo.png?raw=true</image>
<caption>Game details</caption>
<image>https://github.com/RareDevs/Rare/blob/main/docs/assets/RareGameInfo.png?raw=true</image>
</screenshot>
</screenshots>
<url type="homepage">https://github.com/RareDevs/Rare</url>
<releases>
<release version="1.10.11" date="2023-12-17">
<release version="1.10.11.525" date="2024-12-29">
<description>
<p>Garlic Crab (Hotfix 11)</p>
<p>Garlic Crab (Hotfix 11) + 525</p>
</description>
<url>https://github.com/RareDevs/Rare/releases/tag/1.10.11</url>
<url>https://github.com/RareDevs/Rare/releases/tag/1.10.11.525</url>
</release>
</releases>
<content_rating type="oars-1.0"/>
Expand Down
77 changes: 0 additions & 77 deletions io.github.dummerle.rare.json

This file was deleted.

51 changes: 51 additions & 0 deletions io.github.dummerle.rare.yaml
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
7 changes: 7 additions & 0 deletions modules-build-frozen.in
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
4 changes: 4 additions & 0 deletions modules-nuitka-frozen.in
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
15 changes: 15 additions & 0 deletions modules-runtime-frozen.in
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
29 changes: 29 additions & 0 deletions python3-build-wheels.yaml
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
Loading

0 comments on commit 241fba4

Please sign in to comment.