-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorg.easyrpg.player.yml
118 lines (118 loc) · 3.35 KB
/
org.easyrpg.player.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
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
app-id: org.easyrpg.player
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: easyrpg-player
rename-desktop-file: easyrpg-player.desktop
rename-appdata-file: easyrpg-player.metainfo.xml
rename-icon: easyrpg-player
finish-args:
- --share=ipc
- --socket=wayland
- --socket=fallback-x11
- --socket=pulseaudio
- --filesystem=home # user can store games anywhere
- --device=all # needed for gamepad access
cleanup-commands:
# provide launcher and wizard
- mv /app/bin/{easyrpg-player,org.easyrpg.player.real}
- mv /app/bin/{firststart,easyrpg-firststart}
- mv /app/bin/{launcher,easyrpg-player}
cleanup:
- /include
- /lib/cmake
- /lib/pkgconfig
- /lib/*.so
modules:
# external libraries
- shared-modules/linux-audio/fluidsynth2.json
- name: libfmt
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DFMT_TEST=OFF
- -DBUILD_SHARED_LIBS=TRUE
sources:
- type: git
url: https://github.com/fmtlib/fmt.git
tag: '9.1.0'
commit: a33701196adfad74917046096bf5a2aa0ab0bb50
x-checker-data:
type: git
tag-pattern: ^([\d.]+)$
versions:
'<': '10.0.0'
- name: libxmp
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DBUILD_STATIC=OFF
- -DLIBXMP_DISABLE_DEPACKERS=ON
- -DLIBXMP_DISABLE_PROWIZARD=ON
sources:
- type: git
url: https://github.com/libxmp/libxmp.git
tag: libxmp-4.6.0
commit: 8201d26cf933688a8be64292457c429fd8e654ab
x-checker-data:
type: git
tag-pattern: ^libxmp-([\d.]+)$
# own libraries
- name: liblcf
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DLIBLCF_ENABLE_TOOLS=OFF
- -DLIBLCF_WITH_XML=OFF
- -DLIBLCF_ENABLE_TESTS=OFF
- -DLIBLCF_UPDATE_MIMEDB=OFF
sources:
- type: git
url: https://github.com/EasyRPG/liblcf.git
tag: '0.8'
commit: 9c09529e3de0a4106470082ef48a00d4c3593c33
x-checker-data:
is-main-source: true
type: git
tag-pattern: ^([\d.]+)$
cleanup:
- /share
- name: player
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DPLAYER_VERSION_APPEND='(Flathub)'
sources:
- type: git
url: https://github.com/EasyRPG/Player.git
tag: '0.8'
commit: f8e41f43b619413f95847536412b56f85307d378
x-checker-data:
is-main-source: true
type: git
tag-pattern: ^([\d.]+)$
- type: patch
path: update-metainfo-pr3199.patch
cleanup:
- /share/bash-completion
- /share/pixmaps
- name: wizard
buildsystem: cmake-ninja
subdir: Flatpak/firststart
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
sources:
- type: git
disable-submodules: true
url: https://github.com/EasyRPG/packaging.git
commit: a20be36b008e0e2a6b84d049663cc97a64461166
- name: launcher
buildsystem: simple
subdir: Flatpak
sources:
- type: git
disable-submodules: true
url: https://github.com/EasyRPG/packaging.git
commit: a20be36b008e0e2a6b84d049663cc97a64461166
build-commands:
- install -Dm755 flatpak-launcher.sh /app/bin/launcher