From 30d28727f22b4a326891b721b8f21083521762b6 Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Mon, 7 Jun 2021 14:57:08 +0200 Subject: dev-java/jbig2-imageio: new package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki Closes: https://github.com/gentoo/gentoo/pull/21564/commits/ab54c675b7c5764b9094edb64f945a556a89ebda Signed-off-by: Miroslav Ć ulc --- dev-java/jbig2-imageio/Manifest | 1 + dev-java/jbig2-imageio/jbig2-imageio-3.0.3.ebuild | 41 +++++++++++++++++++++++ dev-java/jbig2-imageio/metadata.xml | 14 ++++++++ 3 files changed, 56 insertions(+) create mode 100644 dev-java/jbig2-imageio/Manifest create mode 100644 dev-java/jbig2-imageio/jbig2-imageio-3.0.3.ebuild create mode 100644 dev-java/jbig2-imageio/metadata.xml (limited to 'dev-java') diff --git a/dev-java/jbig2-imageio/Manifest b/dev-java/jbig2-imageio/Manifest new file mode 100644 index 000000000000..e0b9d8c74615 --- /dev/null +++ b/dev-java/jbig2-imageio/Manifest @@ -0,0 +1 @@ +DIST jbig2-imageio-3.0.3-src.zip 2079380 BLAKE2B bb05f81bfdef00b1a0ffcb7a2df2617fe5f5a83957249266917e775ceab57282ee289aedb198c6639201e85df83e89b8cfe8cf2d865fff863d1f2a5acd439721 SHA512 5350b4ce89af72eea5069f6ea5fc830238e4df711712506405aaf0e14546a1b07155b8c5225b47f0d40ce2821032426a2987adbe0df63c536cae4fb319b5c700 diff --git a/dev-java/jbig2-imageio/jbig2-imageio-3.0.3.ebuild b/dev-java/jbig2-imageio/jbig2-imageio-3.0.3.ebuild new file mode 100644 index 000000000000..f6ba1cf47e0c --- /dev/null +++ b/dev-java/jbig2-imageio/jbig2-imageio-3.0.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom jbig2-imageio-3.0.3/pom.xml --download-uri https://downloads.apache.org/pdfbox/jbig2-imageio/3.0.3/jbig2-imageio-3.0.3-src.zip --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild jbig2-imageio-3.0.3.ebuild + +EAPI=7 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.apache.pdfbox:jbig2-imageio:3.0.3" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="PDFBox JBIG2 ImageIO plugin" +HOMEPAGE="https://pdfbox.apache.org" +SRC_URI="https://downloads.apache.org/pdfbox/${PN}/${PV}/${P}-src.zip" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" +BDEPEND="app-arch/unzip" + +S="${WORKDIR}" + +JAVA_SRC_DIR="${P}/src/main/java" +JAVA_RESOURCE_DIRS="${P}/src/main/resources" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="${P}/src/test/java" +JAVA_TEST_RESOURCE_DIRS="${P}/src/test/resources" + +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" +) diff --git a/dev-java/jbig2-imageio/metadata.xml b/dev-java/jbig2-imageio/metadata.xml new file mode 100644 index 000000000000..22254bd7257b --- /dev/null +++ b/dev-java/jbig2-imageio/metadata.xml @@ -0,0 +1,14 @@ + + + + + java@gentoo.org + + + Java Image I/O plugin for reading JBIG2-compressed image data. + Formerly known as the levigo JBig2 ImageIO plugin (com.levigo.jbig2:levigo-jbig2-imageio). + + + apache/pdfbox-jbig2 + + -- cgit v1.2.3-65-gdbad