forked from flathub/io.sourceforge.clonekeenplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.sourceforge.clonekeenplus.yml
36 lines (33 loc) · 1.19 KB
/
io.sourceforge.clonekeenplus.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.sourceforge.clonekeenplus
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: CGeniusExe
rename-desktop-file: cgenius.desktop
rename-icon: cg
finish-args:
- --device=all # needed for gamepads
- --share=ipc # needed for X11
- --share=network # needed for networking (Gamestore, downloads)
- --socket=fallback-x11
- --socket=pulseaudio
- --socket=wayland
modules:
- name: cgenius
buildsystem: cmake
sources:
- type: git
url: https://gitlab.com/Dringgstein/Commander-Genius.git
tag: "v3.5.1"
commit: "bd7f9a8e3875b34f35593099f2080bbacd2fb6b6"
config-opts:
- -DSHAREDIR=/app/share
- -DAPPDIR=/app/bin
- -DBUILD_COSMOS=1
- -DCMAKE_BUILD_TYPE="Release"
- -DALTERNATE_HOME=${XDG_CONFIG_HOME}
builddir: true
post-install:
- for s in 16 32 48 64 128 256 512; do install -D -m 644 -t $FLATPAK_DEST/share/hicolor/${s}x${s}/apps ../share/cg.${s}.png; done
- install -D -m 644 -t $FLATPAK_DEST/share/icons/hicolor/scalable/apps ../share/cg.svg
- install -D -m 644 -t $FLATPAK_DEST/share/metainfo ../share/metainfo/io.sourceforge.clonekeenplus.appdata.xml