diff options
author | Yuan Liao <liaoyuan@gmail.com> | 2022-01-16 20:44:28 -0800 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-01-19 10:58:47 +0100 |
commit | f53c9ffdb13eec755adce896187676f7ad5767d7 (patch) | |
tree | 1aba2270c70a3754321ce556ee38f016c49cb1ec /dev-java/glassfish-xmlrpc-api | |
parent | dev-libs/capnproto: 0.9.1 version bump, cmake, EAPI-8 (diff) | |
download | gentoo-f53c9ffdb13eec755adce896187676f7ad5767d7.tar.gz gentoo-f53c9ffdb13eec755adce896187676f7ad5767d7.tar.bz2 gentoo-f53c9ffdb13eec755adce896187676f7ad5767d7.zip |
dev-java/glassfish-xmlrpc-api: Add dependency for Java 11+; EAPI 8
Bug: https://bugs.gentoo.org/831295
Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23859
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/glassfish-xmlrpc-api')
-rw-r--r-- | dev-java/glassfish-xmlrpc-api/glassfish-xmlrpc-api-1.1.1-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-java/glassfish-xmlrpc-api/glassfish-xmlrpc-api-1.1.1-r1.ebuild b/dev-java/glassfish-xmlrpc-api/glassfish-xmlrpc-api-1.1.1-r1.ebuild new file mode 100644 index 000000000000..71dc46ecd5a2 --- /dev/null +++ b/dev-java/glassfish-xmlrpc-api/glassfish-xmlrpc-api-1.1.1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Project GlassFish XML RPC API" +HOMEPAGE="https://glassfish.java.net/" +SRC_URI="https://dev.gentoo.org/~tomwij/files/dist/${P}.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +CP_DEPEND=" + dev-java/jakarta-xml-soap-api:1 + java-virtuals/servlet-api:3.0 +" + +DEPEND=" + >=virtual/jdk-1.8:* + ${CP_DEPEND} +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CP_DEPEND} +" + +JAVA_ANT_REWRITE_CLASSPATH="true" +JAVA_ANT_CLASSPATH_TAGS="javac javadoc" +JAVA_PKG_BSFIX_NAME="maven-build.xml" + +src_install() { + java-pkg_newjar "target/javax.xml.rpc-api-${PV}.jar" + + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/main/java/javax +} |