1 |
commit: 4da7fd1fc1504d6739db7e8885904fda58e2be46 |
2 |
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> |
3 |
AuthorDate: Fri Feb 25 20:45:31 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 26 02:32:38 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da7fd1f |
7 |
|
8 |
dev-java/xpp3: Restrict to virtual/jdk:1.8 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/831709 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/24348 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
dev-java/xpp3/xpp3-1.1.4c-r6.ebuild | 35 +++++++++++++++++++++++++++++++++++ |
17 |
1 file changed, 35 insertions(+) |
18 |
|
19 |
diff --git a/dev-java/xpp3/xpp3-1.1.4c-r6.ebuild b/dev-java/xpp3/xpp3-1.1.4c-r6.ebuild |
20 |
new file mode 100644 |
21 |
index 000000000000..3b9eb1d77ff8 |
22 |
--- /dev/null |
23 |
+++ b/dev-java/xpp3/xpp3-1.1.4c-r6.ebuild |
24 |
@@ -0,0 +1,35 @@ |
25 |
+# Copyright 1999-2022 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=8 |
29 |
+ |
30 |
+JAVA_PKG_IUSE="doc source" |
31 |
+MAVEN_ID="xpp3:xpp3:1.1.4c" |
32 |
+ |
33 |
+inherit java-pkg-2 java-pkg-simple |
34 |
+ |
35 |
+DESCRIPTION="An implementation of XMLPULL V1 API" |
36 |
+HOMEPAGE="https://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/index.html" |
37 |
+SRC_URI="https://repo1.maven.org/maven2/${PN}/${PN}/${PV}/${P}-sources.jar -> ${P}.jar" |
38 |
+ |
39 |
+LICENSE="Apache-1.1 IBM JDOM LGPL-2.1+" |
40 |
+SLOT="0" |
41 |
+ |
42 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
43 |
+ |
44 |
+# Restriction to java 1.8 |
45 |
+# Otherwise jdk 11+ would fail to build javadoc: |
46 |
+# ./javax/xml/namespace/QName.java:55: error: package exists in another module: java.xml |
47 |
+# package javax.xml.namespace; |
48 |
+# ^ |
49 |
+# 1 error |
50 |
+RDEPEND=">=virtual/jre-1.8:*" |
51 |
+DEPEND="virtual/jdk:1.8" |
52 |
+ |
53 |
+JAVA_RESOURCE_DIRS="resources" |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ default |
57 |
+ mkdir "resources" || die |
58 |
+ cp -r "META-INF" "resources" || die |
59 |
+} |