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
0b59ea2b
Commit
0b59ea2b
authored
Jul 21, 2015
by
T. Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating ebuild for JOSM
parent
3832440c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
0 deletions
+60
-0
sci-geosciences/josm/Manifest
sci-geosciences/josm/Manifest
+1
-0
sci-geosciences/josm/josm-8607.ebuild
sci-geosciences/josm/josm-8607.ebuild
+59
-0
No files found.
sci-geosciences/josm/Manifest
View file @
0b59ea2b
EBUILD josm-8558.ebuild 1760 SHA256 bdbbf14585b2401685043ed7f48bf22717bf12b7e27997fe24e6a473b46e0085 SHA512 cabd626888786e23f0fa2c176ca9d4579e21a2771f611edb63f5f7d73b01cf275ddd216073ae0d98fc6c529a77b178e82e210cd6071a5c5cc50feb8a180044e3 WHIRLPOOL a92dfe607548503538f27fa66e2ae60b0116606b2bc615e7bd66dc668d86e5c3822539c14c0a198b7460d54661d5efb9c909d03e9255089edc9febe56d9b93ca
EBUILD josm-8607.ebuild 1785 SHA256 875a55e8263d456a43ce18681755f2fd53207238dce2fb688be48b284634ed02 SHA512 780831949378248612a96be26f9ceb483cb3aa550f47e269f1254deb001a0f0419ec2ceeb7c2babc7812c23747e5fa569d94ca68d42a6958fdf86ed80fb9f6e2 WHIRLPOOL 1d1136d171e3c412021444b0b663e29c8c141851de5ad9449550fab259000da9537193f5d65690127920ac30b48375c126065a1efbfe0239f5a72ac582ec4165
sci-geosciences/josm/josm-8607.ebuild
0 → 100644
View file @
0b59ea2b
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI
=
5
JAVA_ANT_ENCODING
=
UTF-8
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