mirror of
https://github.com/fcitx5-android/fcitx5-android.git
synced 2026-08-02 04:44:35 +08:00
57 lines
2.2 KiB
YAML
57 lines
2.2 KiB
YAML
Categories:
|
|
- System
|
|
License: LGPL-2.1-only
|
|
AuthorName: Fcitx5 for Android Contributors
|
|
WebSite: https://fcitx5-android.github.io
|
|
SourceCode: https://github.com/fcitx5-android/fcitx5-android
|
|
IssueTracker: https://github.com/fcitx5-android/fcitx5-android/issues
|
|
Translation: https://explore.transifex.com/fcitx/fcitx5-android
|
|
|
|
AutoName: Fcitx5 for Android
|
|
|
|
RepoType: git
|
|
Repo: https://github.com/fcitx5-android/fcitx5-android
|
|
|
|
Builds:
|
|
- versionName: placeholder
|
|
versionCode: placeholder
|
|
commit: placeholder
|
|
subdir: app
|
|
submodules: true
|
|
sudo:
|
|
- apt-get update
|
|
- apt-get install -y g++ libtool make automake gettext bzip2 xz-utils zstd pkg-config
|
|
cmake extra-cmake-modules ninja-build libfmt-dev libsystemd-dev libboost-all-dev
|
|
ghc cabal-install libghc-shake-dev libghc-aeson-pretty-dev libghc-js-flot-data haskell-js-dgtable-utils
|
|
python-is-python3 opencc
|
|
gradle:
|
|
- yes
|
|
binary: https://jenkins.fcitx-im.org/job/android/job/fcitx5-android/lastSuccessfulBuild/artifact/out/org.fcitx.fcitx5.android-%v-%abi-release.apk
|
|
srclibs:
|
|
- fcitx5-android-prebuilder@master
|
|
rm:
|
|
- lib/fcitx5/src/main/cpp/prebuilt
|
|
prebuild:
|
|
- sdkmanager 'cmake;3.31.6'
|
|
- sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs
|
|
- sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs
|
|
- sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' ../build-logic/convention/build.gradle.kts
|
|
- sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' ../lib/*/build.gradle.kts
|
|
scanignore:
|
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
|
scandelete:
|
|
- build-logic/convention/build
|
|
- lib/fcitx5/src/main/cpp/fcitx5/third_party/yoga
|
|
build:
|
|
- pushd $$fcitx5-android-prebuilder$$
|
|
- ABI=%abi ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.31.6 ANDROID_PLATFORM=23
|
|
./build-cabal -j app
|
|
- popd
|
|
- mv $$fcitx5-android-prebuilder$$/build ../lib/fcitx5/src/main/cpp/prebuilt
|
|
ndk: 28.0.13004108
|
|
gradleprops:
|
|
- buildABI=%abi
|
|
- buildTimestamp=%ts
|
|
|
|
AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7
|