-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcom.simutrans.Simutrans.yaml
52 lines (49 loc) · 1.58 KB
/
com.simutrans.Simutrans.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
app-id: com.simutrans.Simutrans
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
command: simutrans
rename-desktop-file: simutrans.desktop
rename-icon: simutrans
finish-args:
- --device=dri
- --share=ipc
- --share=network
- --socket=pulseaudio
- --socket=fallback-x11
- --socket=wayland
modules:
- shared-modules/linux-audio/fluidsynth2.json
- name: miniupnpc
buildsystem: cmake-ninja
config-opts:
- -DUPNPC_BUILD_STATIC=FALSE
- -DUPNPC_BUILD_SHARED=TRUE
- -DUPNPC_BUILD_TESTS=FALSE
- -DUPNPC_BUILD_SAMPLE=FALSE
cleanup:
- /include
- /share/doc
sources:
- type: archive
url: https://miniupnp.tuxfamily.org/files/miniupnpc-2.2.7.tar.gz
sha256: b0c3a27056840fd0ec9328a5a9bac3dc5e0ec6d2e8733349cf577b0aa1e70ac1
- name: simutrans
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DSIMUTRANS_USE_REVISION=11590
builddir: true
sources:
- type: svn
url: svn://servers.simutrans.org/simutrans/trunk
revision: '11591'
- name: musescore-general-soundfont
buildsystem: simple
build-commands:
- install -D -m 644 -t $FLATPAK_DEST/share/soundfonts MuseScore_General.sf3
- ln -s $FLATPAK_DEST/share/soundfonts/MuseScore_General.sf3 $FLATPAK_DEST/share/simutrans/music/default.sf3
sources:
- type: file
url: https://ftp.osuosl.org/pub/musescore/soundfont/MuseScore_General/MuseScore_General.sf3
sha256: 5b85b6c2c61d10b2b91cddd41efcce7b25cd31c8271d511c73afafbef20b6fa3