diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-17 14:06:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-17 14:06:19 +0000 |
commit | fc6e577018dec28e18904f9ad5c1417976e3c728 (patch) | |
tree | d1bffe78e4c3db88c10e85e3efd2f7e2c0e5a156 /dev-java/xalan-serializer | |
parent | e74bddc195533f6d160ee96220f5cfcc205bda1c (diff) |
gentoo auto-resync : 17:01:2024 - 14:06:19
Diffstat (limited to 'dev-java/xalan-serializer')
-rw-r--r-- | dev-java/xalan-serializer/Manifest | 1 | ||||
-rw-r--r-- | dev-java/xalan-serializer/xalan-serializer-2.7.3-r1.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-java/xalan-serializer/Manifest b/dev-java/xalan-serializer/Manifest index 0f51af9bc819..84802700512b 100644 --- a/dev-java/xalan-serializer/Manifest +++ b/dev-java/xalan-serializer/Manifest @@ -1,4 +1,5 @@ DIST xalan-j_2_7_3-src.tar.gz 13686458 BLAKE2B e19373aa22dad13945917d8f041f56e6ff9cc434a70e88b96764e0547a0a122a9197eeb23bb7757a5483beead334f4af62e7e1b70531b23c31199ec4733756ef SHA512 fe4b2b9471f95a2cd3607550a6c97b46b7d2576d1e814305f4564df88aaf4fdc9f88ba43dad4a5741521b2c2f5137e3e70d2d4e31b232d403a66dc1e889c8b6b DIST xalan-j_2_7_3-src.tar.gz.asc 849 BLAKE2B 623fefefa3ab88bfdef5376101f26a9c6602c30a34c0db369159bdb7af34ccb2602011071dd3e79304e6dd4e8b8a198729347f5dbee9a06ae12af12d351de82a SHA512 5c7ed7e71f8a0c2739a64f9ba34edb28d749924d1a581b9963bed3376151a090c2c1af2b1111612822cf20d27a814e22917660f034912e8e5fa913b434e66bf2 +EBUILD xalan-serializer-2.7.3-r1.ebuild 1465 BLAKE2B cac6ac6c335c121849e155f41a52bcc41d936ec0bfa8ba5e59144fb05fd6361d521208e1c19a9c84c288e19d7d426f9c2a514c3bd4d2eac64931911dc553c793 SHA512 4faabb6d05f493a788f459f21cdb5544cb134076b53bcd8985c000fef86469ab29d215ab6a1d59a6aea9a0cd15d93ac1a00450eb7e3250c4f4573b2eef3f571d EBUILD xalan-serializer-2.7.3.ebuild 1457 BLAKE2B 968462d9df0885456672789fb06bc14195c32b35973f1fe18f782bd1b5e8efae4008b18abae5b24a6b123da9be6aba86ae81151372b26dfaee68c60dbc2708ac SHA512 0b1d11f736d2d8373eac0174d11c4f5a72adc6afe4c9f59cb68781688924fdd02eb9435245e6ca24580195890ead42486e5aaa428796197314dd8d171311081b MISC metadata.xml 233 BLAKE2B 2b385ca77219f08b2874b3a4a91a0c836d3cb45ec44b05babb33d590c56ceb5337ecb93a8450a37f8e6bbf4cfc1455892e8142d22e0a1d527d40361e2dce350b SHA512 1acc975a7dc3344bc63282d652ca00d8245970b58353b4fd00f09a4859db3eaba2dcd85e1537d424b7174e4f9c01c2ffb10ec6d107b5c895c9ca20730666de7f diff --git a/dev-java/xalan-serializer/xalan-serializer-2.7.3-r1.ebuild b/dev-java/xalan-serializer/xalan-serializer-2.7.3-r1.ebuild new file mode 100644 index 000000000000..a7d63b1cf700 --- /dev/null +++ b/dev-java/xalan-serializer/xalan-serializer-2.7.3-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="xalan:serializer:2.7.3" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Transforming XML documents into HTML, text, or other XML document types" +HOMEPAGE="https://xalan.apache.org/" +SRC_URI="mirror://apache/xalan/xalan-j/source/xalan-j_${PV//./_}-src.tar.gz + verify-sig? ( https://downloads.apache.org/xalan/xalan-j/source/xalan-j_${PV//./_}-src.tar.gz.asc )" + +S="${WORKDIR}/xalan-j_${PV//./_}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-xalan-j )" +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/xalan-j.apache.org.asc" + +JAVA_MAIN_CLASS="org.apache.xml.serializer.Version" +JAVA_RESOURCE_DIRS="resources" +JAVA_SRC_DIR="src" + +src_prepare() { + java-pkg-2_src_prepare + # kill all non-serializer sources to ease javadocs and dosrc + find src/org/ -type f ! -path "src/org/apache/xml/serializer/*" -delete || die + + # java-pkg-simple.eclass wants resources in JAVA_RESOURCE_DIRS + mkdir -p resources || die + pushd src > /dev/null || die + find org -type f \ + ! -name '*.java' \ + ! -name 'Version.src' \ + ! -name 'package.html' \ + | xargs cp --parent -t ../resources || die + popd > /dev/null || die +} |