summaryrefslogtreecommitdiff
path: root/dev-java/xmpbox
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-12 03:02:41 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-12 03:02:41 +0000
commit51be8f45b17e3da3ac48eca6b16b703bb58fda76 (patch)
treebc6f18bc4913276cff3f8c2f2ec357f9026c602c /dev-java/xmpbox
parent0ab98a20dbfb8c64ab93e02280abb4ff18652ae0 (diff)
gentoo auto-resync : 12:11:2024 - 03:02:41
Diffstat (limited to 'dev-java/xmpbox')
-rw-r--r--dev-java/xmpbox/Manifest3
-rw-r--r--dev-java/xmpbox/xmpbox-2.0.32.ebuild57
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-java/xmpbox/Manifest b/dev-java/xmpbox/Manifest
index 3633b3cdf49d..3fcf3a50c5e0 100644
--- a/dev-java/xmpbox/Manifest
+++ b/dev-java/xmpbox/Manifest
@@ -1,3 +1,6 @@
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
EBUILD xmpbox-2.0.27.ebuild 1613 BLAKE2B df307b857da11e25ed5498ee8fb170cd3cd3052dd91cf2240e19d9a04d6450e3fb4f80751c5645b210168922061d0e14e8b824fe5202d1cf6a9a9168ec1def79 SHA512 dc9531d8cf755f818eee522c449f2ab56abe4dc83fc7e84ce6efb3e72ae37e06e9b829e108ae71d0271df12f14c024e9959f4bd4f956c35bcf5de7ab49e3f062
+EBUILD xmpbox-2.0.32.ebuild 1550 BLAKE2B 28d26b135218bed14c3efa65e45e075b21983e91b1a80b12b31640aadc7cac40f7b22b65a97eb00eb09018fcb4721c325a05b47334d930029ee6c3d91ef8e430 SHA512 ecf36d9f98158f6f5a3c700ef5cb7fbd770ca1cb86437c3168da13f84962060a6e48dd24f0cd5f1ab443ceecfb8f1f1c0a75c5c00eb8af8880296baf4b112291
MISC metadata.xml 597 BLAKE2B af69fd45c044a79514701234978475dbd127d305667a831a88ef2ba2fc2e8fe903c77ddfa7e179466e004467da1002cc56f310628c1e69adbcfa40fbe485110b SHA512 baf1c43dc731ac2cc2f5a6e099b4334f06d352d1324e78b1cea4b3d839c55ca36cf368b6cf4f6b5bb41fb0be9c35e1c41546ff93141e7316d84ff9f94074efa9
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
+)