summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValérian Rousset <tharvik@users.noreply.github.com>2023-03-10 19:09:24 +0100
committerSam James <sam@gentoo.org>2023-05-20 10:21:46 +0100
commit833fbf989847d687cdf8a1eea6cbb3b30cd0b61b (patch)
tree8202e691639ff677a30556415037f1bcd925e7c3 /dev-java/zxing-core
parentdev-java/minidns-core: new package, add 1.0.4 (diff)
downloadgentoo-833fbf989847d687cdf8a1eea6cbb3b30cd0b61b.tar.gz
gentoo-833fbf989847d687cdf8a1eea6cbb3b30cd0b61b.tar.bz2
gentoo-833fbf989847d687cdf8a1eea6cbb3b30cd0b61b.zip
dev-java/zxing-core: new package, add 3.5.1
Signed-off-by: Valérian Rousset <tharvik@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-java/zxing-core')
-rw-r--r--dev-java/zxing-core/Manifest1
-rw-r--r--dev-java/zxing-core/metadata.xml11
-rw-r--r--dev-java/zxing-core/zxing-core-3.5.1.ebuild33
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/zxing-core/Manifest b/dev-java/zxing-core/Manifest
new file mode 100644
index 000000000000..e80a49af97f5
--- /dev/null
+++ b/dev-java/zxing-core/Manifest
@@ -0,0 +1 @@
+DIST zxing-3.5.1.tar.gz 132915650 BLAKE2B f749de7db35f3ce56d80fb1aa547e65d57425a1d1e20dfd9b40e02e24c52e6f488ca26bf8e0217b7d65677441578bf67439ad3a1fca3155ab35598b6d9833ece SHA512 8c093e5b8e4d2cd01e8979b5e9f788ac32a8d0bb49f3c7ad42044e95bb4a352e66e2802f11ad7429ed6ba140b360c596f389cd721521b84a5a93918df19285de
diff --git a/dev-java/zxing-core/metadata.xml b/dev-java/zxing-core/metadata.xml
new file mode 100644
index 000000000000..d915f211153b
--- /dev/null
+++ b/dev-java/zxing-core/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">zxing/zxing</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/zxing-core/zxing-core-3.5.1.ebuild b/dev-java/zxing-core/zxing-core-3.5.1.ebuild
new file mode 100644
index 000000000000..c7971ce79170
--- /dev/null
+++ b/dev-java/zxing-core/zxing-core-3.5.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="com.google.zxing:core:3.5.1"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Core barcode encoding/decoding library"
+HOMEPAGE="https://github.com/zxing/zxing/core"
+SRC_URI="https://github.com/zxing/zxing/archive/zxing-${PV}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="3"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=virtual/jdk-1.8:*"
+RDEPEND=">=virtual/jre-1.8:*"
+
+S="${WORKDIR}/zxing-zxing-${PV}/core"
+
+JAVA_AUTOMATIC_MODULE_NAME="com.google.zxing"
+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"
+JAVA_TEST_EXCLUDES=(
+ # not runnable
+ com.google.zxing.common.TestResult
+ com.google.zxing.oned.rss.expanded.TestCaseUtil
+)