-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcom.jpexs.decompiler.flash.json
91 lines (91 loc) · 2.83 KB
/
com.jpexs.decompiler.flash.json
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
{
"app-id": "com.jpexs.decompiler.flash",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.openjdk8"
],
"command": "ffdec.sh",
"finish-args": [
"--share=ipc",
"--socket=pulseaudio",
"--socket=x11",
"--env=PATH=/app/bin:/app/jre/bin:/usr/bin",
"--env=JAVA_HOME=/app/jre",
"--filesystem=home"
],
"modules": [
{
"name": "openjdk",
"buildsystem": "simple",
"build-commands": [
"/usr/lib/sdk/openjdk8/install.sh"
]
},
{
"name": "jpexs.decompiler.flash",
"buildsystem": "simple",
"builddir": true,
"subdir": "jpexs",
"build-options": {
"env": {
"JAVA_HOME": "/app/jre",
"TOOLS_DIR": "cicd_scripts/tools"
}
},
"build-commands": [
"echo nsis.path = $TOOLS_DIR/nsis-3.0-src/bin > tools.properties",
"echo launch4j.path = $TOOLS_DIR/launch4j >> tools.properties",
"./make-version-properties.sh",
"../ant/bin/ant new-version-archive",
"mkdir -p /app/bin",
"mv dist/* /app/bin",
"install -Dm755 resources/ffdec.sh -t /app/bin",
"install -Dm644 resources/icon.png /app/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png",
"install -Dm644 ../${FLATPAK_ID}.desktop -t /app/share/applications",
"install -Dm644 resources/${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo"
],
"sources": [
{
"type": "git",
"url": "https://github.com/jindrapetrik/jpexs-decompiler.git",
"tag": "version22.0.2",
"commit": "53cd8ffd6d3fd2f9e34655b9f4443b10980a7a27",
"dest": "jpexs",
"x-checker-data": {
"type": "git",
"tag-pattern": "^version([\\d.]+)$"
}
},
{
"type": "file",
"path": "make-version-properties.sh",
"dest": "jpexs"
},
{
"type": "archive",
"url": "https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.9-bin.tar.xz",
"sha512": "ecb09c83b24f98b9475849548558809ff21c88f8d39fbc3559f24df5fc640a50bbd885681d9c676285d8843bd3dc09a6238189c13a4238ba5c01385a5bd29542",
"dest": "ant"
},
{
"type": "archive",
"url": "https://github.com/jindrapetrik/jpexs-decompiler/raw/refs/tags/version22.0.1/cicd_scripts/tools/nsis-3.0-addon.zip",
"sha512": "f1441ec8c3b3db8719d9d3a5ef18a81b9c6695c53f25ecabc573f9eaa0dde8b55f06b0544bf61bcfc8664210111b5d48ff491dffcccd740b0efd42bdbb1b70f0",
"dest": "$TOOLS_DIR/nsis-3.0-src"
},
{
"type": "archive",
"url": "https://github.com/jindrapetrik/jpexs-decompiler/raw/refs/tags/version22.0.1/cicd_scripts/tools/launch4j-3.14-linux-x64.tgz",
"sha512": "72b6030b6d6747455c29829498ff37fd4c2724c1922060d7fbed0f2423e95c67bd1cd923117702eeabc25c32b8f7cf4efe80998901623a5a57c176d5a6eaacef",
"dest": "$TOOLS_DIR"
},
{
"type": "file",
"path": "com.jpexs.decompiler.flash.desktop"
}
]
}
]
}