dev-java/xz-java: add 1.11

Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Part-of: https://github.com/gentoo/gentoo/pull/44719
Closes: https://github.com/gentoo/gentoo/pull/44719
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Volkmar W. Pogatzki 2025-11-22 09:06:07 +01:00 committed by Miroslav Šulc
parent cd1fceca83
commit bf20baac50
No known key found for this signature in database
GPG Key ID: 65D0F770B26B469C
2 changed files with 45 additions and 0 deletions

View File

@ -1,2 +1,4 @@
DIST xz-java-1.10.zip 179204 BLAKE2B ffe19ed1de7370879bb5c3c3f777e367fff9868c5113a2920c02409e7ab7a325cd03d30ddd2bcc95e1509d2f38723e51eaf21b4aa767792e7a3c9850cd658e36 SHA512 be293545b9510906334ecbc092834599b36abe7498836ab111726a195fd4fc8731d2cb57109b51ac0de7d14da8b59fea7a48aaa2f5c61075b4b16c0e1d4f5579
DIST xz-java-1.10.zip.sig 566 BLAKE2B 4a0e146f9a8ccffbf62d775b6d7c647611464fbf23fe0f0d9fa0f768487c642c1a9277b820af9ebdaeb9cefb3f5bf399a226000622838c81c02747b31158441b SHA512 e9bfe7eb28a6f9d8f7eb4c7620fc1598fe70c08a03fd2bfc5a1183110b0f8539704921f6224de352080cb3b6affb33163fd739503f4e8f279e06533445ebe8a6
DIST xz-java-1.11.zip 179000 BLAKE2B c4ea278062749a41249bba09c30f036b76054fa070181a43d038fb284c66ab7f9f43571e2e806d004361b89dafe15c0d838bf4f488275f22860c46423e057238 SHA512 c808f08c96b0a21fcd3ca4e3840cbb8a3f58da00717d3a5ded2770d020f3ab401e53f30dd6938b01f366ffbbaec1b3b5898f0e711aae3d59b67f9d150dbf4645
DIST xz-java-1.11.zip.sig 566 BLAKE2B 2c22fd2ec327abdf6c86aea6839a251bf94dd5a14a53ee8d7b376b4ded834b65aed1518354d8528c29ef35c95b906555a77a319a222f15511cfc206e18112746 SHA512 3732a8597beff37ce200c96571e6baaa03ac4b0b9b21205878eb22a0cb9bb43218cf2a885c3d73af1e5886827fa5ba180059d728307dfa0c3dac86e3be9bf7d4

View File

@ -0,0 +1,43 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
JAVA_PKG_IUSE="doc examples source"
inherit java-pkg-2 java-pkg-simple verify-sig
DESCRIPTION="Implementation of xz data compression in pure java"
HOMEPAGE="https://tukaani.org/xz/java.html"
SRC_URI="https://tukaani.org/xz/${P}.zip
verify-sig? ( https://tukaani.org/xz/${P}.zip.sig )"
S="${WORKDIR}"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64"
BDEPEND="
app-arch/unzip
verify-sig? ( sec-keys/openpgp-keys-lassecollin )
"
DEPEND=">=virtual/jdk-11:*"
RDEPEND=">=virtual/jre-1.8:*"
DOCS=( {AUTHORS,NEWS,README,THANKS}.md )
JAVA_INTERMEDIATE_JAR_NAME="org.tukaani.xz"
JAVA_RELEASE_SRC_DIRS=( ["9"]="src9" )
JAVA_SRC_DIR="src"
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/lassecollin.asc"
src_prepare() {
java-pkg-2_src_prepare
mkdir demo test || die "mkdir"
mv src/*Demo.java demo || die "mv *Demo"
mv src/TestAllocSpeed.java test || die "mv *Test*"
}
src_install() {
java-pkg-simple_src_install
use examples && java-pkg_doexamples demo/*Demo.java
}