-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathorg.godotengine.godot.BaseApp.yaml
67 lines (56 loc) · 1.82 KB
/
org.godotengine.godot.BaseApp.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
app-id: org.godotengine.godot.BaseApp
branch: '3.5'
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: godot-runner
build-options:
arch:
x86_64:
env:
# Only enable link-time optimization when targeting x86_64
# (causes issues on other architectures)
SCONS_FLAGS_EXTRA: use_lto=yes
env:
# Will be appended to the version string displayed in the command-line help
BUILD_NAME: flathub
# SCons flags common to all builds
# Shouldn't be quoted when used as it's a single string, not an array
SCONS_FLAGS: >
platform=x11
CCFLAGS=-I/app/include
prefix=/app
unix_global_settings_path=/app
progress=no
builtin_freetype=no
builtin_libogg=no
builtin_libpng=no
builtin_libtheora=no
builtin_libvorbis=no
builtin_libwebp=no
builtin_libvpx=no
builtin_zlib=no
udev=no
modules:
- shared-modules/glu/glu-9.json
- name: scons
buildsystem: simple
cleanup: ['*']
sources:
- type: archive
sha256: 3d43b2303a924816ea0e1b345ff04c9b3e27b53eadf0f26012fc0c29b019685f
url: https://downloads.sourceforge.net/project/scons/scons/4.4.0/SCons-4.4.0.tar.gz
build-commands:
- python3 -m pip install --prefix=/app .
- name: godot-runner
buildsystem: simple
sources:
- type: archive
sha256: 3cb48126b76858f40cf54bd345bb84dc1f49d9e6f8a4a7425ad86e805d39701d
url: https://downloads.tuxfamily.org/godotengine/3.5.3/godot-3.5.3-stable.tar.xz
- type: patch
path: godot-i386-disable-O3.patch
only-arches: [i386]
build-commands:
- python3 /app/bin/scons $SCONS_FLAGS $SCONS_FLAGS_EXTRA tools=no target=release -j "$FLATPAK_BUILDER_N_JOBS"
- install -Dm755 bin/godot.x11.opt.* /app/bin/godot-runner