forked from flathub/de.wger.flutter
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflatpak-flutter.json
More file actions
71 lines (71 loc) · 2.15 KB
/
flatpak-flutter.json
File metadata and controls
71 lines (71 loc) · 2.15 KB
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
{
"app-id": "de.wger.flutter",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.llvm19"
],
"command": "wger",
"separate-locales": false,
"finish-args": [
"--share=ipc",
"--share=network",
"--socket=fallback-x11",
"--socket=wayland",
"--socket=pulseaudio",
"--device=dri"
],
"cleanup": [
"/var/lib"
],
"modules": [
{
"name": "wger",
"buildsystem": "simple",
"build-options": {
"arch": {
"x86_64": {
"env": {
"BUNDLE_PATH": "build/linux/x64/release/bundle"
}
},
"aarch64": {
"env": {
"BUNDLE_PATH": "build/linux/arm64/release/bundle"
}
}
},
"append-path": "/usr/lib/sdk/llvm19/bin:/run/build/wger/flutter/bin",
"prepend-ld-library-path": "/usr/lib/sdk/llvm19/lib",
"env": {
"PUB_CACHE": "/run/build/wger/.pub-cache"
}
},
"build-commands": [
"flutter build linux --release --no-pub",
"install -D $BUNDLE_PATH/wger /app/bin/wger",
"cp -r $BUNDLE_PATH/lib /app/bin/lib",
"cp -r $BUNDLE_PATH/data /app/bin/data",
"install -Dm644 flatpak/logo64.png /app/share/icons/hicolor/64x64/apps/de.wger.flutter.png",
"install -Dm644 flatpak/logo128.png /app/share/icons/hicolor/128x128/apps/de.wger.flutter.png",
"install -Dm644 flatpak/logo512.png /app/share/icons/hicolor/512x512/apps/de.wger.flutter.png",
"install -Dm644 flatpak/de.wger.flutter.desktop /app/share/applications/de.wger.flutter.desktop",
"install -Dm644 flatpak/de.wger.flutter.metainfo.xml /app/share/metainfo/de.wger.flutter.metainfo.xml"
],
"sources": [
{
"type": "git",
"url": "https://github.com/wger-project/flutter",
"tag": "0bdfeafb0d79d3bd67b678bf1a831da4092badb9"
},
{
"type": "git",
"url": "https://github.com/flutter/flutter.git",
"tag": "3.41.6",
"dest": "flutter"
}
]
}
]
}