summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-11-06 21:48:28 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-11-11 08:38:15 +0100
commit361d9272e35474b75c483ab65c9a4873eaea0676 (patch)
tree1d6eb4da7c5ed897f700ebe80fdd1ddae64ad544 /dev-java
parentsec-keys/openpgp-keys-apache-pdfbox: new package, add 20141029 (diff)
downloadgentoo-361d9272e35474b75c483ab65c9a4873eaea0676.tar.gz
gentoo-361d9272e35474b75c483ab65c9a4873eaea0676.tar.bz2
gentoo-361d9272e35474b75c483ab65c9a4873eaea0676.zip
dev-java/jbig2-imageio: add 3.0.4
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/jbig2-imageio/Manifest2
-rw-r--r--dev-java/jbig2-imageio/jbig2-imageio-3.0.4.ebuild43
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/jbig2-imageio/Manifest b/dev-java/jbig2-imageio/Manifest
index e0b9d8c74615..3f4c44c3eb75 100644
--- a/dev-java/jbig2-imageio/Manifest
+++ b/dev-java/jbig2-imageio/Manifest
@@ -1 +1,3 @@
DIST jbig2-imageio-3.0.3-src.zip 2079380 BLAKE2B bb05f81bfdef00b1a0ffcb7a2df2617fe5f5a83957249266917e775ceab57282ee289aedb198c6639201e85df83e89b8cfe8cf2d865fff863d1f2a5acd439721 SHA512 5350b4ce89af72eea5069f6ea5fc830238e4df711712506405aaf0e14546a1b07155b8c5225b47f0d40ce2821032426a2987adbe0df63c536cae4fb319b5c700
+DIST jbig2-imageio-3.0.4-src.zip 2068836 BLAKE2B 92e1d3e50703c09cb8e22951e403b24531905d31f83f54db08abddb86b3a7a1e206c8d4bf6cf3f41777069158e3268180de09ef7803cbaf7cbc8a67390420971 SHA512 382acb53e0bb56595f7eb8c382369a48a000ced22ff4d101ec89316c749b5afd344c6303a3e6c75b12e949f1efe688e18bd1b8b0b5deb449a581b1c97c35e672
+DIST jbig2-imageio-3.0.4-src.zip.asc 195 BLAKE2B 1790d4435b8924642cc7361cd7555e31a5b8f30d536ade0c1aac0b1f304f55483f3ac720351ac7824e4d2de7f37158a5115d8642cd2c8130207b561d62059a28 SHA512 91e19f12e1de463280b058c3e7de702ab7f1fd6dc6c4e3fcf922e5f9364b49ee347635579dd83afc5ee2d617e117d591333c4e1f7d26e01898f1b8297b78ac70
diff --git a/dev-java/jbig2-imageio/jbig2-imageio-3.0.4.ebuild b/dev-java/jbig2-imageio/jbig2-imageio-3.0.4.ebuild
new file mode 100644
index 000000000000..3ee84526614a
--- /dev/null
+++ b/dev-java/jbig2-imageio/jbig2-imageio-3.0.4.ebuild
@@ -0,0 +1,43 @@
+# 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:jbig2-imageio:${PV}"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple verify-sig
+
+DESCRIPTION="PDFBox JBIG2 ImageIO plugin"
+HOMEPAGE="https://pdfbox.apache.org"
+SRC_URI="https://downloads.apache.org/pdfbox/${PN}/${PV}/${P}-src.zip
+ verify-sig? ( https://downloads.apache.org/pdfbox/${PN}/${PV}/${P}-src.zip.asc )"
+S="${WORKDIR}"
+
+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 )
+"
+DEPEND=">=virtual/jdk-1.8:*"
+RDEPEND=">=virtual/jre-1.8:*"
+
+JAVA_AUTOMATIC_MODULE_NAME="org.apache.pdfbox.jbig2"
+JAVA_RESOURCE_DIRS="${P}/src/main/resources"
+JAVA_SRC_DIR="${P}/src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_RESOURCE_DIRS="${P}/src/test/resources"
+JAVA_TEST_SRC_DIR="${P}/src/test/java"
+
+JAVA_TEST_EXCLUDES=(
+ # org.junit.runners.model.InvalidTestClassError: Invalid test class
+ # 1. Test class should have exactly one public constructor
+ "org.apache.pdfbox.jbig2.util.TestServiceImpl"
+ "org.apache.pdfbox.jbig2.util.TestService"
+)