summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-05-30 16:29:22 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-05-31 12:09:54 +0200
commit427e68c33aaceabb48f41b01d6ebc17ada0ed9ce (patch)
treed73c895ab3dddf2412c4ac8977561bdd01a67190 /dev-java
parentnet-wireless/gr-iqbal: Add Python3.12 support (diff)
downloadgentoo-427e68c33aaceabb48f41b01d6ebc17ada0ed9ce.tar.gz
gentoo-427e68c33aaceabb48f41b01d6ebc17ada0ed9ce.tar.bz2
gentoo-427e68c33aaceabb48f41b01d6ebc17ada0ed9ce.zip
dev-java/xz-java: enable module-info
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/36900 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/xz-java/xz-java-1.9-r2.ebuild (renamed from dev-java/xz-java/xz-java-1.9-r1.ebuild)11
1 files changed, 8 insertions, 3 deletions
diff --git a/dev-java/xz-java/xz-java-1.9-r1.ebuild b/dev-java/xz-java/xz-java-1.9-r2.ebuild
index 0b7ed480b07a..8d285914f327 100644
--- a/dev-java/xz-java/xz-java-1.9-r1.ebuild
+++ b/dev-java/xz-java/xz-java-1.9-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,7 +18,7 @@ LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-DEPEND=">=virtual/jdk-1.8:*"
+DEPEND=">=virtual/jdk-11:*"
RDEPEND=">=virtual/jre-1.8:*"
BDEPEND="
@@ -28,10 +28,15 @@ BDEPEND="
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/lassecollin.asc"
-JAVA_SRC_DIR="src/org"
+JAVA_SRC_DIR="src9"
DOCS=( README NEWS COPYING THANKS )
+src_prepare() {
+ java-pkg-2_src_prepare
+ mv src{,9}/org || die
+}
+
src_install() {
java-pkg-simple_src_install
use examples && java-pkg_doexamples src/*Demo.java