forked from flathub/org.eclipse.Java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.eclipse.Java.json
69 lines (69 loc) · 3.7 KB
/
org.eclipse.Java.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
{
"id" : "org.eclipse.Java",
"runtime" : "org.gnome.Platform",
"runtime-version" : "41",
"sdk" : "org.gnome.Sdk",
"sdk-extensions" : [ ],
"command" : "eclipse",
"finish-args" : [
"--require-version=1.7.1",
"--filesystem=host",
"--filesystem=/tmp:rw",
"--share=network",
"--share=ipc",
"--socket=x11",
"--socket=wayland",
"--allow=devel",
"--socket=session-bus",
"--device=dri"
],
"modules" : [ {
"name" : "eclipse",
"buildsystem" : "simple",
"build-commands" : [
"mv eclipse /app",
"mkdir -p /app/bin",
"ln -s /app/eclipse/eclipse /app/bin",
"install -Dm 644 org.eclipse.Java.desktop /app/share/applications/org.eclipse.Java.desktop",
"install -Dm 644 org.eclipse.Java.metainfo.xml /app/share/metainfo/org.eclipse.Java.metainfo.xml",
"install -Dm 644 flatpak-dev-shim-1.0.1-SNAPSHOT.jar /app/eclipse/flatpak-dev-shim.jar",
"install -Dm 644 flatpak-dev-shim-1.0.1-SNAPSHOT.so /app/lib/libflatpakdevshim.so",
"mkdir -p /app/share/icons/hicolor/32x32/apps",
"if [ -f /app/eclipse/plugins/org.eclipse.platform_*/eclipse32.png ] ; then cp -p /app/eclipse/plugins/org.eclipse.platform_*/eclipse32.png /app/share/icons/hicolor/32x32/apps/org.eclipse.Java.png ; fi",
"mkdir -p /app/share/icons/hicolor/64x64/apps",
"if [ -f /app/eclipse/plugins/org.eclipse.platform_*/eclipse64.png ] ; then cp -p /app/eclipse/plugins/org.eclipse.platform_*/eclipse64.png /app/share/icons/hicolor/64x64/apps/org.eclipse.Java.png ; fi",
"mkdir -p /app/share/icons/hicolor/128x128/apps",
"if [ -f /app/eclipse/plugins/org.eclipse.platform_*/eclipse128.png ] ; then cp -p /app/eclipse/plugins/org.eclipse.platform_*/eclipse128.png /app/share/icons/hicolor/128x128/apps/org.eclipse.Java.png ; fi",
"mkdir -p /app/share/icons/hicolor/256x256/apps",
"if [ -f /app/eclipse/plugins/org.eclipse.platform_*/eclipse256.png ] ; then cp -p /app/eclipse/plugins/org.eclipse.platform_*/eclipse256.png /app/share/icons/hicolor/256x256/apps/org.eclipse.Java.png ; fi",
"sed -i -e '/osgi.configuration.area/d' /app/eclipse/eclipse.ini",
"echo \"[email protected]/.var/app/org.eclipse.Java/eclipse/configuration\" >> /app/eclipse/eclipse.ini",
"echo \"--patch-module=java.base=/app/eclipse/flatpak-dev-shim.jar\" >> /app/eclipse/eclipse.ini",
"echo \"-Dsun.boot.library.path=/app/lib\" >> /app/eclipse/eclipse.ini"
],
"sources" : [ {
"type" : "archive",
"url" : "https://download.eclipse.org/technology/epp/downloads/release/2021-09/R/eclipse-java-2021-09-R-linux-gtk-x86_64.tar.gz",
"sha512" : "1baeed0f32ea23eed2c1166ab6b92b086f181a030c9a4e59bf424515c558bf1c57c5f6ce077c2f94c12644eb8224f6034b5d724d726636454428c12459f2028f",
"strip-components" : 0
}, {
"type" : "file",
"url" : "https://repo.eclipse.org/content/repositories/linuxtools/org/eclipse/linuxtools/flatpak/flatpak-dev-shim/1.0.1-SNAPSHOT/flatpak-dev-shim-1.0.1-20210308.114130-2.jar",
"sha1" : "0e7fdf64ea989f97d5e13515b63144a91fa2d8cf",
"dest-filename" : "flatpak-dev-shim-1.0.1-SNAPSHOT.jar"
}, {
"type" : "file",
"url" : "https://repo.eclipse.org/content/repositories/linuxtools/org/eclipse/linuxtools/flatpak/flatpak-dev-shim/1.0.1-SNAPSHOT/flatpak-dev-shim-1.0.1-20210308.114130-2.so",
"sha1" : "a6f9157ab15d6cf0d01931778b509694762affc4",
"dest-filename" : "flatpak-dev-shim-1.0.1-SNAPSHOT.so"
}, {
"type" : "file",
"path" : "org.eclipse.Java.desktop",
"dest-filename" : "org.eclipse.Java.desktop"
}, {
"type" : "file",
"path" : "org.eclipse.Java.metainfo.xml",
"dest-filename" : "org.eclipse.Java.metainfo.xml"
} ]
} ]
}