From b49088575eb777ced2551f484da86317332d6087 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Jul 2021 02:11:45 +0100 Subject: gentoo resync : 24.07.2021 --- dev-java/jbig2-imageio/Manifest | 3 ++ dev-java/jbig2-imageio/jbig2-imageio-3.0.3.ebuild | 41 +++++++++++++++++++++++ dev-java/jbig2-imageio/metadata.xml | 14 ++++++++ 3 files changed, 58 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/jbig2-imageio') diff --git a/dev-java/jbig2-imageio/Manifest b/dev-java/jbig2-imageio/Manifest new file mode 100644 index 000000000000..9e2a45ad47d1 --- /dev/null +++ b/dev-java/jbig2-imageio/Manifest @@ -0,0 +1,3 @@ +DIST jbig2-imageio-3.0.3-src.zip 2079380 BLAKE2B bb05f81bfdef00b1a0ffcb7a2df2617fe5f5a83957249266917e775ceab57282ee289aedb198c6639201e85df83e89b8cfe8cf2d865fff863d1f2a5acd439721 SHA512 5350b4ce89af72eea5069f6ea5fc830238e4df711712506405aaf0e14546a1b07155b8c5225b47f0d40ce2821032426a2987adbe0df63c536cae4fb319b5c700 +EBUILD jbig2-imageio-3.0.3.ebuild 1321 BLAKE2B 134861334ed032c9b49c63ef69adc8747d7f0be358c4b9d9243bdbabf9d5ca6544684e0420396915d2979284b4b5d56cd415bb01502f5083ddd1f17dd4e2b822 SHA512 427a2e5f7a0d9c861fc94a67223f29c6279e7aa94669de2829d0d327670623243b7d4958cbb9b8d151cd04e7ddadf4a143cd05763d127a2b47c933e1bc03a6bf +MISC metadata.xml 497 BLAKE2B 991d15b62eadd6ae2919d5c22902f08f93d2999c6d29ac670f11c4e21a0da8f9ed04abac1416d603a376b5021818e95c2e21f0a144605a890698a4e9bfff65bf SHA512 b0910a66f6b6bd091e080edf0673783fea45065cefa8ffc967b45f0d06a426275784fa0bc56dbf2839273e404bc5a597c5c2c0a951527c6951711ff52847229d 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