extra/java-openjdk to 22.0.1.u0-1

This commit is contained in:
Kevin Mihelich 2024-04-17 23:40:43 +00:00
parent 834726bf52
commit 5662e69b1c
2 changed files with 28 additions and 27 deletions

View file

@ -1,10 +1,10 @@
pkgbase = java-openjdk pkgbase = java-openjdk
pkgver = 22.u36 pkgver = 22.0.1.u0
pkgrel = 1 pkgrel = 1
url = https://openjdk.java.net/ url = https://openjdk.java.net/
arch = x86_64 arch = x86_64
license = custom license = LicenseRef-Java
makedepends = java-environment>=17 makedepends = java-environment=21
makedepends = cpio makedepends = cpio
makedepends = unzip makedepends = unzip
makedepends = zip makedepends = zip
@ -29,11 +29,12 @@ pkgbase = java-openjdk
makedepends = harfbuzz makedepends = harfbuzz
makedepends = gcc-libs makedepends = gcc-libs
makedepends = glibc makedepends = glibc
source = https://github.com/openjdk/jdk22u/archive/jdk-22+36.tar.gz optdepends = gvfs: open links e.g. hyperlinks
source = https://github.com/openjdk/jdk22u/archive/jdk-22.0.1+0.tar.gz
source = freedesktop-java.desktop source = freedesktop-java.desktop
source = freedesktop-jconsole.desktop source = freedesktop-jconsole.desktop
source = freedesktop-jshell.desktop source = freedesktop-jshell.desktop
sha256sums = 19cbda061fa41860fa2251f0994e7792c06aec63c8d0ae650353c850be5a8a4c sha256sums = 538d5493431716f6f774506d96eae9087b574c3946570159db53615029fd6e6a
sha256sums = 228fb453e6c652baad71abf734430cda08c287cb8df935ad3ad6d2e9346c7fdf sha256sums = 228fb453e6c652baad71abf734430cda08c287cb8df935ad3ad6d2e9346c7fdf
sha256sums = ed9e43756f450ca01647c495070044276ee9fa7810eb90c99d7e2a29c4a61ef2 sha256sums = ed9e43756f450ca01647c495070044276ee9fa7810eb90c99d7e2a29c4a61ef2
sha256sums = 93697b752739c1f233cf98f3fa3b945fc775de4d40a31dd21afccda7d0c9d01e sha256sums = 93697b752739c1f233cf98f3fa3b945fc775de4d40a31dd21afccda7d0c9d01e
@ -58,7 +59,7 @@ pkgname = jre-openjdk-headless
optdepends = java-rhino: for some JavaScript support optdepends = java-rhino: for some JavaScript support
provides = java-runtime-headless=22 provides = java-runtime-headless=22
provides = java-runtime-headless-openjdk=22 provides = java-runtime-headless-openjdk=22
provides = jre22-openjdk-headless=22.u36-1 provides = jre22-openjdk-headless=22.0.1.u0-1
conflicts = jdk-openjdk conflicts = jdk-openjdk
conflicts = jre-openjdk conflicts = jre-openjdk
backup = etc/java-openjdk/logging.properties backup = etc/java-openjdk/logging.properties
@ -97,14 +98,13 @@ pkgname = jre-openjdk
depends = libgif.so depends = libgif.so
depends = libpng depends = libpng
optdepends = alsa-lib: for basic sound support optdepends = alsa-lib: for basic sound support
optdepends = gtk2: for the Gtk+ 2 look and feel - desktop usage
optdepends = gtk3: for the Gtk+ 3 look and feel - desktop usage optdepends = gtk3: for the Gtk+ 3 look and feel - desktop usage
provides = java-runtime=22 provides = java-runtime=22
provides = java-runtime-openjdk=22 provides = java-runtime-openjdk=22
provides = jre22-openjdk=22.u36-1 provides = jre22-openjdk=22.0.1.u0-1
provides = java-runtime-headless=22 provides = java-runtime-headless=22
provides = java-runtime-headless-openjdk=22 provides = java-runtime-headless-openjdk=22
provides = jre22-openjdk-headless=22.u36-1 provides = jre22-openjdk-headless=22.0.1.u0-1
conflicts = jdk-openjdk conflicts = jdk-openjdk
conflicts = jre-openjdk-headless conflicts = jre-openjdk-headless
backup = etc/java-openjdk/logging.properties backup = etc/java-openjdk/logging.properties
@ -157,17 +157,16 @@ pkgname = jdk-openjdk
depends = libharfbuzz.so depends = libharfbuzz.so
optdepends = java-rhino: for some JavaScript support optdepends = java-rhino: for some JavaScript support
optdepends = alsa-lib: for basic sound support optdepends = alsa-lib: for basic sound support
optdepends = gtk2: for the Gtk+ 2 look and feel - desktop usage
optdepends = gtk3: for the Gtk+ 3 look and feel - desktop usage optdepends = gtk3: for the Gtk+ 3 look and feel - desktop usage
provides = java-environment=22 provides = java-environment=22
provides = java-environment-openjdk=22 provides = java-environment-openjdk=22
provides = jdk22-openjdk=22.u36-1 provides = jdk22-openjdk=22.0.1.u0-1
provides = java-runtime=22 provides = java-runtime=22
provides = java-runtime-openjdk=22 provides = java-runtime-openjdk=22
provides = jre22-openjdk=22.u36-1 provides = jre22-openjdk=22.0.1.u0-1
provides = java-runtime-headless=22 provides = java-runtime-headless=22
provides = java-runtime-headless-openjdk=22 provides = java-runtime-headless-openjdk=22
provides = jre22-openjdk-headless=22.u36-1 provides = jre22-openjdk-headless=22.0.1.u0-1
conflicts = jre-openjdk conflicts = jre-openjdk
conflicts = jre-openjdk-headless conflicts = jre-openjdk-headless
backup = etc/java-openjdk/logging.properties backup = etc/java-openjdk/logging.properties
@ -187,10 +186,10 @@ pkgname = jdk-openjdk
pkgname = openjdk-src pkgname = openjdk-src
pkgdesc = OpenJDK Java 22 sources pkgdesc = OpenJDK Java 22 sources
depends = jdk22-openjdk=22.u36-1 depends = jdk22-openjdk=22.0.1.u0-1
provides = openjdk22-src=22.u36-1 provides = openjdk22-src=22.0.1.u0-1
pkgname = openjdk-doc pkgname = openjdk-doc
pkgdesc = OpenJDK Java 22 documentation pkgdesc = OpenJDK Java 22 documentation
depends = jdk22-openjdk=22.u36-1 depends = jdk22-openjdk=22.0.1.u0-1
provides = openjdk22-doc=22.u36-1 provides = openjdk22-doc=22.0.1.u0-1

View file

@ -26,25 +26,28 @@ pkgname=('jre-openjdk-headless' 'jre-openjdk' 'jdk-openjdk' 'openjdk-src')
# on a majorver change, don't forget to update the misc files that come along this PKGBUILD # on a majorver change, don't forget to update the misc files that come along this PKGBUILD
_majorver=22 _majorver=22
_minorver=0 _minorver=0
_securityver=2 _securityver=1
_updatever=36 _updatever=0
# pkgver=${_majorver}.${_minorver}.${_securityver}.u${_updatever} pkgver=${_majorver}.${_minorver}.${_securityver}.u${_updatever}
pkgver=${_majorver}.u${_updatever} # pkgver=${_majorver}.u${_updatever}
pkgrel=1 pkgrel=1
# _git_tag=jdk-${_majorver}.${_minorver}.${_securityver}+${_updatever} _git_tag=jdk-${_majorver}.${_minorver}.${_securityver}+${_updatever}
_git_tag=jdk-${_majorver}+${_updatever} # _git_tag=jdk-${_majorver}+${_updatever}
arch=('x86_64') arch=('x86_64')
url='https://openjdk.java.net/' url='https://openjdk.java.net/'
license=('LicenseRef-Java') license=('LicenseRef-Java')
makedepends=('java-environment>=17' 'cpio' 'unzip' 'zip' 'libelf' 'libcups' 'libx11' makedepends=('java-environment=21' 'cpio' 'unzip' 'zip' 'libelf' 'libcups' 'libx11'
'libxrender' 'libxtst' 'libxt' 'libxext' 'libxrandr' 'alsa-lib' 'libxrender' 'libxtst' 'libxt' 'libxext' 'libxrandr' 'alsa-lib'
'graphviz' 'freetype2' 'libjpeg-turbo' 'giflib' 'libpng' 'lcms2' 'graphviz' 'freetype2' 'libjpeg-turbo' 'giflib' 'libpng' 'lcms2'
'libnet' 'bash' 'harfbuzz' 'gcc-libs' 'glibc') 'libnet' 'bash' 'harfbuzz' 'gcc-libs' 'glibc')
optdepends=(
'gvfs: open links e.g. hyperlinks'
)
source=(https://github.com/openjdk/jdk${_majorver}u/archive/${_git_tag}.tar.gz source=(https://github.com/openjdk/jdk${_majorver}u/archive/${_git_tag}.tar.gz
freedesktop-java.desktop freedesktop-java.desktop
freedesktop-jconsole.desktop freedesktop-jconsole.desktop
freedesktop-jshell.desktop) freedesktop-jshell.desktop)
sha256sums=('19cbda061fa41860fa2251f0994e7792c06aec63c8d0ae650353c850be5a8a4c' sha256sums=('538d5493431716f6f774506d96eae9087b574c3946570159db53615029fd6e6a'
'228fb453e6c652baad71abf734430cda08c287cb8df935ad3ad6d2e9346c7fdf' '228fb453e6c652baad71abf734430cda08c287cb8df935ad3ad6d2e9346c7fdf'
'ed9e43756f450ca01647c495070044276ee9fa7810eb90c99d7e2a29c4a61ef2' 'ed9e43756f450ca01647c495070044276ee9fa7810eb90c99d7e2a29c4a61ef2'
'93697b752739c1f233cf98f3fa3b945fc775de4d40a31dd21afccda7d0c9d01e') '93697b752739c1f233cf98f3fa3b945fc775de4d40a31dd21afccda7d0c9d01e')
@ -138,6 +141,7 @@ build() {
--with-native-debug-symbols=none \ --with-native-debug-symbols=none \
--enable-unlimited-crypto \ --enable-unlimited-crypto \
--disable-warnings-as-errors \ --disable-warnings-as-errors \
--with-vendor-name="Arch Linux" \
--with-jvm-variants=$_variants \ --with-jvm-variants=$_variants \
${NUM_PROC_OPT} ${NUM_PROC_OPT}
#--disable-javac-server #--disable-javac-server
@ -215,7 +219,6 @@ package_jre-openjdk() {
pkgdesc="OpenJDK Java ${_majorver} full runtime environment" pkgdesc="OpenJDK Java ${_majorver} full runtime environment"
depends=("${_commondeps[@]}" 'giflib' 'libgif.so' 'libpng') depends=("${_commondeps[@]}" 'giflib' 'libgif.so' 'libpng')
optdepends=('alsa-lib: for basic sound support' 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') 'gtk3: for the Gtk+ 3 look and feel - desktop usage')
provides=("java-runtime=${_majorver}" "java-runtime-openjdk=${_majorver}" "jre${_majorver}-openjdk=${pkgver}-${pkgrel}" provides=("java-runtime=${_majorver}" "java-runtime-openjdk=${_majorver}" "jre${_majorver}-openjdk=${pkgver}-${pkgrel}"
"java-runtime-headless=${_majorver}" "java-runtime-headless-openjdk=${_majorver}" "jre${_majorver}-openjdk-headless=${pkgver}-${pkgrel}") "java-runtime-headless=${_majorver}" "java-runtime-headless-openjdk=${_majorver}" "jre${_majorver}-openjdk-headless=${pkgver}-${pkgrel}")
@ -287,7 +290,6 @@ package_jdk-openjdk() {
'libharfbuzz.so') 'libharfbuzz.so')
optdepends=('java-rhino: for some JavaScript support' optdepends=('java-rhino: for some JavaScript support'
'alsa-lib: for basic sound support' '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') 'gtk3: for the Gtk+ 3 look and feel - desktop usage')
provides=("java-environment=${_majorver}" "java-environment-openjdk=${_majorver}" "jdk${_majorver}-openjdk=${pkgver}-${pkgrel}" provides=("java-environment=${_majorver}" "java-environment-openjdk=${_majorver}" "jdk${_majorver}-openjdk=${pkgver}-${pkgrel}"
"java-runtime=${_majorver}" "java-runtime-openjdk=${_majorver}" "jre${_majorver}-openjdk=${pkgver}-${pkgrel}" "java-runtime=${_majorver}" "java-runtime-openjdk=${_majorver}" "jre${_majorver}-openjdk=${pkgver}-${pkgrel}"