# Contributor: Simon Frankenberger # Maintainer: Simon Frankenberger pkgname=openjfx12 pkgver=12.0.2_p1 _pkgver=${pkgver/_p/+} pkgrel=0 pkgdesc="Open JavaFX 12" url="https://hg.openjdk.java.net/openjfx/12-dev/rt" arch="x86_64" # openjdk11 is not yet available on 32 bit arches, gets stuck on others license="GPL-2.0-with-classpath-exception" depends="$pkgname-gtk3" # for the virtual openjfx12 package makedepends="binutils-gold cmake ninja python2 gperf openjdk11-jdk alsa-lib-dev ffmpeg-dev freetype-dev gtk+2.0-dev gtk+3.0-dev icu-dev ruby-dev sqlite-dev" subpackages="$pkgname-media:_media $pkgname-web:_web $pkgname-jmods:_jmods:noarch $pkgname-src:_src:noarch $pkgname-doc:_doc:noarch $pkgname-gtk2:_gtk2 $pkgname-gtk3:_gtk3 $pkgname-libs:_libs $pkgname-base:_base:noarch $pkgname-dev:_dev:noarch" source="openjfx-$_pkgver.tar.bz2::http://hg.openjdk.java.net/openjfx/12-dev/rt/archive/$_pkgver.tar.bz2 https://archive.apache.org/dist/ant/binaries/apache-ant-1.8.2-bin.zip configure-ant-home.patch crosscompile.patch disable-architecture-verification.patch disable-assembler-on-unsupported-archs.patch disable-jit-for-non-x86.patch disable-sse2.patch disable-webkit-sampling-profiler.patch fix-arm32-build.patch fix-arm64-build.patch gcc-no-error.patch use-system-icu.patch webcore-linker-flags.patch webkit-debug-level.patch" builddir="$srcdir/rt-$_pkgver" _ant_home="$srcdir/apache-ant-1.8.2/" _java_home="/usr/lib/java/openjfx12" sonameprefix="$pkgname:" ldpath="$_java_home/lib" prepare() { default_prepare # Create build properties cat >gradle.properties <