-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcom.github.mtkennerly.ludusavi.yaml
More file actions
76 lines (75 loc) · 2.86 KB
/
com.github.mtkennerly.ludusavi.yaml
File metadata and controls
76 lines (75 loc) · 2.86 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
64
65
66
67
68
69
70
71
72
73
74
75
app-id: com.github.mtkennerly.ludusavi
runtime: org.freedesktop.Platform
runtime-version: "24.08"
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
- org.freedesktop.Sdk.Extension.llvm19
build-options:
append-path: /usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm19/bin
env:
CARGO_HOME: /run/build/ludusavi/cargo
finish-args:
- --socket=x11
- --socket=wayland
- --share=network
- --share=ipc
## Needed for custom paths and restoring saves
- --filesystem=home
- --filesystem=/run/media/
- --filesystem=/media/
### Necessary for built-in integration with other apps
- --filesystem=~/.var/app/com.valvesoftware.Steam
- --filesystem=~/.var/app/com.heroicgameslauncher.hgl
- --filesystem=~/.var/app/net.lutris.Lutris
### Aside from those apps that Ludusavi automatically supports,
### users commonly want to back up data from other apps as well.
- --filesystem=~/.var/app/
## GPU acceleration
- --device=dri
## Fix for GUI being too large on the steam deck
- --env=WINIT_X11_SCALE_FACTOR=1
## Legacy compatibility to use "com.github.mtkennerly.ludusavi" instead of "com.mtkennerly.ludusavi"
- --env=LUDUSAVI_LINUX_APP_ID=com.github.mtkennerly.ludusavi
command: ludusavi
modules:
- name: ludusavi
buildsystem: simple
build-options:
env:
APPNAME: ludusavi
build-commands:
- cargo --offline fetch --verbose
- cargo build --offline --release
- install -D target/release/ludusavi /app/bin/ludusavi
post-install:
- install -Dm644 assets/icon.png /app/share/icons/hicolor/64x64/apps/${FLATPAK_ID}.png
- install -Dm644 assets/icon.svg /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
- install -Dm644 assets/flatpak/${FLATPAK_ID}.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml
- install -Dm644 assets/flatpak/${FLATPAK_ID}.desktop /app/share/applications/${FLATPAK_ID}.desktop
sources:
- type: git
url: https://github.com/mtkennerly/ludusavi
tag: v0.31.0
# x-checker-data:
# type: json
# url: https://api.github.com/repos/mtkennerly/ludusavi/latest
# version-query: .tag_name
# tag-query: .assets[] | select(.name==$version)
# | .tag_name
- generated-sources.json
- name: rclone
buildsystem: simple
build-commands:
- cp rclone /app/bin/rclone
sources:
- type: archive
only-arches:
- x86_64
url: https://github.com/rclone/rclone/releases/download/v1.73.2/rclone-v1.73.2-linux-amd64.zip
sha256: 00a1d8cb85552b7b07bb0416559b2e78fcf9c6926662a52682d81b5f20c90535
- type: archive
only-arches:
- aarch64
url: https://github.com/rclone/rclone/releases/download/v1.73.2/rclone-v1.73.2-linux-arm64.zip
sha256: 2f7d8b807e6ea638855129052c834ca23aa538d3ad7786e30b8ad1e97c5db47b