summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-11-06 23:31:03 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-11-11 08:38:17 +0100
commit880f5ea7d72d3b2c2d46cf3efa950ff254e456bc (patch)
tree9967ea6df6e010412c92ad0112ca67b15de942db /dev-java
parentdev-java/fontbox: add 2.0.32 (diff)
downloadgentoo-880f5ea7d72d3b2c2d46cf3efa950ff254e456bc.tar.gz
gentoo-880f5ea7d72d3b2c2d46cf3efa950ff254e456bc.tar.bz2
gentoo-880f5ea7d72d3b2c2d46cf3efa950ff254e456bc.zip
dev-java/xmpbox: add 2.0.32
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/xmpbox/Manifest2
-rw-r--r--dev-java/xmpbox/xmpbox-2.0.32.ebuild57
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/xmpbox/Manifest b/dev-java/xmpbox/Manifest
index f36aea95224a..412af2065364 100644
--- a/dev-java/xmpbox/Manifest
+++ b/dev-java/xmpbox/Manifest
@@ -1 +1,3 @@
DIST pdfbox-2.0.27-src.zip 15770627 BLAKE2B 9f93d597141ff3da39b69da3ce989a0cc7f4020071e5cb1609a8b86d0f12a3219037cb4c7b276acf58ee6b07d842b6d7c76e14fdf79e9efdeac401048e345f89 SHA512 59a5675f5d1d34f092adc019679f7d10e7e93c0f554a002ac29d48cbffcaa600d930309fa94a92191c01ead8da905cbb37ce5e233dcc9b8732a881d4abf75def
+DIST pdfbox-2.0.32-src.zip 17094201 BLAKE2B a48677819bab371d82a956affa8a9b55a8dca2627bb301b56facb4408229639162550c67eccc843b903e28a3f6258db4b0c096c2b40c134c1f0bf6085ff122d0 SHA512 bdad289bda79e78774dd4dedb8b0531f20382038e96232eb6c55508e2187ca3d7512072e87cd293fe6d1b9967d7e6a44f39b09a3af59872bf2f307275a65f546
+DIST pdfbox-2.0.32-src.zip.asc 195 BLAKE2B a3c1f8078ded155bfecca3c15ec8c9ae648ab6dbfa9c023715eabdf72f092920b0c0ddedaafed3fc6a186f05c9880fbaa703eb088b704964ac4bb8bd5dd386e8 SHA512 b6aff86c09f75234c57ae079eff71e098377e27a1b0d55911b2cd466ff74c5d529c9cd45ba20653adae3a9b5f9ecfc3e9d6df0647bae59a7b651f128ef3b39e5
diff --git a/dev-java/xmpbox/xmpbox-2.0.32.ebuild b/dev-java/xmpbox/xmpbox-2.0.32.ebuild
new file mode 100644
index 000000000000..73859c11dc91
--- /dev/null
+++ b/dev-java/xmpbox/xmpbox-2.0.32.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.apache.pdfbox:xmpbox:${PV}"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple verify-sig
+
+DESCRIPTION="An open source Java tool that implements Adobe's XMP(TM) specification"
+HOMEPAGE="https://pdfbox.apache.org"
+SRC_URI="mirror://apache/pdfbox/${PV}/pdfbox-${PV}-src.zip
+ verify-sig? ( https://downloads.apache.org/pdfbox/${PV}/pdfbox-${PV}-src.zip.asc )"
+S="${WORKDIR}/pdfbox-${PV}/${PN}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/pdfbox.apache.org.asc"
+BDEPEND="
+ app-arch/unzip
+ verify-sig? ( sec-keys/openpgp-keys-apache-pdfbox )
+"
+CP_DEPEND="dev-java/jaxb-api:2"
+DEPEND="
+ ${CP_DEPEND}
+ >=virtual/jdk-1.8:*
+"
+RDEPEND="
+ ${CP_DEPEND}
+ >=virtual/jre-1.8:*
+"
+
+JAVA_AUTOMATIC_MODULE_NAME="org.apache.xmpbox"
+JAVA_SRC_DIR="src/main/java"
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_unpack() {
+ if use verify-sig; then
+ verify-sig_verify_detached \
+ "${DISTDIR}/pdfbox-${PV}-src.zip" \
+ "${DISTDIR}/pdfbox-${PV}-src.zip.asc"
+ fi
+ default
+}
+
+JAVA_TEST_EXCLUDES=(
+ # 1) initializationError(org.apache.xmpbox.parser.PropMappingTest)
+ # org.junit.runners.model.InvalidTestClassError: Invalid test class 'org.apache.xmpbox.parser.PropMappingTest':
+ # 1. No runnable methods
+ org.apache.xmpbox.parser.PropMappingTest
+)