-
Notifications
You must be signed in to change notification settings - Fork 11
/
org.eclipse.Java.json
122 lines (122 loc) · 6.49 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
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
{
"id": "org.eclipse.Java",
"runtime": "org.gnome.Platform",
"runtime-version": "47",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [],
"command": "eclipse",
"finish-args": [
"--require-version=1.7.1",
"--filesystem=host",
"--filesystem=/tmp:rw",
"--persist=.eclipse",
"--share=network",
"--share=ipc",
"--allow=devel",
"--socket=session-bus",
"--device=dri",
"--socket=wayland",
"--socket=fallback-x11"
],
"modules": [
{
"name": "gdk-pixbuf",
"buildsystem": "meson",
"config-opts": [
"-Dothers=enabled",
"-Dman=false",
"-Dgtk_doc=false",
"-Dbuiltin_loaders=png,bmp,gif"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/gdk-pixbuf.git",
"tag": "2.42.12"
}
]
},
{
"name": "eclipse",
"buildsystem": "simple",
"build-options": {
"no-debuginfo": true
},
"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 \"-Dosgi.configuration.area=@user.home/.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",
"only-arches": [
"x86_64"
],
"url": "https://download.eclipse.org/technology/epp/downloads/release/2024-12/R/eclipse-java-2024-12-R-linux-gtk-x86_64.tar.gz",
"sha512": "dae3fdace259f237afaadad98ac3c16bf571eb7e2704200e5159de9a6bde594c4112e983dd0eac3c35c0fd5325f1cf9d798e2fd511a5059fc02ceca71391927c",
"strip-components": 0,
"x-checker-data": {
"type": "html",
"url": "https://download.eclipse.org/technology/epp/downloads/release/release.xml",
"version-pattern": "<present>(\\d{4}-\\d{2})/R</present>",
"url-template": "https://download.eclipse.org/technology/epp/downloads/release/$version/R/eclipse-java-$version-R-linux-gtk-x86_64.tar.gz"
}
},
{
"type": "archive",
"only-arches": [
"aarch64"
],
"url": "https://download.eclipse.org/technology/epp/downloads/release/2024-12/R/eclipse-java-2024-12-R-linux-gtk-aarch64.tar.gz",
"sha512": "03f0cd430c106995396acd4cb9a59037174bab75eee0089521b4872281b837c1ed5e6975d8e942ff96419ef4c87158fd4f0936f7dac2d6229197c4c79ef337f1",
"strip-components": 0,
"x-checker-data": {
"type": "html",
"url": "https://download.eclipse.org/technology/epp/downloads/release/release.xml",
"version-pattern": "<present>(\\d{4}-\\d{2})/R</present>",
"url-template": "https://download.eclipse.org/technology/epp/downloads/release/$version/R/eclipse-java-$version-R-linux-gtk-aarch64.tar.gz"
}
},
{
"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-20211216.040236-6.jar",
"sha256": "4ad46178d0c288a8a117034aad19f2373811748860b5c460f37e8335ea44ad4e",
"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-20211216.040236-6.so",
"sha256": "345473289c3fae35074d5659e31898c8a90351b507d5361b95400c741e49f7a8",
"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"
}
]
}
]
}