mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/java8-openjdk to 8.352.u08-2
This commit is contained in:
parent
c73f6d08c3
commit
0255d8312d
1 changed files with 23 additions and 7 deletions
|
@ -19,12 +19,25 @@ _majorver=8
|
|||
_minorver=352
|
||||
_updatever=08
|
||||
pkgver=${_majorver}.${_minorver}.u${_updatever}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('x86_64')
|
||||
url='https://openjdk.java.net/'
|
||||
license=('custom')
|
||||
makedepends=('java-environment=8' 'ccache' 'cpio' 'unzip' 'zip' 'git' 'bash'
|
||||
'libxrender' 'libxtst' 'fontconfig' 'libcups' 'alsa-lib')
|
||||
makedepends=(
|
||||
'alsa-lib'
|
||||
'bash'
|
||||
'ccache'
|
||||
'cpio'
|
||||
'fontconfig'
|
||||
'giflib'
|
||||
'git'
|
||||
'java-environment=8'
|
||||
'libcups'
|
||||
'libxrender'
|
||||
'libxtst'
|
||||
'unzip'
|
||||
'zip'
|
||||
)
|
||||
options=(!lto !distcc)
|
||||
source=(https://github.com/openjdk/jdk${_majorver}u/archive/refs/tags/jdk${_majorver}u${_minorver}-b${_updatever}.tar.gz
|
||||
gcc11.patch
|
||||
|
@ -76,15 +89,13 @@ build() {
|
|||
--with-build-number="b${_updatever}" \
|
||||
--with-milestone="fcs" \
|
||||
--enable-unlimited-crypto \
|
||||
--with-giflib=system \
|
||||
--with-zlib=system \
|
||||
--with-jvm-variants=zero \
|
||||
--with-extra-cflags="${CFLAGS}" \
|
||||
--with-extra-cxxflags="${CXXFLAGS}" \
|
||||
--with-extra-ldflags="${LDFLAGS}"
|
||||
|
||||
# TODO OpenJDK does not want last version of giflib (add 'giflib' as dependency once fixed)
|
||||
#--with-giflib=system \
|
||||
|
||||
# These help to debug builds: LOG=trace HOTSPOT_BUILD_JOBS=1
|
||||
# Without 'DEBUG_BINARIES', i686 won't build: http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-July/019203.html
|
||||
make DEBUG_BINARIES=true
|
||||
|
@ -189,7 +200,12 @@ package_jre8-openjdk-headless() {
|
|||
|
||||
package_jre8-openjdk() {
|
||||
pkgdesc='OpenJDK Java 8 full runtime environment'
|
||||
depends=("jre8-openjdk-headless=${pkgver}-${pkgrel}" 'xdg-utils' 'hicolor-icon-theme')
|
||||
depends=(
|
||||
"jre8-openjdk-headless=${pkgver}-${pkgrel}"
|
||||
'xdg-utils'
|
||||
'hicolor-icon-theme'
|
||||
'giflib'
|
||||
)
|
||||
optdepends=('icedtea-web: web browser plugin + Java Web Start'
|
||||
'alsa-lib: for basic sound support'
|
||||
'gtk2: for the Gtk+ look and feel - desktop usage'
|
||||
|
|
Loading…
Reference in a new issue