diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-06-17 10:00:39 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-06-17 10:00:39 +0000 |
commit | 7bb9ad2d42197a9f188b42688adc26e5bd7634f1 (patch) | |
tree | d72ef6c5953346ee233f9fddfd1c985dad5d0eb0 /sci-geosciences | |
parent | Masking php-5.3.7 release candidates (diff) | |
download | historical-7bb9ad2d42197a9f188b42688adc26e5bd7634f1.tar.gz historical-7bb9ad2d42197a9f188b42688adc26e5bd7634f1.tar.bz2 historical-7bb9ad2d42197a9f188b42688adc26e5bd7634f1.zip |
Add live ebuild. Per bug #371913.
Package-Manager: portage-2.2.0_alpha38/cvs/Linux x86_64
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/josm/ChangeLog | 7 | ||||
-rw-r--r-- | sci-geosciences/josm/Manifest | 9 | ||||
-rw-r--r-- | sci-geosciences/josm/josm-9999.ebuild | 54 |
3 files changed, 65 insertions, 5 deletions
diff --git a/sci-geosciences/josm/ChangeLog b/sci-geosciences/josm/ChangeLog index aa9496ce21df..eb6de1a45fce 100644 --- a/sci-geosciences/josm/ChangeLog +++ b/sci-geosciences/josm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-geosciences/josm # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/ChangeLog,v 1.37 2011/06/08 11:40:49 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/ChangeLog,v 1.38 2011/06/17 10:00:39 scarabeus Exp $ + +*josm-9999 (17 Jun 2011) + + 17 Jun 2011; Tomáš Chvátal <scarabeus@gentoo.org> +josm-9999.ebuild: + Add live ebuild. Per bug #371913. *josm-4064 (08 Jun 2011) diff --git a/sci-geosciences/josm/Manifest b/sci-geosciences/josm/Manifest index 1d3262370a0d..61813d96a76c 100644 --- a/sci-geosciences/josm/Manifest +++ b/sci-geosciences/josm/Manifest @@ -3,12 +3,13 @@ Hash: SHA1 DIST josm-4064.tar.xz 6372756 RMD160 2ecfb7e805fea4be06bd67ffb96bb161490b7634 SHA1 6179eddce9fa7e1be8bb783e303a6288a1bbaa35 SHA256 64e8a1db85c968d0af272e400745e63205cae1fde3000435c4428f2023c12783 EBUILD josm-4064.ebuild 925 RMD160 74dfb1866cd7addec8083e8e9313ccd222c0cbdb SHA1 066cc022bc91c61b762a4defe0d92fd9d34933f8 SHA256 df60a320d6bb2eb13ce7b5de7927983a49453865e7dfcdf10b69ea8172e17d5f -MISC ChangeLog 4883 RMD160 5f8276ef42337398b9db16e401f50986632cde00 SHA1 5caa680b0bd6f896ae3fdefb45a8565ee85145df SHA256 b227952559807e1cc8ba15f612945f8ad319d719aba554d951a72d8ab546a750 +EBUILD josm-9999.ebuild 1599 RMD160 32a3665110ec43ae40f068e6c8fea8e2ac24ce80 SHA1 375eb6d57b04dd28dff096249fac7b4f6f1ca68a SHA256 c50f6c5efee1bd05cc914496e2a830805ab24f6a2947002a76921144351d93d8 +MISC ChangeLog 5020 RMD160 59b3b37eacb4c91f3b86e16716a4eb0a98210d31 SHA1 295ee610c730ada94f0df1d747aeaff47482ec2d SHA256 e940d355f553807b4f518b7fcd426257da3e139a338069b3db370f859ac8a65c MISC metadata.xml 237 RMD160 20944f06e761a57587043f3ec7ec969a5ab9bdcc SHA1 33b0366a9efeb0caad5712fb7e628147dff924be SHA256 29eb01e164be9510d6a51d6477c169df641127a2a2df064c9d99c90c067ac3d7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk3vX7sACgkQHB6c3gNBRYeC0QCgro8o9Av3DA8wE98qyTAVQgJB -eiAAoJ3t5OWEUMFcKv2pS/jN2/mRmkJz -=TDY9 +iEYEARECAAYFAk37JcwACgkQHB6c3gNBRYdC7wCgkhgxPRgQICOn7ieFnicY9KP7 +eIEAnA24VH9ZFFmxpj81BNaYWHlbLRqa +=Sg6y -----END PGP SIGNATURE----- diff --git a/sci-geosciences/josm/josm-9999.ebuild b/sci-geosciences/josm/josm-9999.ebuild new file mode 100644 index 000000000000..3f171c7a3715 --- /dev/null +++ b/sci-geosciences/josm/josm-9999.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/josm-9999.ebuild,v 1.1 2011/06/17 10:00:39 scarabeus Exp $ + +EAPI=4 + +JAVA_ANT_ENCODING=UTF-8 + +[[ ${PV} == "9999" ]] && SUBVERSION_ECLASS="subversion" +ESVN_REPO_URI="http://josm.openstreetmap.de/svn/trunk" +inherit eutils java-pkg-2 java-ant-2 ${SUBVERSION_ECLASS} +unset SUBVERSION_ECLASS + +DESCRIPTION="Java-based editor for the OpenStreetMap project" +HOMEPAGE="http://josm.openstreetmap.de/" +[[ ${PV} == "9999" ]] || SRC_URI="http://josm.fabian-fingerle.de/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +[[ ${PV} == "9999" ]] || KEYWORDS="~amd64 ~x86" + +DEPEND=">=virtual/jdk-1.6" +RDEPEND=">=virtual/jre-1.6" + +S="${WORKDIR}/${PN}" + +IUSE="" + +src_prepare() { + if [[ ${PV} == "9999" ]]; then + sed -i \ + -e "s:josm-custom.jar:josm.jar:" \ + -e "s:josm-custom-optimized.jar:josm-optimized.jar:" \ + build.xml || die "Sed failed" + + # 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" + fi +} + +src_compile() { + eant dist +} + +src_install() { + java-pkg_newjar "dist/${PN}.jar" || die "java-pkg_newjar failed" + java-pkg_dolauncher "${PN}" --jar "${PN}.jar" || die "java-pkg_dolauncher failed" + + newicon images/logo.png josm.png || die "newicon failed" + make_desktop_entry "${PN}" "Java OpenStreetMap Editor" josm "Science;Geoscience" +} |