-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathorg.opensurge2d.OpenSurge.yaml
87 lines (80 loc) · 2.39 KB
/
org.opensurge2d.OpenSurge.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
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
app-id: org.opensurge2d.OpenSurge
runtime: org.freedesktop.Platform
runtime-version: "23.08"
sdk: org.freedesktop.Sdk
command: opensurge
rename-icon: opensurge
rename-desktop-file: opensurge.desktop
rename-appdata-file: opensurge.appdata.xml
finish-args:
- --socket=x11
- --share=ipc
- --device=dri
- --socket=pulseaudio
- --filesystem=xdg-download:ro
- --device=all
cleanup:
- /include
- /lib/pkgconfig
- "*.a"
- "*.la"
modules:
- shared-modules/glu/glu-9.json
- name: libphysfs
buildsystem: cmake-ninja
builddir: true
sources:
- type: archive
url: https://github.com/icculus/physfs/archive/refs/tags/release-3.2.0.tar.gz
sha256: 1991500eaeb8d5325e3a8361847ff3bf8e03ec89252b7915e1f25b3f8ab5d560
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DPHYSFS_BUILD_TEST=OFF
- -DPHYSFS_BUILD_DOCS=OFF
- -DPHYSFS_BUILD_STATIC=OFF
- name: liballegro5
buildsystem: cmake-ninja
builddir: true
sources:
- type: archive
url: https://github.com/liballeg/allegro5/releases/download/5.2.9.1/allegro-5.2.9.1.tar.gz
sha256: 0ee3fc22ae74601ad36c70afd793ff062f0f7187eeb6e78f8a24e5bf69170d30
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DWANT_DEMO=OFF
- -DWANT_DOCS=OFF
- -DWANT_EXAMPLES=OFF
- -DWANT_TESTS=OFF
- name: surgescript
buildsystem: cmake-ninja
builddir: true
sources:
- type: git
url: https://github.com/alemart/surgescript.git
tag: v0.6.1
commit: 56bd599302bbca1eea91d0dc8353257845b314ea
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DWANT_EXECUTABLE=OFF
- -DWANT_STATIC=OFF
- name: opensurge
buildsystem: cmake-ninja
builddir: true
sources:
- type: git
url: https://github.com/alemart/opensurge.git
tag: v0.6.1.2
commit: 7c91c28d4e5da38e2766b011e33bdbe6628c01cd
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DGAME_BUILD_VERSION=flatpak
- -DALLEGRO_MONOLITH=OFF
- -DCMAKE_LIBRARY_PATH=/app/lib
- -DCMAKE_INCLUDE_PATH=/app/include
- -DCMAKE_INSTALL_PREFIX=/app/bin
- -DGAME_DATADIR=/app/share/opensurge
- -DGAME_BINDIR=/app/bin
- -DDESKTOP_ENTRY_PATH=/app/share/applications
- -DDESKTOP_ICON_PATH=/app/share/icons/hicolor/256x256/apps
- -DDESKTOP_METAINFO_PATH=/app/share/metainfo
- -DDESKTOP_INSTALL=ON