summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/zxing-javase')
-rw-r--r--dev-java/zxing-javase/Manifest1
-rw-r--r--dev-java/zxing-javase/metadata.xml11
-rw-r--r--dev-java/zxing-javase/zxing-javase-3.5.1.ebuild37
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-java/zxing-javase/Manifest b/dev-java/zxing-javase/Manifest
new file mode 100644
index 000000000000..e80a49af97f5
--- /dev/null
+++ b/dev-java/zxing-javase/Manifest
@@ -0,0 +1 @@
+DIST zxing-3.5.1.tar.gz 132915650 BLAKE2B f749de7db35f3ce56d80fb1aa547e65d57425a1d1e20dfd9b40e02e24c52e6f488ca26bf8e0217b7d65677441578bf67439ad3a1fca3155ab35598b6d9833ece SHA512 8c093e5b8e4d2cd01e8979b5e9f788ac32a8d0bb49f3c7ad42044e95bb4a352e66e2802f11ad7429ed6ba140b360c596f389cd721521b84a5a93918df19285de
diff --git a/dev-java/zxing-javase/metadata.xml b/dev-java/zxing-javase/metadata.xml
new file mode 100644
index 000000000000..d915f211153b
--- /dev/null
+++ b/dev-java/zxing-javase/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-javase/zxing-javase-3.5.1.ebuild b/dev-java/zxing-javase/zxing-javase-3.5.1.ebuild
new file mode 100644
index 000000000000..71d865b48108
--- /dev/null
+++ b/dev-java/zxing-javase/zxing-javase-3.5.1.ebuild
@@ -0,0 +1,37 @@
+# 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:javase: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"
+
+CP_DEPEND="
+ dev-java/jcommander:0
+ dev-java/zxing-core:3
+"
+DEPEND="
+ ${CP_DEPEND}
+ >=virtual/jdk-1.8:*
+"
+RDEPEND="
+ ${CP_DEPEND}
+ >=virtual/jre-1.8:*
+"
+
+S="${WORKDIR}/zxing-zxing-${PV}/javase"
+
+JAVA_AUTOMATIC_MODULE_NAME="com.google.zxing.javase"
+JAVA_SRC_DIR="src/main/java"
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_SRC_DIR="src/test/java"