-
Notifications
You must be signed in to change notification settings - Fork 0
/
io.jor.cromagrally.yml
36 lines (34 loc) · 1.35 KB
/
io.jor.cromagrally.yml
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
app-id: io.jor.cromagrally
runtime: org.freedesktop.Platform
runtime-version: "23.08"
sdk: org.freedesktop.Sdk
command: CroMagRally
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --socket=pulseaudio
- --device=all # I wish I could limit this to "dri" but gamepads won't work without "all"
- --share=ipc
modules:
- name: cromagrally
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
no-make-install: true
post-install:
- install -Dm755 cromagrally_launcher.sh ${FLATPAK_DEST}/bin/CroMagRally
- mkdir -p ${FLATPAK_DEST}/cromagrally
- cp -r ./Data ${FLATPAK_DEST}/cromagrally
- install -D ${FLATPAK_BUILDER_BUILDDIR}/CroMagRally ${FLATPAK_DEST}/cromagrally/CroMagRally
- install -D ./packaging/io.jor.cromagrally.desktop ${FLATPAK_DEST}/share/applications/io.jor.cromagrally.desktop
- install -D ./packaging/io.jor.cromagrally.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/io.jor.cromagrally.png
- install -D ./packaging/io.jor.cromagrally.appdata.xml ${FLATPAK_DEST}/share/metainfo/io.jor.cromagrally.appdata.xml
sources:
- type: git
url: https://github.com/jorio/CroMagRally.git
tag: 3.0.1
x-checker-data:
type: git
tag-pattern: ^([\d.]+)$
- type: file
path: cromagrally_launcher.sh