diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-02-03 13:38:46 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-02-03 13:38:46 +0000 |
| commit | bd3e7aa03917d3aa1943edbacbd3deb833c12707 (patch) | |
| tree | 58cc0d707960dda5c6f55000ffdda241475aa2e7 /dev-java | |
| parent | 8b9e4732d08bc7692d417d575f0c8f9174305d7c (diff) | |
| download | baldeagleos-repo-bd3e7aa03917d3aa1943edbacbd3deb833c12707.tar.gz baldeagleos-repo-bd3e7aa03917d3aa1943edbacbd3deb833c12707.tar.xz baldeagleos-repo-bd3e7aa03917d3aa1943edbacbd3deb833c12707.zip | |
Adding metadata
Diffstat (limited to 'dev-java')
| -rw-r--r-- | dev-java/ant-core/ant-core-1.10.9-r2.ebuild | 7 | ||||
| -rw-r--r-- | dev-java/msv/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/msv/metadata.xml | 14 | ||||
| -rw-r--r-- | dev-java/msv/msv-20130601.ebuild | 56 | ||||
| -rw-r--r-- | dev-java/stax2-api/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/stax2-api/metadata.xml | 14 | ||||
| -rw-r--r-- | dev-java/stax2-api/stax2-api-4.2.1.ebuild | 35 | ||||
| -rw-r--r-- | dev-java/woodstox-core/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/woodstox-core/metadata.xml | 11 | ||||
| -rw-r--r-- | dev-java/woodstox-core/woodstox-core-6.2.7.ebuild | 106 | ||||
| -rw-r--r-- | dev-java/xerces/Manifest | 2 | ||||
| -rw-r--r-- | dev-java/xerces/metadata.xml | 3 | ||||
| -rw-r--r-- | dev-java/xerces/xerces-2.12.1.ebuild | 42 | ||||
| -rw-r--r-- | dev-java/xerces/xerces-2.12.2.ebuild | 57 |
14 files changed, 302 insertions, 48 deletions
diff --git a/dev-java/ant-core/ant-core-1.10.9-r2.ebuild b/dev-java/ant-core/ant-core-1.10.9-r2.ebuild index d43683dda998..8ff88e179ea9 100644 --- a/dev-java/ant-core/ant-core-1.10.9-r2.ebuild +++ b/dev-java/ant-core/ant-core-1.10.9-r2.ebuild @@ -23,12 +23,9 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -# Some dependencies for building Javadoc are unavailable on these architectures -REQUIRED_USE="doc? ( !arm !arm64 )" - CDEPEND=">=virtual/jdk-1.8:*" DEPEND="${CDEPEND} - doc? ( !arm? ( !arm64? ( + doc? ( dev-java/bcel:0 dev-java/bsf:2.3 dev-java/commons-logging:0 @@ -44,7 +41,7 @@ DEPEND="${CDEPEND} dev-java/xalan:0 dev-java/xml-commons-resolver:0 dev-java/xz-java:0 - ) ) )" + )" RDEPEND="${CDEPEND}" S="${WORKDIR}/${MY_P}" diff --git a/dev-java/msv/Manifest b/dev-java/msv/Manifest new file mode 100644 index 000000000000..875c65d2afd6 --- /dev/null +++ b/dev-java/msv/Manifest @@ -0,0 +1 @@ +DIST msv-core-2013.6.1-sources.jar 1011944 BLAKE2B 474d8a45bc5f16ec76dbe853a835b66cd1d733973ffad0dd5e0a653d349f075e22a72d29d91da312a9a133218f4187ece15fd66b19dc34bc00cdea72b95a5929 SHA512 3985451ff52e50957fdc22ef598edcd7b02495b834a53a048018064d1a6063d4554a7cb5d7752c2d265b852d17c7a55787d9b1ec2b580988ad005fcbc9c6eb8a diff --git a/dev-java/msv/metadata.xml b/dev-java/msv/metadata.xml new file mode 100644 index 000000000000..bd5612c25e95 --- /dev/null +++ b/dev-java/msv/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <longdescription> +The Sun Multi-Schema XML Validator (MSV) is a Java technology tool +to validate XML documents against several kinds of XML schemata. +</longdescription> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/msv/msv-20130601.ebuild b/dev-java/msv/msv-20130601.ebuild new file mode 100644 index 000000000000..031b99a48d22 --- /dev/null +++ b/dev-java/msv/msv-20130601.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV="${PV:4:2}.${PV:6}" +MY_PV="${PV:0:4}.${MY_PV//0}" +JAVA_PKG_IUSE="doc source" +MAVEN_ID="net.java.dev.msv:msv-core:2013.6.1" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Multi-Schema XML Validator, a Java tool for validating XML documents" +HOMEPAGE="https://msv.java.net/" +SRC_URI="https://search.maven.org/remotecontent?filepath=net/java/dev/${PN}/${PN}-core/${MY_PV}/${PN}-core-${MY_PV}-sources.jar" + +LICENSE="BSD Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +CP_DEPEND=" + dev-java/iso-relax:0 + dev-java/relaxng-datatype:0 + dev-java/xml-commons-resolver:0 + dev-java/xsdlib:0" + +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:*" + +RDEPEND="${CP_DEPEND} + dev-java/xerces:2 + >=virtual/jre-1.8:*" + +BDEPEND="app-arch/unzip" + +JAVAC_ARGS="-XDignore.symbol.file" +JAVA_SRC_DIR="." +JAVA_RESOURCE_DIRS="res" + +src_prepare() { + default + mkdir "res" || die + cp -r "com" "res" || die + + # The only resources to have are '*.properties' + find res -type f ! -name '*.properties' -exec rm -rf {} + || die + + sed -e '/resolver.tools.CatalogResolver/s/com.sun.org.apache.xml.internal/org.apache.xml/' \ + -i com/sun/msv/driver/textui/Driver.java || die +} + +src_install() { + java-pkg-simple_src_install + java-pkg_register-dependency xerces-2 + java-pkg_dolauncher "${PN}" --main com.sun.msv.driver.textui.Driver +} diff --git a/dev-java/stax2-api/Manifest b/dev-java/stax2-api/Manifest new file mode 100644 index 000000000000..487d6cb5f013 --- /dev/null +++ b/dev-java/stax2-api/Manifest @@ -0,0 +1 @@ +DIST stax2-api-4.2.1.tar.gz 128806 BLAKE2B 64254b0bbd269e5d62931280773e0e7e7915204ce41a86eb10a08e3d8d27691d48094e17a8deb0ca3fa916b413800d75969af05db1ba897277c0dae13771e3b4 SHA512 f6fada289e75db0c4c911d3f70e8b8167c96342390168c87563ab4e3e1498360d47c393407cd8ae670716fcb7e1c83d6a8d38364d00648ed380844cf08bdc063 diff --git a/dev-java/stax2-api/metadata.xml b/dev-java/stax2-api/metadata.xml new file mode 100644 index 000000000000..2673da8b5680 --- /dev/null +++ b/dev-java/stax2-api/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> + <longdescription> + stax2 API is an extension to basic Stax 1.0 API that adds significant new functionality, such as full-featured bi-direction validation interface and high-performance Typed Access API. + </longdescription> + <upstream> + <bugs-to>https://github.com/FasterXML/stax2-api/issues</bugs-to> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/stax2-api/stax2-api-4.2.1.ebuild b/dev-java/stax2-api/stax2-api-4.2.1.ebuild new file mode 100644 index 000000000000..a12eccf5a5c8 --- /dev/null +++ b/dev-java/stax2-api/stax2-api-4.2.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/FasterXML/stax2-api/archive/refs/tags/stax2-api-4.2.1.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild stax2-api-4.2.1.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.codehaus.woodstox:stax2-api:4.2.1" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="istax2 API is an extension to basic Stax 1.0 API" +HOMEPAGE="https://github.com/FasterXML/stax2-api" +SRC_URI="https://github.com/FasterXML/${PN}/archive/refs/tags/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( README.md release-notes/VERSION ) + +S="${WORKDIR}/${PN}-${P}" + +JAVA_SRC_DIR=( "src/main/java" "src/moditect" ) +JAVA_RESOURCE_DIRS="src/main/resources" + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +} diff --git a/dev-java/woodstox-core/Manifest b/dev-java/woodstox-core/Manifest new file mode 100644 index 000000000000..8b266d854f6e --- /dev/null +++ b/dev-java/woodstox-core/Manifest @@ -0,0 +1 @@ +DIST woodstox-core-6.2.7.tar.gz 5250524 BLAKE2B 3f5be53a459e8999cb53b3e89398bd94439815dd58cc30df7e1b71b9e98ef94b7704d04ae20401d39afff67210e423a4c5a148909a3a7ed750f7e0e24146c24a SHA512 0e2e11607c26d97509708523c4617d9e75fc529fbf5294b25deba5ca570797692e31e65621c77e7c4d9bdf0b3dee4b3c4fe0486a1e23d19dc41035d7d710668e diff --git a/dev-java/woodstox-core/metadata.xml b/dev-java/woodstox-core/metadata.xml new file mode 100644 index 000000000000..e1f2cbe68c83 --- /dev/null +++ b/dev-java/woodstox-core/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> + <upstream> + <bugs-to>https://github.com/FasterXML/woodstox/issues</bugs-to> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/woodstox-core/woodstox-core-6.2.7.ebuild b/dev-java/woodstox-core/woodstox-core-6.2.7.ebuild new file mode 100644 index 000000000000..4d8a00d827c4 --- /dev/null +++ b/dev-java/woodstox-core/woodstox-core-6.2.7.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/FasterXML/woodstox/archive/refs/tags/woodstox-core-6.2.7.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild woodstox-core-6.2.7.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="com.fasterxml.woodstox:woodstox-core:6.2.7" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="An XML processor that implements Stax (JSR-173), SAX2 and Stax2 APIs" +HOMEPAGE="https://github.com/FasterXML/woodstox" +SRC_URI="https://github.com/FasterXML/woodstox/archive/refs/tags/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +# Common dependencies +# POM: pom.xml +# net.java.dev.msv:msv-core:2013.6.1 -> !!!artifactId-not-found!!! +# net.java.dev.msv:xsdlib:2013.6.1 -> >=dev-java/xsdlib-20090415:0 +# org.codehaus.woodstox:stax2-api:4.2.1 -> >=dev-java/stax2-api-4.2.1:0 +# relaxngDatatype:relaxngDatatype:20020414 -> !!!groupId-not-found!!! + +CP_DEPEND=" + dev-java/msv:0 + dev-java/relaxng-datatype:0 + dev-java/stax2-api:0 + dev-java/xsdlib:0 +" + +# Compile dependencies +# POM: pom.xml +# org.apache.felix:org.osgi.core:1.4.0 -> !!!groupId-not-found!!! +# POM: pom.xml +# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.2:4 + +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:* + dev-java/osgi-core-api:0" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +DOCS=( LICENSE {README,SECURITY}.md release-notes/{CREDITS,VERSION} ) + +S="${WORKDIR}/woodstox-${P}" + +JAVA_CLASSPATH_EXTRA="osgi-core-api" +JAVA_SRC_DIR=( "src/main/java" "src/moditect" ) +JAVA_RESOURCE_DIRS="src/main/resources" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" + +JAVA_TEST_EXCLUDES=( + # Upstream: Tests run: 864, Failures: 0, Errors: 0, Skipped: 0 + # "No tests found in ..." + wstxtest.vstream.BaseValidationTest + wstxtest.BaseWstxTest + stax2.vstream.BaseStax2ValidationTest + stax2.BaseStax2Test + stax2.wstream.BaseWriterTest + org.codehaus.stax.test.BaseStaxTest + org.codehaus.stax.test.wstream.BaseWriterTest + org.codehaus.stax.test.stream.BaseStreamTest + # "... has no public constructor" + wstxtest.stream.BaseStreamTest + wstxtest.wstream.BaseWriterTest + stax2.vwstream.BaseOutputTest + org.codehaus.stax.test.vstream.BaseVStreamTest + org.codehaus.stax.test.evt.BaseEventTest + # Upstream does not run these: + failing.TestBasicSax + failing.TestExtLocationInfo91 + failing.TestRelaxNG + failing.TestW3CDefaultValues + failing.TestW3CDefaultValues + failing.TestW3CSchemaComplexTypes + failing.TestW3CSchemaTypes + failing.TestW3CSchemaTypes +) + +src_prepare() { + default + + #rc/moditect/module-info.java:32: error: package com.ctc.wstx.shaded.msv.relaxng_datatype does not exist + # provides com.ctc.wstx.shaded.msv.relaxng_datatype.DatatypeLibraryFactory with com.ctc.wstx.shaded.msv_core.datatype.xsd.ngimpl.DataTypeLibraryImpl; + # ^ + #src/moditect/module-info.java:32: error: package com.ctc.wstx.shaded.msv_core.datatype.xsd.ngimpl does not exist + # provides com.ctc.wstx.shaded.msv.relaxng_datatype.DatatypeLibraryFactory with com.ctc.wstx.shaded.msv_core.datatype.xsd.ngimpl.DataTypeLibraryImpl + sed -e '/com.ctc.wstx.shaded.msv/d' \ + -e '/org.codehaus.stax2.validation/d' \ + -i "src/moditect/module-info.java" || die +} + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +} diff --git a/dev-java/xerces/Manifest b/dev-java/xerces/Manifest index e5aebc17815c..4e618abdbb6b 100644 --- a/dev-java/xerces/Manifest +++ b/dev-java/xerces/Manifest @@ -1,2 +1,2 @@ +DIST Xerces-J-src.2.12.2.tar.gz 1812583 BLAKE2B f1b5928abe2852acc4d554c47aa7cbd81a568e15c8a1fd5ea98dc526c52838b0a50920d2ed807e607b01c875676e54578f1493856b06de5a7ba8784591f7f06f SHA512 e71a692212a974ebfa39af5ffd023b433ece34425b12aceeffe89cebe04f28dd8fa46a131a56f30295dca36de115128a6d7e05172c82f5b85d914cd991f34056 DIST xerces-2.12.0.jar 2113705 BLAKE2B 4224b9c00b9c7f388fc40f3bebe6520a21011f36ee1ffcf62e864fe370bbcac8c45b3627d2aff20655f467661a252e1bfd5cb9613f9bbe5b08f1917d09493fa7 SHA512 21f5218f71b3423a883e2bf5c99f7badd5a004a09454d0b218f57f463daf8fe83e7a186b64dd4c19388795a6e6e995f6ed133bbe4c81aab07b0a0d33cf2f7dbb -DIST xerces-2.12.1.jar 2149927 BLAKE2B b02c518754bcab1da9200122b398496c273a84c07a60945c0eea5524a230f5f4815b619685fc41bf48a124f9147803b9452d5d0105b57d535c9c666c52196571 SHA512 2c4ce274904eda6eb4b0b8800dc8383bc6504e215eb9603c45a25c32335651c8ea4d69539b984c048c1974d2aed3d852fff168eb44e2a9b1087ded578394b849 diff --git a/dev-java/xerces/metadata.xml b/dev-java/xerces/metadata.xml index 49cdfe9682e8..2955353101e6 100644 --- a/dev-java/xerces/metadata.xml +++ b/dev-java/xerces/metadata.xml @@ -5,6 +5,9 @@ <email>java@gentoo.org</email> <name>Java</name> </maintainer> + <longdescription> + Xerces2 provides high performance, fully compliant XML parsers in the Apache Xerces family. This new version of Xerces continues to build upon the Xerces Native Interface (XNI), a complete framework for building parser components and configurations that is extremely modular and easy to program. The Apache Xerces2 parser is the reference implementation of XNI but other parser components, configurations, and parsers can be written using the Xerces Native Interface. For complete design and implementation documents, refer to the XNI Manual. Xerces2 provides fully conforming XML Schema 1.0 and 1.1 processors. An experimental implementation of the "XML Schema Definition Language (XSD): Component Designators (SCD) Candidate Recommendation (January 2010)" is also provided for evaluation. For more information, refer to the XML Schema page. Xerces2 also provides a complete implementation of the Document Object Model Level 3 Core and Load/Save W3C Recommendations and provides a complete implementation of the XML Inclusions (XInclude) W3C Recommendation. It also provides support for OASIS XML Catalogs v1.1. Xerces2 is able to parse documents written according to the XML 1.1 Recommendation, except that it does not yet provide an option to enable normalization checking as described in section 2.13 of this specification. It also handles namespaces according to the XML Namespaces 1.1 Recommendation, and will correctly serialize XML 1.1 documents if the DOM level 3 load/save APIs are in use. + </longdescription> <upstream> <remote-id type="cpe">cpe:/a:apache:xerces-j</remote-id> </upstream> diff --git a/dev-java/xerces/xerces-2.12.1.ebuild b/dev-java/xerces/xerces-2.12.1.ebuild deleted file mode 100644 index 0d5e000fae02..000000000000 --- a/dev-java/xerces/xerces-2.12.1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" -MAVEN_ID="xerces:xercesImpl:2.12.1" - -inherit java-pkg-2 java-pkg-simple - -MY_PN="xercesImpl" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Xerces Java XML parser" -HOMEPAGE="https://xerces.apache.org/xerces2-j/index.html" -SRC_URI="https://repo1.maven.org/maven2/xerces/${MY_PN}/${PV}/${MY_P}-sources.jar -> ${P}.jar" - -LICENSE="Apache-2.0" -SLOT="2" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -CDEPEND="dev-java/xml-commons-resolver:0" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-11:*" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-11:*" - -JAVA_SRC_DIR="org" - -JAVA_GENTOO_CLASSPATH="xml-commons-resolver" - -S="${WORKDIR}" - -src_prepare() { - default - - rm -rv "org/w3c" || die -} diff --git a/dev-java/xerces/xerces-2.12.2.ebuild b/dev-java/xerces/xerces-2.12.2.ebuild new file mode 100644 index 000000000000..3f22459212e4 --- /dev/null +++ b/dev-java/xerces/xerces-2.12.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="xerces:xercesImpl:2.12.2" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Xerces Java XML parser" +HOMEPAGE="https://xerces.apache.org/xerces2-j/index.html" +SRC_URI="mirror://apache/xerces/j/source/Xerces-J-src.2.12.2.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +CP_DEPEND=" + dev-java/xml-commons-external:1.4 + dev-java/xml-commons-resolver:0" + +# JDK 11+ already privides the following file and the compilation +# fails if xerces provides it too. On contrary, compilation on 1.8 +# fails if we don't provide the file because it's not part of 1.8. +# By restricting compilation to 1.8 and providing the file we build +# a jar that should work both on 1.8 and also on the newer versions +# of JDK. +# the file: "org/w3c/dom/html/HTMLDOMImplementation.class" +DEPEND=" + ${CP_DEPEND} + virtual/jdk:1.8" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.8:*" + +DOCS=( LICENSE NOTICE README {LICENSE.resolver,LICENSE.serializer,NOTICE.resolver,NOTICE.serializer}.txt ) +HTML_DOCS=( {LICENSE.DOM-documentation,LICENSE.DOM-software,LICENSE-SAX,Readme}.html ) + +S="${WORKDIR}/${P//./_}" + +JAVA_SRC_DIR="src" +JAVA_RESOURCE_DIRS="resources" + +src_prepare() { + default + mkdir "${JAVA_RESOURCE_DIRS}" || die + cp -r "${JAVA_SRC_DIR}/org" "${JAVA_RESOURCE_DIRS}" || die + find "${JAVA_RESOURCE_DIRS}" -type f -name '*.java' -exec rm -rf {} + || die + rm "${JAVA_RESOURCE_DIRS}"/org/apache/xerces/{dom/org.apache.xerces.dom.DOMImplementationSourceImpl,xs/datatypes/package.html,parsers/org*} || die +} + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +} |
