diff options
author | Robert Greener <dev@greener.sh> | 2024-04-18 20:27:31 +0100 |
---|---|---|
committer | Robert Greener <dev@greener.sh> | 2024-04-18 20:27:31 +0100 |
commit | 630bfa8e777c54f05182b41c24c3dcdf05367d48 (patch) | |
tree | 2bf433b8a4366b623e85f35b8fc7783c93538398 /dev-java/corretto-bin | |
parent | dev-java/corretto-bin: version 22.0.0.37.1 fix QA issues (diff) | |
download | guru-630bfa8e777c54f05182b41c24c3dcdf05367d48.tar.gz guru-630bfa8e777c54f05182b41c24c3dcdf05367d48.tar.bz2 guru-630bfa8e777c54f05182b41c24c3dcdf05367d48.zip |
dev-java/corretto-bin: new version 8.412.08.1
Signed-off-by: Robert Greener <dev@greener.sh>
Diffstat (limited to 'dev-java/corretto-bin')
-rw-r--r-- | dev-java/corretto-bin/Manifest | 1 | ||||
-rw-r--r-- | dev-java/corretto-bin/corretto-bin-8.412.08.1.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/dev-java/corretto-bin/Manifest b/dev-java/corretto-bin/Manifest index 21e2702da..e73450562 100644 --- a/dev-java/corretto-bin/Manifest +++ b/dev-java/corretto-bin/Manifest @@ -3,3 +3,4 @@ DIST amazon-corretto-17.0.10.8.1-linux-x64.tar.gz 193714285 BLAKE2B 35184de6bfc2 DIST amazon-corretto-21.0.2.14.1-linux-x64.tar.gz 209399162 BLAKE2B 8778c7ae7a8588b3a4dd58d5e3c18ca8931b5d4e32c4f308c0f765df7140232d7c800708859d86a66a58275a517edd461c16457159de5ca362d51728559bcd46 SHA512 14264809f297d42163c2c55c827b16eba058c39a36d5e92589419cccf66187b59225b08a8623f556d1febdeedbb2a47975b655b8bd816483d2862c7c44ef0470 DIST amazon-corretto-22.0.0.37.1-linux-x64.tar.gz 207737618 BLAKE2B 4f7cf43d4de10a44fec207fee62050948cefd532409bfc9122a007aa5a1a9deaf36e919d5773c43be15a3b731936134ee94104702780ec887efc0a43bc4cc781 SHA512 8a4ef82a33cee41b0fd782c9252bc944fa2a10c220e873699276857a32d618a5b4ad2053a06c377d211b691b793125d2c858b3773deaf6dc8a5babe50d05b969 DIST amazon-corretto-8.402.08.1-linux-x64.tar.gz 118079903 BLAKE2B 5b1ffcabe40e1d6046842a27a65014b055e2dc64736ea9359a74166b68a8435803ce745de7d4bd0d84deaa686c10b4a5d41b9cbb21bc2a0d6542e09042216169 SHA512 4584c80690a1c03fef4764be98ecc808ec1283bed687c0bfc9fc0a6d08d30885ec59aea8a19d0a18bde5ffb33527427c3b8cd41c795a75609514de198c76db76 +DIST amazon-corretto-8.412.08.1-linux-x64.tar.gz 118088115 BLAKE2B e0a5e6de7985900514a22f14795966e161719db39259f55576a0172e133057837c713f823e59b29b1e81b236b69a3ce76e6ed7e3cd27745d6b4148b2b4e8af8a SHA512 48b0a5420d6f18d6bbb74ee8a14069d102c4e9bdc04b0818aa42e0ce345b39871762b6ba1b13322c829049897a79e9a8105637f317317fca9debf0b79d27c645 diff --git a/dev-java/corretto-bin/corretto-bin-8.412.08.1.ebuild b/dev-java/corretto-bin/corretto-bin-8.412.08.1.ebuild new file mode 100644 index 000000000..d5a1029ad --- /dev/null +++ b/dev-java/corretto-bin/corretto-bin-8.412.08.1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-vm-2 toolchain-funcs + +MY_PV=${PV/_p/+} + +DESCRIPTION="Prebuilt Java JDK binaries provided by Amazon Web Services" +HOMEPAGE="https://aws.amazon.com/corretto" + +SRC_URI=" + https://corretto.aws/downloads/resources/${PV}/amazon-corretto-${PV}-linux-x64.tar.gz +" + +S="${WORKDIR}/amazon-corretto-${MY_PV}-linux-x64" +LICENSE="GPL-2-with-classpath-exception" +SLOT=$(ver_cut 1) +KEYWORDS="~amd64" +IUSE="cups headless-awt selinux source" + +RDEPEND=" + >=sys-apps/baselayout-java-0.1.0-r1 + kernel_linux? ( + media-libs/fontconfig:1.0 + media-libs/freetype:2 + media-libs/harfbuzz + media-libs/alsa-lib + media-libs/libglvnd + elibc_glibc? ( >=sys-libs/glibc-2.2.5:* ) + elibc_musl? ( sys-libs/musl ) + sys-libs/zlib + cups? ( net-print/cups ) + selinux? ( sec-policy/selinux-java ) + !headless-awt? ( + app-accessibility/at-spi2-core + x11-libs/gtk+:2 + x11-libs/gdk-pixbuf + x11-libs/libXxf86vm + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXi + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango + ) + )" + +RESTRICT="preserve-libs splitdebug" +QA_PREBUILT="*" + +pkg_pretend() { + if [[ "$(tc-is-softfloat)" != "no" ]]; then + die "These binaries require a hardfloat system." + fi +} + +src_install() { + local dest="/opt/${P}" + local ddest="${ED}/${dest#/}" + + if use headless-awt ; then + rm -v lib/amd64/libjawt.so || die + rm -v lib/amd64/libglassgtk.so || die + rm -v lib/amd64/libjavafx_font_pango.so || die + rm -v jre/lib/amd64/libglassgtk2.so || die + rm -v jre/lib/amd64/libprism_es2.so || die + fi + + if ! use source ; then + rm -v src.zip || die + fi + + dodir "${dest}" + cp -pPR * "${ddest}" || die + + # provide stable symlink + dosym "${P}" "/opt/${PN}-${SLOT}" + + java-vm_install-env "${FILESDIR}"/${PN}-8.env.sh + java-vm_set-pax-markings "${ddest}" + java-vm_revdep-mask + java-vm_sandbox-predict /dev/random /proc/self/coredump_filter +} + +pkg_postinst() { + java-vm-2_pkg_postinst +} |