summaryrefslogtreecommitdiff
path: root/dev-java/openjdk-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-21 14:39:31 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-21 14:39:31 +0100
commit8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (patch)
tree5633444dd20ea9d65aa8cc4b122715f12b324d16 /dev-java/openjdk-bin
parent4968fd889f69d50cfcab1ffa12e56bdf476d9939 (diff)
gentoo auto-resync : 21:07:2024 - 14:39:30
Diffstat (limited to 'dev-java/openjdk-bin')
-rw-r--r--dev-java/openjdk-bin/Manifest6
-rw-r--r--dev-java/openjdk-bin/openjdk-bin-24_p6_beta.ebuild135
2 files changed, 141 insertions, 0 deletions
diff --git a/dev-java/openjdk-bin/Manifest b/dev-java/openjdk-bin/Manifest
index 7fcd5255447c..c211bcd29c23 100644
--- a/dev-java/openjdk-bin/Manifest
+++ b/dev-java/openjdk-bin/Manifest
@@ -1,5 +1,10 @@
AUX openjdk-bin-8.env.sh 607 BLAKE2B 447575fc213003930ba6d6bbbd7cda0d53f53b16e3679fcb13d219cccf3525c7dfda755c79826b4d3c7b238502ed5ecaf4c8514971e576c756f4fc168fd9a0d2 SHA512 4cfbe2dddc89408824621bbd2036afa2966d550e6e189a8835f78b46fe91305221d8fa46219e9c53c83c9f73d83cdb1208bc78a46b9115041511b97b70abbf1b
AUX openjdk-bin.env.sh 398 BLAKE2B b83d85e2a4e0dbeb24b8c21fb442a8964e55eaf01125cd52f5c930cd67b95b7d1744362cbefe436e4f4115f0b7600860200d8f134b241b6b60ffae6b807b476b SHA512 2c2f753a05154d17a7c324e61d3e4513119050f44d2a8d0aea5c6e2542e9989a955689a97d47fc1d5c710a056f2ccc7b239e3eed3b2d516df6b2aa7450c44613
+DIST OpenJDK-jdk_aarch64_linux_hotspot_24_6-ea.tar.gz 212520258 BLAKE2B 38e66bdbadaa812b15c60fd4d52c19855207e832a50b34a6a78619d423a90a6211aa8315f7ebb6ebb45f85a258db0d80925b223b7602f1c24d832a8568704619 SHA512 509c272320a020cd077a6ff3c0d600f70f6ebd1ad69b00b0e96e58fc7d727ef26f1ee94059f7b3594394f2c884870a6bcfca237212301655bfe16c1acaecd09c
+DIST OpenJDK-jdk_ppc64le_linux_hotspot_24_6-ea.tar.gz 214153451 BLAKE2B aef40a4af20212f156edf4d78033096ecfebe9450cb3b8b19f028625d98cc9afaa22d5c6ebb3c51f58defad5dd26d754013e241a93c16e9d519fd6a9d35f8da6 SHA512 007c32a521b8a3bece215501bc6a686606fbbf4bf143e7c05fe14b36a467acc320b6432bc56082a16be26f68983ab2542a8c3a4f6b69d0759e68b9f20fc8ed65
+DIST OpenJDK-jdk_riscv64_linux_hotspot_24_6-ea.tar.gz 210480800 BLAKE2B 473a1f7288fdeb3af08147e92288cf35e191e3a3d3de817af65bc3407496bcda822afe5264f644286a0aae6a8829275bc2f82b5e53c0f13ffafb962c542cfff0 SHA512 f5e625ed8466660857b5376ff1d8583a15377eaece9715fd2a3f0f9a812f15af718fb19ce7d430ef231bfafaca097218627cdea213fdce5efacb3de8e72c8fd8
+DIST OpenJDK-jdk_x64_alpine-linux_hotspot_24_6-ea.tar.gz 214819598 BLAKE2B 334e42c0ae0cc527dcb35e7272edb18d7e1958e22f57e9a6eba9f1a0ba0322157bf1fa6ee59a975854671260440e65f05ca6d35d7017a7afe1bb91176b7c2e0e SHA512 8b9c4e9018e4482bf8394cdf185223fc72e451eaea5fcb651dcf568a9bbe6cb6d5641b8c14416fd06660b2d306eaec1dea050ffdc0f47891694b1135019fd6db
+DIST OpenJDK-jdk_x64_linux_hotspot_24_6-ea.tar.gz 214637760 BLAKE2B 8f3a7895891297005661c6a5fac93b011a41f96620ab59b5b96098fb12daf7a4f0557e218e049fe9214f8dcfc387b1045b36edb09d5f792357491bbba0ca6a3b SHA512 c1d144cd9b2673c4986b80cb139ff241052800c29f814b6b4f25d17b33d54bde41a1ec0c39f6ae5f68d2745dfb28edb3d5f3c8396bef767f216ed908eec56f9c
DIST OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.23_9.tar.gz 192013902 BLAKE2B 6a4b47b9a3397d3436bd55a16a459a3cab3f8a2a7dc3285b3bde8db13f0e66d5e094803df0c5901a17272e6378161caada6f27845184e2efd17a6761661299c8 SHA512 90e53418efc7c34d7cf0691d566f07a84f02bd2d34cdee0c9c343e27c8d9bfd4d1bf86f104ae33a47274932ab8ba6ec8071a35e7d613129d03e439ae3382452c
DIST OpenJDK11U-jdk_arm_linux_hotspot_11.0.23_9.tar.gz 182785851 BLAKE2B 453ca29859e749a9050f8b6627696ab6d38ee5e83ab69b1d159eb3b7c0bae68104cf68ca21b87123b4fc61059e528ba4ed0ee29fa4759f33a3cf46182f52a48a SHA512 af8ed3659f8ff07f5e5c135d96a7368d326f5b19e3d73077a3fa701716f6e415d4a784ff6c5f81267eb1b3d2e171a688126253f1c3197fc80ea260826ebad5a0
DIST OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.23_9.tar.gz 177453532 BLAKE2B aa98f381f2ac4f208ced4dac4f4b01d20cfd27c8ccc75a0c41db6a57b67ca11d87b8133cb0af96283f646e5e90612f9ad69db5129e6f50518ad2eb0a53c86db1 SHA512 c590fa032593db48531d49977c95d1f884fe751472d927d0d0bc15f36ec35f71ea53c9acafa3dc00c4b25e88d4c18ab590b42f8057a277e16947c3ce31362381
@@ -28,5 +33,6 @@ DIST OpenJDK8U-jdk_x64_mac_hotspot_8u412b08.tar.gz 109506799 BLAKE2B bdf043df0df
EBUILD openjdk-bin-11.0.23_p9.ebuild 3174 BLAKE2B c20c05800f5be936ece355f8f4434e8ef6556f680cd7a784b8e40d601a883ae679e3439c33e8ef1db722db3153833ba0f38858483eb226c3236ea3d2c137e78f SHA512 f8a17638440efd97e0588cbd0079ff6b3cf2f9eac9be21f15c2fb17ff2ba84a74c9321b47c89d2a278aa26d23a7d2329d398ca639566edc36f0265fcc64835d8
EBUILD openjdk-bin-17.0.11_p9.ebuild 3206 BLAKE2B 6d5f39a34005e0eb44836331c1b93a491ee1a6cb78e4a12494626316e1e6813182212c2eeeb480656adc276ff1b3e548ab4b9733f5826ea7b9e51ba469649c99 SHA512 7844a7f79c66356e6a7c5cd18a6793bb4a86a408de72d784c5b888d9facc2aa1706ead137f2a9c140ba00e566c14d0a06389fd9b664aab587307326b1a185311
EBUILD openjdk-bin-21.0.3_p9-r1.ebuild 3246 BLAKE2B 0b6a856283cf4554917afd3579f09dc8514c6b20fb5f663de8a3b4dcb64270c81887d6459428fb8252536df0eb7a3bc1393890f8029aa9ea2a17264f355330ea SHA512 78cf14a399dc8a93f00a0f16d08ce03f1227ad62fa2d37644e380e47dc19e66d157c19c5e7e81d5cbcbfef37bb292fdbca610cad0f7564dfbed7b9260ed1a6d0
+EBUILD openjdk-bin-24_p6_beta.ebuild 3213 BLAKE2B 5907e99efc562257ac4af366a984d33694daf506a99fe7ef328e07d5a2871b447bf26710e561e0a1948f98a10d4f6837dffe494d57c9a5e2223a0da1ff92632c SHA512 b0a8bbeffd3beedb36e70de0bbef005ce3c3a9578c191ce29b52a17c398bdf21e1e84a1f7b27bf16e8115de897fa3b118048afd8bcaf69a41d6dc11a72a4b100
EBUILD openjdk-bin-8.412_p08.ebuild 2927 BLAKE2B f62bab1ebf203a714edec548e16a08a96333012887a9a122d4f3d4801e50f3e9e5aceef1e40ab41f5fa312ef2884ae9547a96d2e8fa058bb1d69ad24abb74a97 SHA512 4712fb05b86e306c764af75252d4fb1201295bfa92817eb646bb793a56708c7655523b703428ca63e5e63d3a40bf77d4266dc8fa6244357702868787385bc0ef
MISC metadata.xml 992 BLAKE2B faf08cbddeb47356eb249430ec21526fbadb95f666be9092a39d26f7167173cff526510c63f920b3891ee2738c915c0cb2319e4737f511f709b721555da2f061 SHA512 1f9fc80bc7bc07a1b6fc3d820368f05f46bcdd818fdba458729ac6c5ae9a55f43a435f9827f6d3986a17d2ef30929723b1f05acfa0017c855dbb3d9cbceda29c
diff --git a/dev-java/openjdk-bin/openjdk-bin-24_p6_beta.ebuild b/dev-java/openjdk-bin/openjdk-bin-24_p6_beta.ebuild
new file mode 100644
index 000000000000..72e3e2f5c768
--- /dev/null
+++ b/dev-java/openjdk-bin/openjdk-bin-24_p6_beta.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-vm-2 toolchain-funcs
+
+abi_uri() {
+ local baseuri="https://github.com/adoptium/temurin$(ver_cut 1)-binaries/releases/download/jdk-${MY_PV1}/"
+ local musl=
+ local os=linux
+
+ case ${2} in
+ *-macos) os=mac ;;
+ *-solaris) os=solaris ;;
+ esac
+
+ if [[ ${3} == musl ]]; then
+ os=alpine-linux
+ musl=true
+ fi
+
+ echo "${2-$1}? (
+ ${musl:+ elibc_musl? ( }
+ ${baseuri}/OpenJDK-jdk_${1}_${os}_hotspot_${MY_PV2//+/_}.tar.gz
+ ${musl:+ ) } )"
+}
+
+MY_PV=${PV/_p/+}
+MY_PV1=${MY_PV/_beta/-ea-beta}
+MY_PV2=${MY_PV1/-beta/}
+
+DESCRIPTION="Prebuilt Java JDK binaries provided by Eclipse Temurin"
+HOMEPAGE="https://adoptium.net"
+SRC_URI="
+ $(abi_uri aarch64 arm64)
+ $(abi_uri ppc64le ppc64)
+ $(abi_uri x64 amd64)
+ $(abi_uri x64 amd64 musl)
+ $(abi_uri riscv64 riscv)
+"
+S="${WORKDIR}/jdk-${MY_PV%_beta}"
+
+LICENSE="GPL-2-with-classpath-exception"
+SLOT=$(ver_cut 1)
+# KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+IUSE="alsa 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
+ elibc_glibc? ( >=sys-libs/glibc-2.2.5:* )
+ elibc_musl? ( sys-libs/musl )
+ sys-libs/zlib
+ alsa? ( media-libs/alsa-lib )
+ cups? ( net-print/cups )
+ selinux? ( sec-policy/selinux-java )
+ !headless-awt? (
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXrender
+ x11-libs/libXtst
+ )
+ )"
+
+RESTRICT="preserve-libs splitdebug"
+QA_PREBUILT="*"
+
+pkg_pretend() {
+ if [[ "$(tc-is-softfloat)" != "no" ]]; then
+ die "These binaries require a hardfloat system."
+ fi
+}
+
+src_unpack() {
+ default
+ if [[ ${A} == *_mac_* ]] ; then
+ mv -v "${S}/Contents/Home/"* "${S}" || die
+ rm -Rf "${S}/Contents" # drop macOS executable
+ fi
+}
+
+src_install() {
+ local dest="/opt/${P}"
+ local ddest="${ED}/${dest#/}"
+
+ # on macOS if they would exist they would be called .dylib, but most
+ # importantly, there are no different providers, so everything
+ # that's shipped works.
+ if [[ ${A} != *_mac_* ]] ; then
+ # Not sure why they bundle this as it's commonly available and they
+ # only do so on x86_64. It's needed by libfontmanager.so. IcedTea
+ # also has an explicit dependency while Oracle seemingly dlopens it.
+ rm -vf lib/libfreetype.so || die
+
+ # prefer system copy # https://bugs.gentoo.org/776676
+ rm -vf lib/libharfbuzz.so || die
+
+ # Oracle and IcedTea have libjsoundalsa.so depending on
+ # libasound.so.2 but AdoptOpenJDK only has libjsound.so. Weird.
+ if ! use alsa ; then
+ rm -v lib/libjsound.* || die
+ fi
+
+ if use headless-awt ; then
+ rm -v lib/lib*{[jx]awt,splashscreen}* || die
+ fi
+ fi
+
+ if ! use source ; then
+ rm -v lib/src.zip || die
+ fi
+
+ rm -v lib/security/cacerts || die
+ dosym -r /etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts
+
+ dodir "${dest}"
+ cp -pPR * "${ddest}" || die
+
+ # provide stable symlink
+ dosym "${P}" "/opt/${PN}-${SLOT}"
+
+ java-vm_install-env "${FILESDIR}"/${PN}.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
+}