summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2021-06-07 19:56:52 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-07-23 07:48:36 +0200
commit55f714e5f3953542a1974637971208ddd583bc7d (patch)
treeb4b00023bb83ed99c3f4b1b6ddcc03233ef1fc50 /dev-java/jai-imageio-jpeg2000
parentdev-java/jai-imageio-core: new package (diff)
downloadgentoo-55f714e5f3953542a1974637971208ddd583bc7d.tar.gz
gentoo-55f714e5f3953542a1974637971208ddd583bc7d.tar.bz2
gentoo-55f714e5f3953542a1974637971208ddd583bc7d.zip
dev-java/jai-imageio-jpeg2000: new package
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/21564/commits/620255e3828e3ecbbe8a6fb1d5499ad7a69aa9f7 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jai-imageio-jpeg2000')
-rw-r--r--dev-java/jai-imageio-jpeg2000/Manifest1
-rw-r--r--dev-java/jai-imageio-jpeg2000/jai-imageio-jpeg2000-1.4.0.ebuild41
-rw-r--r--dev-java/jai-imageio-jpeg2000/metadata.xml17
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/jai-imageio-jpeg2000/Manifest b/dev-java/jai-imageio-jpeg2000/Manifest
new file mode 100644
index 000000000000..29f1bdc2f670
--- /dev/null
+++ b/dev-java/jai-imageio-jpeg2000/Manifest
@@ -0,0 +1 @@
+DIST jai-imageio-jpeg2000-1.4.0.tar.gz 499964 BLAKE2B 219b53d2264f819ed808495e5c559e8350f965ba100696f28e817ef27cf458fe2b05401957d81a3f4f208f59888a0607b72e4529fdfd37c6763cd1b8da1f2f5d SHA512 6c1129f735d1e6578e8feb233fe5462a62f503979d7afad9942acd749b39714e352df6133fad0b99f4fd84af82de10efbf91196eb0cc9d40c080c9546948f4eb
diff --git a/dev-java/jai-imageio-jpeg2000/jai-imageio-jpeg2000-1.4.0.ebuild b/dev-java/jai-imageio-jpeg2000/jai-imageio-jpeg2000-1.4.0.ebuild
new file mode 100644
index 000000000000..b3b0973e65d6
--- /dev/null
+++ b/dev-java/jai-imageio-jpeg2000/jai-imageio-jpeg2000-1.4.0.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 jai-imageio-jpeg2000-jai-imageio-jpeg2000-1.4.0/pom.xml --download-uri https://github.com/jai-imageio/jai-imageio-jpeg2000/archive/refs/tags/jai-imageio-jpeg2000-1.4.0.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild jai-imageio-jpeg2000-1.4.0.ebuild
+
+EAPI=7
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="com.github.jai-imageio:jai-imageio-jpeg2000:1.4.0"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="JPEG2000 support for Java Advanced Imaging Image I/O Tools API"
+HOMEPAGE="https://github.com/jai-imageio/jai-imageio-jpeg2000"
+SRC_URI="https://github.com/jai-imageio/${PN}/archive/refs/tags/${P}.tar.gz"
+
+LICENSE="Sun-BSD-no-nuclear-2005"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+# Common dependencies
+# POM: ${PN}-${P}/pom.xml
+# com.github.jai-imageio:jai-imageio-core:1.4.0 -> >=dev-java/jai-imageio-core-1.4.0:0
+
+CDEPEND="dev-java/jai-imageio-core:0"
+DEPEND="${CDEPEND}
+ >=virtual/jdk-1.8:*"
+RDEPEND="${CDEPEND}
+ >=virtual/jre-1.8:* "
+
+S="${WORKDIR}"
+
+JAVA_GENTOO_CLASSPATH="jai-imageio-core"
+JAVA_SRC_DIR="${PN}-${P}/src/main/java"
+JAVA_RESOURCE_DIRS="${PN}-${P}/src/main/resources"
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_SRC_DIR="${PN}-${P}/src/test/java"
+JAVA_TEST_RESOURCE_DIRS="${PN}-${P}/src/test/resources"
diff --git a/dev-java/jai-imageio-jpeg2000/metadata.xml b/dev-java/jai-imageio-jpeg2000/metadata.xml
new file mode 100644
index 000000000000..e0cf2ba2bd75
--- /dev/null
+++ b/dev-java/jai-imageio-jpeg2000/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ JPEG2000 support for Java Advanced Imaging Image I/O Tools API core.
+ This module is licensed under the [JJ2000 license](LICENSE.txt) and
+ is therefore NOT compatible with the GPL 3 license. It should be
+ compatible with the LGPL 2.1 license.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">jai-imageio/jai-imageio-jpeg2000</remote-id>
+ <bugs-to>https://github.com/jai-imageio/jai-imageio-jpeg2000/issues</bugs-to>
+ </upstream>
+</pkgmetadata>