From: Michał Górny Date: Sun, 26 Aug 2018 08:52:50 +0000 (+0200) Subject: dev-java/proguard: Remove support for non-existent deps X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3e536d5f17aeb8431f90f0ac72c71af60fc2f628;p=gentoo.git dev-java/proguard: Remove support for non-existent deps --- diff --git a/dev-java/proguard/metadata.xml b/dev-java/proguard/metadata.xml index e626ba121626..033beb86046d 100644 --- a/dev-java/proguard/metadata.xml +++ b/dev-java/proguard/metadata.xml @@ -7,7 +7,6 @@ Ant task for using ProGuard in build.xml scripts - Adds support for J2ME Wireless Toolkit proguard diff --git a/dev-java/proguard/proguard-4.5.ebuild b/dev-java/proguard/proguard-4.5.ebuild index 37a87d483852..d2cf182ea8e4 100644 --- a/dev-java/proguard/proguard-4.5.ebuild +++ b/dev-java/proguard/proguard-4.5.ebuild @@ -15,13 +15,11 @@ SRC_URI="mirror://sourceforge/proguard/${MY_P}.tar.gz" LICENSE="GPL-2-with-linking-exception" SLOT="0" KEYWORDS="amd64 x86" -IUSE="ant j2me" +IUSE="ant" -DEPEND=">=virtual/jdk-1.4 - j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )" +DEPEND=">=virtual/jdk-1.4" RDEPEND=">=virtual/jre-1.4 - >=dev-java/ant-core-1.7:0 - j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )" + >=dev-java/ant-core-1.7:0" S=${WORKDIR}/${MY_P} @@ -34,14 +32,12 @@ EANT_BUILD_TARGET="basic" EANT_DOC_TARGET="" src_compile() { - local j2mearg antarg + local antarg use ant && antarg="-Dant.jar=$(java-pkg_getjar ant-core ant.jar)" - use j2me && j2mearg="-Dwtk.jar=$(java-pkg_getjar sun-j2me-bin kenv.zip)" java-pkg-2_src_compile \ - $(use ant && echo anttask ${antarg}) \ - $(use j2me && echo wtkplugin ${j2mearg}) + $(use ant && echo anttask ${antarg}) if use doc; then mkdir javadoc || die diff --git a/dev-java/proguard/proguard-4.8.ebuild b/dev-java/proguard/proguard-4.8.ebuild index c10cdecaa146..cf8bbd6043ec 100644 --- a/dev-java/proguard/proguard-4.8.ebuild +++ b/dev-java/proguard/proguard-4.8.ebuild @@ -15,13 +15,11 @@ SRC_URI="mirror://sourceforge/proguard/${MY_P}.tar.gz" LICENSE="GPL-2-with-linking-exception" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="ant j2me" +IUSE="ant" -DEPEND=">=virtual/jdk-1.4 - j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )" +DEPEND=">=virtual/jdk-1.4" RDEPEND=">=virtual/jre-1.4 - >=dev-java/ant-core-1.7:0 - j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )" + >=dev-java/ant-core-1.7:0" S=${WORKDIR}/${MY_P} @@ -34,14 +32,12 @@ EANT_BUILD_TARGET="basic" EANT_DOC_TARGET="" src_compile() { - local j2mearg antarg + local antarg use ant && antarg="-Dant.jar=$(java-pkg_getjar ant-core ant.jar)" - use j2me && j2mearg="-Dwtk.jar=$(java-pkg_getjar sun-j2me-bin kenv.zip)" java-pkg-2_src_compile \ - $(use ant && echo anttask ${antarg}) \ - $(use j2me && echo wtkplugin ${j2mearg}) + $(use ant && echo anttask ${antarg}) if use doc; then mkdir javadoc || die diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask index 594eb13eebe4..f933a7491fb4 100644 --- a/profiles/base/package.use.mask +++ b/profiles/base/package.use.mask @@ -443,10 +443,6 @@ net-nds/nsscache nssdb # java wrappers fail to build (bug #548858) =app-admin/setools-3.3.8-r7 java -# James Le Cuirot (05 Apr 2015) -# dev-java/sun-j2me-bin is going away. -dev-java/proguard j2me - # Lars Wendler (19 Mar 2015) # >=games-strategy/freeciv-2.5.0 requires >=dev-lang/lua-5.2 games-strategy/freeciv system-lua