mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Flatpak build support (#112)
* Use XDG_CONFIG_HOME * Migrate from config v0 to v1 * Start work on Flatpak packaging * add Keywords, StartupNotify and improve the Comment * Sync w/ upstream flatpak branch * Fixes for egui transition * More flatpak fixes * Fix icon error * add itch folder to permissions * Fix main after rebase Co-authored-by: casept <davids.paskevics@gmail.com> Co-authored-by: jrt <git@jrtberlin.de>
This commit is contained in:
co-authored by
casept
jrt
parent
81ddcb6959
commit
1350a89aaf
@@ -4,4 +4,8 @@ cache.json
|
|||||||
config.toml
|
config.toml
|
||||||
.thumbnails
|
.thumbnails
|
||||||
thumbnails
|
thumbnails
|
||||||
|
.flatpak-builder
|
||||||
|
flatpak/.flatpak-builder
|
||||||
|
flatpak/build-dir
|
||||||
|
flatpak/repo
|
||||||
.flatpak-builder
|
.flatpak-builder
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
[submodule "shared-modules"]
|
||||||
|
path = flatpak/shared-modules
|
||||||
|
url = https://github.com/flathub/shared-modules
|
||||||
|
[submodule "flatpak/flatpak-builder-tools"]
|
||||||
|
path = flatpak/flatpak-builder-tools
|
||||||
|
url = https://github.com/flatpak/flatpak-builder-tools
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,38 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Philip Kristoffersen 2022 <philipkristoffersen@gmail.com> -->
|
||||||
|
<component type="desktop-application">
|
||||||
|
<id>dk.philipk.BoilR</id>
|
||||||
|
<metadata_license>CC0</metadata_license>
|
||||||
|
<project_license>MIT/APACHE</project_license>
|
||||||
|
<name>BoilR</name>
|
||||||
|
<summary>Add non-steam games to your steam library</summary>
|
||||||
|
<description>
|
||||||
|
<p>This little tool will show games from other games platforms in your Steam library.
|
||||||
|
It uses the Steam 3rd party shortcuts feature and does not require you to set up anything.
|
||||||
|
The goal is that you do not have to leave your Steam library to launch games from other launchers/stores, so that you can find all the games that you have available.
|
||||||
|
Optionally you can set BoilR up to automatically download artwork from SteamGridDB.</p>
|
||||||
|
</description>
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">
|
||||||
|
<image>https://raw.githubusercontent.com/PhilipK/BoilR/v.1.2.3/screenshot_1.png</image>
|
||||||
|
<caption>Main Window</caption>
|
||||||
|
</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
<url type="homepage">https://github.com/PhilipK/BoilR</url>
|
||||||
|
<!--
|
||||||
|
Open Age Rating Service
|
||||||
|
https://hughsie.github.io/oars/index.html
|
||||||
|
-->
|
||||||
|
<content_rating type="oars-1.1" />
|
||||||
|
<releases>
|
||||||
|
<release version="0.9.19" date="2022-03-27">
|
||||||
|
<description>
|
||||||
|
<p>First Flatpak Release of BoilR</p>
|
||||||
|
</description>
|
||||||
|
</release>
|
||||||
|
</releases>
|
||||||
|
<developer_name>Philip Kristoffersen</developer_name>
|
||||||
|
<update_contact>philipkristoffersen@gmail.com</update_contact>
|
||||||
|
|
||||||
|
<launchable type="desktop-id">dk.philipk.BoilR.desktop</launchable>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
|
||||||
|
Name=BoilR
|
||||||
|
Comment=Add non-steam games to your steam library
|
||||||
|
Categories=Utility;Amusement;
|
||||||
|
Keywords=Steam;Heroic;Lutris;Itch;Origin;GOG;UPlay;Icons;Images;Non-Steam;Games;
|
||||||
|
|
||||||
|
Icon=dk.philipk.BoilR
|
||||||
|
Exec=boilr
|
||||||
|
Terminal=false
|
||||||
|
StartupNotify=true
|
||||||
@@ -0,0 +1,70 @@
|
|||||||
|
app-id: dk.philipk.BoilR
|
||||||
|
command: boilr
|
||||||
|
runtime: org.freedesktop.Platform
|
||||||
|
runtime-version: '21.08'
|
||||||
|
sdk: org.freedesktop.Sdk
|
||||||
|
sdk-extensions:
|
||||||
|
- org.freedesktop.Sdk.Extension.rust-stable
|
||||||
|
build-options:
|
||||||
|
append-path: /usr/lib/sdk/rust-stable/bin
|
||||||
|
env:
|
||||||
|
# To pick up vendored deps
|
||||||
|
CARGO_HOME: /run/build/boilr/cargo
|
||||||
|
RUSTFLAGS: "-L /app/lib/"
|
||||||
|
|
||||||
|
command: boilr
|
||||||
|
finish-args:
|
||||||
|
- --filesystem=xdg-data/Steam:rw
|
||||||
|
- --filesystem=~/.steam:rw # Steam (Non-flatpak)
|
||||||
|
- --filesystem=~/.var/app/com.valvesoftware.Steam:rw # Steam (Flatpak)
|
||||||
|
- --filesystem=xdg-data/lutris:rw # Lutris (non-flatpak)
|
||||||
|
- --filesystem=~/.var/app/net.lutris.Lutris:rw # Lutris (Flatpak)
|
||||||
|
- --filesystem=~/Games/Heroic:rw # Heroic (non-flatpak)
|
||||||
|
- --filesystem=~/.var/app/com.heroicgameslauncher.hgl:rw # Heroic (Flatpak)
|
||||||
|
- --filesystem=~/.config/itch:rw # Itch
|
||||||
|
|
||||||
|
- --share=network
|
||||||
|
- --share=ipc
|
||||||
|
- --socket=fallback-x11
|
||||||
|
- --socket=wayland
|
||||||
|
- --device=dri
|
||||||
|
|
||||||
|
- --env=PATH=/app/bin:/usr/bin
|
||||||
|
|
||||||
|
modules:
|
||||||
|
- shared-modules/glu/glu-9.json
|
||||||
|
|
||||||
|
- name: boilr
|
||||||
|
buildsystem: simple
|
||||||
|
sources:
|
||||||
|
- type: dir
|
||||||
|
path: ../
|
||||||
|
- cargo-lock.json
|
||||||
|
build-commands:
|
||||||
|
- cargo --offline fetch --manifest-path Cargo.toml --verbose
|
||||||
|
- cargo --offline build --release --verbose
|
||||||
|
- install -Dm755 ./target/release/boilr -t /app/bin/
|
||||||
|
|
||||||
|
- name: boilr-icon
|
||||||
|
buildsystem: simple
|
||||||
|
sources:
|
||||||
|
- type: file
|
||||||
|
path: ../resources/dk.philipk.BoilR.png
|
||||||
|
build-commands:
|
||||||
|
- install -Dm644 dk.philipk.BoilR.png -t /app/share/icons/hicolor/32x32/apps
|
||||||
|
|
||||||
|
- name: boilr-desktop
|
||||||
|
buildsystem: simple
|
||||||
|
sources:
|
||||||
|
- type: file
|
||||||
|
path: dk.philipk.BoilR.desktop
|
||||||
|
build-commands:
|
||||||
|
- install -Dm644 dk.philipk.BoilR.desktop -t /app/share/applications/
|
||||||
|
|
||||||
|
- name: boilr-appinfo
|
||||||
|
buildsystem: simple
|
||||||
|
sources:
|
||||||
|
- type: file
|
||||||
|
path: dk.philipk.BoilR.appdata.xml
|
||||||
|
build-commands:
|
||||||
|
- install -Dm644 dk.philipk.BoilR.appdata.xml -t /app/share/metainfo/
|
||||||
Submodule
+1
Submodule flatpak/flatpak-builder-tools added at 6ebf29272c
Submodule
+1
Submodule flatpak/shared-modules added at 56f0bac03a
Binary file not shown.
|
After Width: | Height: | Size: 584 B |
Reference in New Issue
Block a user