forked from mbugni/RBDoom3BFGFlatpak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
io.github.RobertBeckebans.RBDoom3BFG-GL.yaml
56 lines (54 loc) · 1.6 KB
/
io.github.RobertBeckebans.RBDoom3BFG-GL.yaml
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
app-id: io.github.RobertBeckebans.RBDoom3BFG-GL
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: rbdoom3bfg.sh
finish-args:
- --device=all
- --socket=x11
- --socket=pulseaudio
- --share=ipc
- --share=network
cleanup:
- /include
- '*.a'
- '*.la'
- /lib/pkgconfig
- /share/man
- /share/cmake
modules:
- shared-modules/glu/glu-9.json
# Build application from Git sources
- name: rbdoom3bfg-build
buildsystem: cmake
builddir: true
subdir: neo
no-make-install: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DSDL2=ON
- -DFFMPEG=OFF
- -DBINKDEC=ON
sources:
- type: git
url: https://github.com/RobertBeckebans/RBDOOM-3-BFG
tag: v1.4.0
- type: file
path: RBDoom3BFG.metainfo.xml
- type: file
path: RBDoom3BFG.desktop
- type: file
path: RBDoom3BFG.128x128.png
- type: file
path: rbdoom3bfg.sh
post-install:
# Install executable
- install -Dm 755 RBDoom3BFG /app/bin/RBDoom3BFG
# Install base files
- mkdir -p /app/share/rbdoom3bfg/base
- cp --recursive ../../base/* --target-directory /app/share/rbdoom3bfg/base
# Install desktop files and icons
- install -Dm 644 ../../RBDoom3BFG.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml
- install -Dm 644 ../../RBDoom3BFG.desktop /app/share/applications/${FLATPAK_ID}.desktop
- install -Dm 644 ../../RBDoom3BFG.128x128.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png
- install -Dm 755 ../../rbdoom3bfg.sh -t /app/bin