</maintainer>
<use>
<flag name="ant">Ant task for using ProGuard in build.xml scripts</flag>
- <flag name="j2me">Adds support for J2ME Wireless Toolkit</flag>
</use>
<upstream>
<remote-id type="sourceforge">proguard</remote-id>
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}
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
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}
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
# java wrappers fail to build (bug #548858)
=app-admin/setools-3.3.8-r7 java
-# James Le Cuirot <chewi@gentoo.org> (05 Apr 2015)
-# dev-java/sun-j2me-bin is going away.
-dev-java/proguard j2me
-
# Lars Wendler <polynomial-c@gentoo.org> (19 Mar 2015)
# >=games-strategy/freeciv-2.5.0 requires >=dev-lang/lua-5.2
games-strategy/freeciv system-lua