forked from snapcrafters/eclipse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnapcraft.yaml.template
103 lines (93 loc) · 2.33 KB
/
snapcraft.yaml.template
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
ename: !- $env[ECLIPSE_PACKAGE]
name: !? .ename
base: core24
epackages: !- $import('eclipse-packages.yaml')
version: !? .epackages.latest
summary: Extensible Tool Platform and Java IDE
description:
Eclipse provides IDEs and platforms for nearly every language and architecture.
We are famous for our Java IDE, C/C++, JavaScript and PHP IDEs built on extensible
platforms for creating desktop, Web and cloud IDEs. These platforms deliver the most
extensive collection of add-on tools available for software developers.
grade: stable
confinement: strict
compression: lzo
platforms:
amd64:
build-on: amd64
lint:
ignore:
- library
apps:
!? .ename:
command: bin/eclipse-wrapper
extensions: [gnome]
desktop: eclipse.desktop
environment:
## https://docs.gtk.org/glib/running.html#environment-variables
G_MESSAGES_DEBUG: all
## https://docs.mesa3d.org/envvars.html
LIBGL_DEBUG: 1
DRI_PRIME_DEBUG: 1
MESA_DEBUG: 1
MESA_VK_DEVICE_SELECT_DEBUG: 1
# AMD_DEBUG: all
## https://trac.webkit.org/wiki/EnvironmentVariables
WEBKIT_DEBUG: all
plugs:
- personal-sourcedir
- personal-workspace
- personal-gitconfig
- personal-sshid
- personal-maven-cache
- network
plugs:
personal-sourcedir:
interface: personal-files
write:
- $HOME/projs
personal-workspace:
interface: personal-files
write:
- $HOME/eclipse-workspace
personal-gitconfig:
interface: personal-files
write:
- $HOME/.gitconfig
personal-sshid:
interface: ssh-keys
personal-maven-cache:
interface: personal-files
write:
- $HOME/.m2
parts:
eclipse:
plugin: dump
source-type: tar
source: !? $_.epackages[$_.version][$_.name].source
source-checksum: !? $_.epackages[$_.version][$_.name].checksum
build-attributes:
- no-patchelf
permissions:
- mode: "555"
after:
- eclipse_deps
wrappers:
plugin: dump
source: snap/local/wrappers
organize:
eclipse: bin/eclipse-wrapper
eclipse_desktop:
plugin: dump
source: snap/gui
eclipse_deps:
plugin: nil
stage-snaps:
- git-confined
layout:
/usr/local/bin:
bind: $SNAP/usr/bin
/usr/libexec/git-core:
symlink: $SNAP/usr/libexec/git-core
/usr/share/git-core:
symlink: $SNAP/usr/share/git-core