summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2022-09-23 19:01:50 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-11-10 10:26:31 +0100
commit4d5f49e50585cdeddce6812478e2d22856a47dc3 (patch)
tree80ed7e09d1e5b99e8d9a269b7aada0f1466db438 /dev-java/lzma
parentdev-java/byte-buddy: add 1.12.18 (diff)
downloadgentoo-4d5f49e50585cdeddce6812478e2d22856a47dc3.tar.gz
gentoo-4d5f49e50585cdeddce6812478e2d22856a47dc3.tar.bz2
gentoo-4d5f49e50585cdeddce6812478e2d22856a47dc3.zip
dev-java/lzma: add 22.01
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/27411 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java/lzma')
-rw-r--r--dev-java/lzma/Manifest1
-rw-r--r--dev-java/lzma/lzma-22.01.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-java/lzma/Manifest b/dev-java/lzma/Manifest
index 99d89fc6e027..3011ae25a902 100644
--- a/dev-java/lzma/Manifest
+++ b/dev-java/lzma/Manifest
@@ -1 +1,2 @@
+DIST lzma-22.01.7z 1261282 BLAKE2B 31bfa505626c6d22f84562d927cb8b7f0c6f9d7cfe9e38f49b33866957ad81f7bd1e6fb7b02a3e001edf9d64fc499b396e73738585e7d3a29fcd7d41dc65d1d7 SHA512 83e320242a51cb37caefd386a5768e64c6872101fd3c3cf4d3318bf834d27e84d8a92e3252987520a578b19ce3e2cddcbf9e10b909f5263c5cdc0710c2f26797
DIST lzma1900.7z 1082692 BLAKE2B 88aca3f3225d589c9b1b0fbf4c196db8e6e8df362f926736a45e1f80d302c132b25537203b0a903da9de5f3b0398b10901f126cf6905fcbdf0a57ee894e74b6d SHA512 60532483249d86960d5c481dc88ebeafabb7e435afb6188bc26f38177b8534ef3da83317d6920d99103d4f10a8dcdb624489ea5ddad8e0c8732bab1bb4ebd7eb
diff --git a/dev-java/lzma/lzma-22.01.ebuild b/dev-java/lzma/lzma-22.01.ebuild
new file mode 100644
index 000000000000..def9de791338
--- /dev/null
+++ b/dev-java/lzma/lzma-22.01.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java code for LZMA compression and decompression"
+HOMEPAGE="https://7-zip.org/"
+SRC_URI="https://7-zip.org/a/lzma${PV/./}.7z -> ${P}.7z"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND=">=virtual/jre-1.8:*"
+DEPEND=">=virtual/jdk-1.8:*"
+BDEPEND="app-arch/p7zip"
+
+S="${WORKDIR}/Java"
+
+JAVA_SRC_DIR="SevenZip"
+
+src_unpack() {
+ 7z x "${DISTDIR}/lzma-${PV}.7z" || "unpack failed"
+}