diff options
author | Martchus | 2024-02-25 18:19:58 +0100 |
---|---|---|
committer | Martchus | 2024-02-25 18:19:58 +0100 |
commit | 8edb905442bd264e1ecf449d503e6659c1979cb7 (patch) | |
tree | 98eb5cd19fade2a867bf1a2d53e52331227ac2e4 /PKGBUILD | |
parent | 4511a38513c54a145c6291bd371446bfadc1e311 (diff) | |
download | aur-8edb905442bd264e1ecf449d503e6659c1979cb7.tar.gz |
Force Android Qt 6 packages to use Java 17
This may help to prevent https://bugreports.qt.io/browse/QTBUG-119223.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -13,7 +13,7 @@ url='https://www.qt.io' license=(GPL3 LGPL3 FDL custom) pkgdesc='Classes for displaying the contents of SVG files (android)' depends=('android-aarch64-qt6-base') -makedepends=('android-cmake' 'qt6-base' 'ninja' 'java-environment-openjdk>=11') +makedepends=('android-cmake' 'qt6-base' 'ninja' 'java-environment-openjdk=17') options=('!strip' '!buildflags' 'staticlibs' '!emptydirs') groups=(android-${_android_arch}-qt6) _pkgfqn="qtsvg-everywhere-src-${_qtver}" @@ -21,6 +21,7 @@ source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/subm sha256sums=('5a231d59ef1b42bfbaa5174d4ff39f8e1b4ba070ef984a70b069b4b2576d8181') build() { + export PATH=/usr/lib/jvm/java-17-openjdk/bin:$PATH source android-env ${_android_arch} android-${_android_arch}-cmake -G Ninja -B build-$_android_arch -S $_pkgfqn \ -DCMAKE_FIND_ROOT_PATH="${ANDROID_PREFIX}" \ |