community/libkml fails to find JAVA
See: https://build.alpinelinux.org/buildlogs/build-edge-aarch64/community/libkml/libkml-1.3.0-r9.log
-- Found Java: /usr/bin/java (found version "11.0.11")
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY
JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindJNI.cmake:382 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/swig/CMakeLists.txt:47 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/buildozer/aports/community/libkml/src/libkml-1.3.0/build/CMakeFiles/CMakeOutput.log".
>>> ERROR: libkml: build failed