Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
G
Gentoo Ebuilds
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tfscripts
Gentoo Ebuilds
Commits
db0cefda
Commit
db0cefda
authored
Jul 02, 2015
by
T. Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding ebuild for JOSM's 'unstable'
parent
fd0971c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
0 deletions
+58
-0
sci-geosciences/josm/Manifest
sci-geosciences/josm/Manifest
+1
-0
sci-geosciences/josm/josm-8558.ebuild
sci-geosciences/josm/josm-8558.ebuild
+57
-0
No files found.
sci-geosciences/josm/Manifest
0 → 100644
View file @
db0cefda
EBUILD josm-8558.ebuild 1760 SHA256 bdbbf14585b2401685043ed7f48bf22717bf12b7e27997fe24e6a473b46e0085 SHA512 cabd626888786e23f0fa2c176ca9d4579e21a2771f611edb63f5f7d73b01cf275ddd216073ae0d98fc6c529a77b178e82e210cd6071a5c5cc50feb8a180044e3 WHIRLPOOL a92dfe607548503538f27fa66e2ae60b0116606b2bc615e7bd66dc668d86e5c3822539c14c0a198b7460d54661d5efb9c909d03e9255089edc9febe56d9b93ca
sci-geosciences/josm/josm-8558.ebuild
0 → 100644
View file @
db0cefda
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI
=
5
inherit eutils java-pkg-2 java-ant-2 subversion
JAVA_ANT_ENCODING
=
UTF-8
ESVN_REPO_URI
=
"http://josm.openstreetmap.de/svn/trunk"
ESVN_REVISION
=
${
PV
}
DESCRIPTION
=
"Java-based editor for the OpenStreetMap project"
HOMEPAGE
=
"http://josm.openstreetmap.de/"
LICENSE
=
"GPL-2"
SLOT
=
"0"
KEYWORDS
=
"~amd64 ~x86"
DEPEND
=
">=virtual/jdk-1.7
gnome-base/librsvg"
RDEPEND
=
">=virtual/jre-1.7"
S
=
"
${
WORKDIR
}
/
${
P
}
"
IUSE
=
""
src_prepare
()
{
# create-revision needs the compile directory to be a svn directory
# see also http://lists.openstreetmap.org/pipermail/dev/2009-March/014182.html
sed
-i
\
-e
"s:arg[ ]value=
\"
.
\"
:arg value=
\"
${
ESVN_STORE_DIR
}
\/
${
PN
}
\/
trunk
\"
:"
\
build.xml
||
die
"sed failed"
pwd
}
src_compile
()
{
eant dist-optimized
# create icon in various sizes based on project's SVG logo
for
size
in
128 16 192 22 24 256 32 36 48 512 64 72 96
;
do
mkdir
-p
${
T
}
/
${
size
}
||
die
"Cannot create temporary directory '
${
T
}
/
${
size
}
'"
rsvg-convert
-f
png
-o
${
T
}
/
${
size
}
/
${
PN
}
.png
-w
${
size
}
-h
${
size
}
"images/logo.svg"
||
\
die
"Cannot create PNG file '
${
T
}
/
${
size
}
/
${
PN
}
.png' from SVG file 'images/logo.svg'"
done
}
src_install
()
{
java-pkg_newjar
"dist/
${
PN
}
-custom-optimized.jar"
"
${
PN
}
.jar"
||
die
"java-pkg_newjar failed"
java-pkg_dolauncher
"
${
PN
}
"
--jar
"
${
PN
}
.jar"
||
die
"java-pkg_dolauncher failed"
for
size
in
128 16 192 22 24 256 32 36 48 512 64 72 96
;
do
insinto /usr/share/icons/hicolor/
${
size
}
x
${
size
}
/apps
doins
${
T
}
/
${
size
}
/
${
PN
}
.png
||
die
"Cannot install PNG icon of size
${
size
}
"
done
make_desktop_entry
"
${
PN
}
"
"Java OpenStreetMap Editor"
josm
"Utility;Science;Geoscience"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment