diff options
author | James Le Cuirot <chewi@gentoo.org> | 2016-10-30 17:28:12 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2016-10-30 20:29:29 +0000 |
commit | 8b1651322a9283d4bab26f575f18ae6e961e0fee (patch) | |
tree | 4699092979946f841a47209ee765e6341932ac13 /dev-java/swingx-ws | |
parent | dev-java/swingx-ws: Fix jdom dependency (bug #597890), EAPI bump (diff) | |
download | gentoo-8b1651322a9283d4bab26f575f18ae6e961e0fee.tar.gz gentoo-8b1651322a9283d4bab26f575f18ae6e961e0fee.tar.bz2 gentoo-8b1651322a9283d4bab26f575f18ae6e961e0fee.zip |
dev-java/swingx-ws: Restore 0 SLOT that monsieurp erroneously deleted
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-java/swingx-ws')
-rw-r--r-- | dev-java/swingx-ws/Manifest | 1 | ||||
-rw-r--r-- | dev-java/swingx-ws/swingx-ws-1.0-r1.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/swingx-ws/Manifest b/dev-java/swingx-ws/Manifest index 6a41265118aa..95955333fe57 100644 --- a/dev-java/swingx-ws/Manifest +++ b/dev-java/swingx-ws/Manifest @@ -1 +1,2 @@ +DIST swingx-ws-1.0-sources.jar 281598 SHA256 b90e5915f959e25ba5789fb8e48821b1f6c7e8a10d0eb28dac264465de37db13 SHA512 722f8642e3a7c7825dd44cf01eca624b1d8a6bbfa829dbd7be326b53bf9d5467f48293489bbac6466ba9e74d991caaa6c9d56f0b7a08d205133926413517ca28 WHIRLPOOL ca2b512f5ec376f774df46d7b67f9ef01bce93cb0e41057cefe374e35d2558c1a7d9ed6bc5d5de0b205e5b2732490f200d562cb59a30876659abf8579a671157 DIST swingx-ws-2011_05_15-src.zip 7010679 SHA256 30783793463d43a2b8303324059b0783466bef5bd889a8af4797b8aa39e65cf2 SHA512 1929bcd5d615e336fbf77f5c0406a15f0b8aae1ea2167106b8efe2708bf365b39a2313d2a22b5f77ca9559b161db5c50dc18d0cc4cebfcf7a0e4e0c978d4d5da WHIRLPOOL 96551039365386a70137d35a252299479a38389c38d26fc9dbf1e57035d40b96bbaa59c14c7f23f4a9b56f828fe10eb48c76cb886f6ab35c4d0a2cf2d2287ee1 diff --git a/dev-java/swingx-ws/swingx-ws-1.0-r1.ebuild b/dev-java/swingx-ws/swingx-ws-1.0-r1.ebuild new file mode 100644 index 000000000000..b187832b805d --- /dev/null +++ b/dev-java/swingx-ws/swingx-ws-1.0-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Utilities and widgets to integrate Swing GUIs with web applications" +HOMEPAGE="https://java.net/projects/swingx-ws/" +SRC_URI="http://central.maven.org/maven2/org/swinglabs/${PN}/${PV}/${P}-sources.jar" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +CP_DEPEND=" + dev-java/commons-httpclient:3 + dev-java/jdom:0 + dev-java/json:0 + dev-java/jtidy:0 + dev-java/rome:0 + dev-java/swingx:1.6 + dev-java/swingx-beaninfo:0 + dev-java/xerces:2 + dev-java/xml-commons-external:1.4" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.6" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-1.6 + app-arch/unzip" + +src_prepare() { + default + + # Fixes for newer swingx-beaninfo. + sed -i "s:BeanInfoSupport:org.jdesktop.beans.\0:g" org/jdesktop/swingx/*.java || die + find -name "*.java" -exec sed -i -r "s:org\.jdesktop\.swingx\.(editors|BeanInfoSupport|EnumerationValue):org.jdesktop.beans.\1:g" {} + || die + + # GraphicsUtilities moved in later SwingX versions. + sed -i "s:org\.jdesktop\.swingx\.graphics\.GraphicsUtilities:org.jdesktop.swingx.util.GraphicsUtilities:g" \ + org/jdesktop/swingx/mapviewer/AbstractTileFactory.java || die + + java-pkg-2_src_prepare +} + +src_compile() { + java-pkg-simple_src_compile + java-pkg_addres ${PN}.jar . +} |