extra/java-openjdk to 15.0.2.u7-1

This commit is contained in:
Kevin Mihelich 2021-01-30 01:26:10 +00:00
parent 17c7f292ba
commit f6b6507df5

View file

@ -23,8 +23,8 @@ pkgbase=java-openjdk
pkgname=('jre-openjdk-headless' 'jre-openjdk' 'jdk-openjdk' 'openjdk-src')
_majorver=15
_minorver=0
_securityver=1
_updatever=9
_securityver=2
_updatever=7
pkgrel=1
pkgver=${_majorver}.${_minorver}.${_securityver}.u${_updatever}
_hg_tag=jdk-${_majorver}.${_minorver}.${_securityver}+${_updatever}
@ -34,12 +34,12 @@ license=('custom')
makedepends=('java-environment>=11' 'cpio' 'unzip' 'zip' 'libelf' 'libcups' 'libx11'
'libxrender' 'libxtst' 'libxt' 'libxext' 'libxrandr' 'alsa-lib'
'graphviz' 'freetype2' 'libjpeg-turbo' 'giflib' 'libpng' 'lcms2'
'libnet' 'bash')
'libnet' 'bash' 'harfbuzz' 'gcc-libs' 'glibc')
source=(https://hg.openjdk.java.net/jdk-updates/jdk${_majorver}u/archive/${_hg_tag}.tar.gz
freedesktop-java.desktop
freedesktop-jconsole.desktop
freedesktop-jshell.desktop)
sha256sums=('faa2ee9fd4a024242cfeebf5e9ef1d1072a124cb72dbe0a4df9a5c430dabe351'
sha256sums=('6a7732dc1bf807866d4d0f4d964c9725acc1437fc1c22dd15bd3c817258b27ce'
'30b38fcbf1fcab6b33aea2e6d82e611f7d0ea974d1d11a87a262f598ba006fd9'
'971a71d0a80d6e5e47d5ea722b723088e86425a943a5c3615da95417c8f5aca2'
'77e45ece92bc9b0c638f5468c2050cc1dc4508308ec302e6910e793be97687ac')
@ -137,7 +137,9 @@ check() {
package_jre-openjdk-headless() {
pkgdesc="OpenJDK Java ${_majorver} headless runtime environment"
depends=('java-runtime-common>=3' 'ca-certificates-utils' 'nss' 'libjpeg-turbo' 'lcms2' 'libnet' 'freetype2')
depends=('java-runtime-common>=3' 'ca-certificates-utils' 'nss' 'libjpeg-turbo' 'libjpeg.so'
'lcms2' 'liblcms2.so' 'libnet' 'freetype2' 'libfreetype.so' 'harfbuzz' 'libharfbuzz.so'
'glibc' 'gcc-libs')
optdepends=('java-rhino: for some JavaScript support')
provides=("java-runtime-headless=${_majorver}" "java-runtime-headless-openjdk=${_majorver}" "jre${_majorver}-openjdk-headless=${pkgver}-${pkgrel}")
backup=(etc/${pkgbase}/logging.properties
@ -196,7 +198,8 @@ package_jre-openjdk-headless() {
package_jre-openjdk() {
pkgdesc="OpenJDK Java ${_majorver} full runtime environment"
depends=("jre${_majorver}-openjdk-headless=${pkgver}-${pkgrel}" 'giflib')
depends=("jre${_majorver}-openjdk-headless=${pkgver}-${pkgrel}" 'giflib' 'libgif.so'
'glibc' 'gcc-libs' 'libpng')
optdepends=('alsa-lib: for basic sound support'
'gtk2: for the Gtk+ 2 look and feel - desktop usage'
'gtk3: for the Gtk+ 3 look and feel - desktop usage')
@ -218,7 +221,8 @@ package_jre-openjdk() {
package_jdk-openjdk() {
pkgdesc="OpenJDK Java ${_majorver} development kit"
depends=("jre${_majorver}-openjdk=${pkgver}-${pkgrel}" 'java-environment-common=3' 'hicolor-icon-theme' 'libelf')
depends=("jre${_majorver}-openjdk=${pkgver}-${pkgrel}" 'java-environment-common=3'
'hicolor-icon-theme' 'libelf' 'glibc' 'gcc-libs')
provides=("java-environment=${_majorver}" "java-environment-openjdk=${_majorver}" "jdk${_majorver}-openjdk=${pkgver}-${pkgrel}")
install=install_jdk-openjdk.sh