forked from ssokolow/PySolFC_flatpak
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathio.sourceforge.pysolfc.PySolFC.json
More file actions
125 lines (125 loc) · 3.35 KB
/
io.sourceforge.pysolfc.PySolFC.json
File metadata and controls
125 lines (125 loc) · 3.35 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
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
119
120
121
122
123
124
125
{
"app-id": "io.sourceforge.pysolfc.PySolFC",
"runtime": "org.freedesktop.Platform",
"runtime-version": "22.08",
"sdk": "org.freedesktop.Sdk",
"command": "pysol",
"cleanup": [
"/bin/sqlite3_analyzer",
"/bin/tclsh8.6",
"/bin/wish8.6",
"/include",
"*.a",
"*.la",
"/lib/*Config.sh",
"/lib/cmake",
"/lib/perl5",
"/lib/pkgconfig",
"/lib64/pkgconfig",
"/man",
"/share/aclocal",
"/share/info",
"/share/man"
],
"rename-icon": "pysol",
"rename-desktop-file": "pysol.desktop",
"finish-args": [
"--share=ipc",
"--socket=x11",
"--socket=pulseaudio",
"--device=dri",
"--persist=.PySolFC"
],
"build-options": {
"env": {
"PORTMIDI_INC_PORTTIME": "1",
"PYGAME_EXTRA_BASE": "/app"
}
},
"modules": [
"tkinter.json",
"pygame2_extra_deps.json",
"python3-modules.json",
{
"name": "PySolFC-Cardsets",
"buildsystem": "simple",
"build-commands": [
"mkdir -p /app/share/PySolFC/cardsets/",
"cp -r * /app/share/PySolFC/cardsets/"
],
"sources": [
{
"type": "git",
"url": "https://github.com/shlomif/PySolFC-Cardsets",
"commit": "db74d748556b167052da9d6bcd7cc6b461351ff8",
"tag": "2.1",
"x-checker-data": {
"type": "git",
"tag-pattern": "^([\\d.]+)$"
}
}
]
},
{
"name": "PySol-Music",
"buildsystem": "simple",
"build-commands": [
"install -Dm644 data/music/* -t /app/share/PySolFC/music/"
],
"sources": [
{
"type": "git",
"url": "https://github.com/shlomif/pysol-music",
"commit": "108d6dcbb931f2b709f5a1590ea7ea6190f98d9e",
"tag": "4.50",
"x-checker-data": {
"type": "git",
"tag-pattern": "^([\\d.]+)$"
}
}
]
},
"solvers.json",
{
"name": "PySolFC",
"buildsystem": "simple",
"build-commands": [
"desktop-file-edit --set-key=Exec --set-value=pysol data/pysol.desktop",
"make rules",
"make mo",
"ln -s data/images images",
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} . --no-build-isolation",
"install -Dm755 pysol -t /app/bin/",
"install -Dm644 io.sourceforge.pysolfc.PySolFC.appdata.xml -t /app/share/metainfo/"
],
"sources": [
{
"type": "git",
"url": "https://github.com/shlomif/PySolFC",
"commit": "3879a9196b425b30b0d69caffb8988d11e6939b6",
"tag": "pysolfc-2.18.0",
"x-checker-data": {
"type": "git",
"tag-pattern": "^pysolfc-([\\d.]+)$",
"is-main-source": true
}
},
{
"type": "file",
"path": "io.sourceforge.pysolfc.PySolFC.appdata.xml"
},
{
"type": "script",
"commands": [
"# Workaround for 'flatpak run' not setting LD_LIBRARY_PATH=/app/lib",
"# and SDL_mixer needing that to find /app/lib/libmodplug.so*",
"",
"export LD_LIBRARY_PATH='/app/lib:$LD_LIBRARY_PATH'",
"pysol.py \"$@\""
],
"dest-filename": "pysol"
}
]
}
]
}