source: josm/trunk/snapcraft.yaml@ 17957

Last change on this file since 17957 was 11827, checked in by Klumbumbus, 8 years ago

see #14576 - update description with text from https://josm.openstreetmap.de/

File size: 1.8 KB
Line 
1name: josm
2version: 0.git
3summary: Editor for OpenStreetMap
4description: |
5 JOSM is an extensible editor for ​OpenStreetMap (OSM) written in Java.
6 It supports loading GPX tracks, background imagery and OSM data from
7 local sources as well as from online sources and allows to edit the
8 OSM data (nodes, ways and relations) and their metadata tags.
9 JOSM is open source and licensed under GPL​.
10
11 OpenStreetMap is a project aimed squarely at creating and providing
12 free geographic data such as street maps to anyone who wants them.
13 The project was started because most maps you think of as free actually
14 have legal or technical restrictions on their use, holding back people
15 from using them in creative, productive or unexpected ways.
16confinement: strict
17grade: devel
18icon: linux/tested/usr/share/icons/hicolor/128x128/apps/josm.png
19
20apps:
21 josm:
22 command: josm-launch
23 desktop: josm.desktop
24 plugs: [unity7, network, home]
25
26parts:
27 local:
28 plugin: ant
29 ant-properties:
30 dist.dir: $SNAPCRAFT_PART_INSTALL
31 source: .
32 install: |
33 cp -a linux/tested/usr/share/applications/josm.desktop $SNAPCRAFT_PART_INSTALL/
34 cat<<'EOF' > $SNAPCRAFT_PART_INSTALL/josm-launch
35 #!/bin/sh
36 # ensure font-config is happy
37 export XDG_DATA_HOME=$SNAP/usr/share
38 export FONTCONFIG_PATH=$SNAP/etc/fonts/config.d
39 export FONTCONFIG_FILE=$SNAP/etc/fonts/fonts.conf
40 export HOME=$SNAP_USER_DATA
41 # ensure java is happy as well
42 export JRE_HOME=$SNAP/usr/lib/jvm/default-java/jre
43 export JAVA_HOME=$SNAP/usr/lib/jvm/default-java/jre
44 java -Duser.home=$SNAP_USER_DATA -jar $SNAP/josm-custom.jar
45 EOF
46 chmod +x $SNAPCRAFT_PART_INSTALL/josm-launch
47
Note: See TracBrowser for help on using the repository browser.