dev-java/openjdk-sts-bin: remove package

Nobody is maintaing this, and we already have openjdk:17 in ::gentoo
Final package using EAPI 6

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2022-01-10 13:53:33 +01:00
parent 2a920b8ea0
commit 101977fc33
4 changed files with 0 additions and 147 deletions

View File

@@ -1,4 +0,0 @@
DIST OpenJDK15U-jdk_aarch64_linux_hotspot_15.0.2_7.tar.gz 203662871 BLAKE2B 898073b773eec5c93c02cf234d1c4cc8ca6862756cab191e7cb4455a0fef507516bc8e7f9e8a2793a15c35e5f3f38e2f5456272a827b78a94604fce67eaada25 SHA512 3a8d7d9ef106592a9374e687697d6b934d4372f821c35b4cc94e1b3ceb425094a4e289b118319f60f73d307083090de68b3a8e9a8a04fef32db03df64a9ebf70
DIST OpenJDK15U-jdk_arm_linux_hotspot_15.0.2_7.tar.gz 189527214 BLAKE2B 83284aa6df5a99ad3c64cf7986be49458892448b190ed081136f71af64ea8bcdfb7a2ae29d8f6ba42fd55746df977f66c7315027e1010932d3473721b34258d8 SHA512 8de110a836766bb36fa3d41b95f941ca7f85d4e94f3e3a115cb2b845d6f6efa548e077bcc60d98cc4d84a56a90adf7b98f2ca6bb2ce541253138dd6dd8a7844b
DIST OpenJDK15U-jdk_ppc64le_linux_hotspot_15.0.2_7.tar.gz 188162894 BLAKE2B 7059aced12eea5783c40dd26d2ecd27d0e5999fe9761e6457a82609449b8e58920699d17525ff6d34c327162ec72d2e502ef77ab8b0b721b328fa42bc6c92154 SHA512 e39d870cd3563e3ab60cadf252e5e621be520e6eb49782b39c03ea1d4f750dfbf2857bb636ff274c52235f1c6410d4bfbe5a0aa6231348118d958e104fc6afd5
DIST OpenJDK15U-jdk_x64_linux_hotspot_15.0.2_7.tar.gz 206039221 BLAKE2B a3ed4a2f823556a0a79668a6e68716eb0e08eb57fc0b6000e1e0c016d72f563c576b461829aa80fb5aa69b28b1a61eb8d64dd75f5082c773319d0002eba7ac04 SHA512 4b82e3199e9a6eddadb3cdf3209ca7635dd4664c423a22a404bb69ae43af09cdd2e284246f0c50093ff128ed4a8a89c24c20a0e1d47fa64e0d79b3b5f2234409

View File

@@ -1,16 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
VERSION="AdoptOpenJDK ${PV}"
JAVA_HOME="${EPREFIX}/opt/${P}"
JDK_HOME="${EPREFIX}/opt/${P}"
JAVAC="\${JAVA_HOME}/bin/javac"
PATH="\${JAVA_HOME}/bin"
ROOTPATH="\${JAVA_HOME}/bin"
LDPATH="\${JAVA_HOME}/lib/:\${JAVA_HOME}/lib/server/"
MANPATH=""
PROVIDES_TYPE="JDK JRE"
PROVIDES_VERSION="${SLOT}"
BOOTCLASSPATH=""
GENERATION="2"
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"

View File

@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription lang="en">
Java™ is the world's leading programming language and platform.
The code for Java is open source and available at OpenJDK™.
AdoptOpenJDK provides prebuilt OpenJDK binaries from a fully open source set of build scripts and infrastructure.
</longdescription>
<use>
<flag name="headless-awt">Don't install the X backend for AWT, needed by some GUIs (used to be X flag)</flag>
<flag name="gentoo-vm">Allow this JDK to be recognised by Gentoo (package manager, eselect, java-config, EXPERIMENTAL!)</flag>
<flag name="source">Install JVM sources</flag>
</use>
</pkgmetadata>

View File

@@ -1,112 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# java-vm not yet ported to EAPI 7
EAPI=6
inherit java-vm-2 toolchain-funcs
abi_uri() {
echo "${2-$1}? (
https://github.com/AdoptOpenJDK/openjdk${SLOT}-binaries/releases/download/jdk-${MY_PV}/OpenJDK${SLOT}U-jdk_${1}_linux_hotspot_${MY_PV//+/_}.tar.gz
)"
}
MY_PV=${PV/_p/+}
SLOT=${MY_PV%%[.+]*}
SRC_URI="
$(abi_uri arm)
$(abi_uri aarch64 arm64)
$(abi_uri ppc64le ppc64)
$(abi_uri x64 amd64)
"
DESCRIPTION="Prebuilt Java JDK binaries provided by AdoptOpenJDK. Short Term Supported"
HOMEPAGE="https://adoptopenjdk.net"
LICENSE="GPL-2-with-classpath-exception"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
IUSE="alsa cups gentoo-vm headless-awt source"
RDEPEND="
media-libs/fontconfig:1.0
media-libs/freetype:2
>=sys-apps/baselayout-java-0.1.0-r1
>=sys-libs/glibc-2.29-r7:*
sys-libs/zlib
alsa? ( media-libs/alsa-lib )
cups? ( net-print/cups )
!headless-awt? (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXtst
)"
RESTRICT="preserve-libs splitdebug"
QA_PREBUILT="*"
S="${WORKDIR}/jdk-${MY_PV}"
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#/}"
# 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
# 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
if ! use source ; then
rm -v lib/src.zip || die
fi
rm -v lib/security/cacerts || die
dosym ../../../../etc/ssl/certs/java/cacerts \
"${dest}"/lib/security/cacerts
dodir "${dest}"
cp -pPR * "${ddest}" || die
use gentoo-vm && java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.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
if use gentoo-vm ; then
ewarn "WARNING! You have enabled the gentoo-vm USE flag, making this JDK"
ewarn "recognised by the system. If ${P} is set for system scope"
ewarn "this will almost certainly break"
ewarn "many java ebuilds as they are not ready for ${P}"
ewarn "You may enable it only for desired users via eselect java-vm"
ewarn "Example| larry# eselect java-vm set openjdk-bin-${SLOT}"
else
ewarn "The experimental gentoo-vm USE flag has not been enabled so this JDK"
ewarn "will not be recognised by the system. For example, simply calling"
ewarn "\"java\" will launch a different JVM. This is necessary until Gentoo"
ewarn "fully supports Java 11. This JDK must therefore be invoked using its"
ewarn "absolute location under ${EPREFIX}/opt/${P}."
fi
}