diff --git a/metadata/org.fcitx.fcitx5.android.yml b/metadata/org.fcitx.fcitx5.android.yml index 1ea3f17fb9..a0fea18189 100644 --- a/metadata/org.fcitx.fcitx5.android.yml +++ b/metadata/org.fcitx.fcitx5.android.yml @@ -169,6 +169,163 @@ Builds: gradleprops: - buildABI=x86_64 + - versionName: 0.0.5-0-g679ab7db + versionCode: 31 + commit: 679ab7dbcf3ea21af1ba4785acbb591dedb5b9de + subdir: app + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext + ghc libghc-shake-dev opencc libghc-js-flot-data haskell-js-dgtable-utils + - apt-get install -y -t bullseye-backports libime-bin fcitx5-modules + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.5/org.fcitx.fcitx5.android-%v-armeabi-v7a-release.apk + srclibs: + - fcitx5-android-prebuilder@e919646e5561aaaad34f87664819dfb1f9a0bc52 + rm: + - app/src/main/cpp/prebuilt + prebuild: + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/$(echo + $$VERSION$$ | sed 's/-.*//')/build-metadata.json | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> ../gradle.properties + - sed -i -e '/ImportQualifiedPost/d' -e 's/import \(.*\) qualified as/import + qualified \1 as/g' $$fcitx5-android-prebuilder$$/Main.hs + scanignore: + - app/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + build: + - pushd $$fcitx5-android-prebuilder$$ + - mkdir build + - cd build + - ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + COMP_SPELL_DICT=/usr/lib/x86_64-linux-gnu/fcitx5/libexec/comp-spell-dict runghc + ../Main.hs -j everything + - popd + - mv $$fcitx5-android-prebuilder$$/build src/main/cpp/prebuilt + ndk: r25 + gradleprops: + - buildABI=armeabi-v7a + + - versionName: 0.0.5-0-g679ab7db + versionCode: 32 + commit: 679ab7dbcf3ea21af1ba4785acbb591dedb5b9de + subdir: app + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext + ghc libghc-shake-dev opencc libghc-js-flot-data haskell-js-dgtable-utils + - apt-get install -y -t bullseye-backports libime-bin fcitx5-modules + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.5/org.fcitx.fcitx5.android-%v-arm64-v8a-release.apk + srclibs: + - fcitx5-android-prebuilder@e919646e5561aaaad34f87664819dfb1f9a0bc52 + rm: + - app/src/main/cpp/prebuilt + prebuild: + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/$(echo + $$VERSION$$ | sed 's/-.*//')/build-metadata.json | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> ../gradle.properties + - sed -i -e '/ImportQualifiedPost/d' -e 's/import \(.*\) qualified as/import + qualified \1 as/g' $$fcitx5-android-prebuilder$$/Main.hs + scanignore: + - app/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + build: + - pushd $$fcitx5-android-prebuilder$$ + - mkdir build + - cd build + - ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + COMP_SPELL_DICT=/usr/lib/x86_64-linux-gnu/fcitx5/libexec/comp-spell-dict runghc + ../Main.hs -j everything + - popd + - mv $$fcitx5-android-prebuilder$$/build src/main/cpp/prebuilt + ndk: r25 + gradleprops: + - buildABI=arm64-v8a + + - versionName: 0.0.5-0-g679ab7db + versionCode: 33 + commit: 679ab7dbcf3ea21af1ba4785acbb591dedb5b9de + subdir: app + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext + ghc libghc-shake-dev opencc libghc-js-flot-data haskell-js-dgtable-utils + - apt-get install -y -t bullseye-backports libime-bin fcitx5-modules + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.5/org.fcitx.fcitx5.android-%v-x86-release.apk + srclibs: + - fcitx5-android-prebuilder@e919646e5561aaaad34f87664819dfb1f9a0bc52 + rm: + - app/src/main/cpp/prebuilt + prebuild: + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/$(echo + $$VERSION$$ | sed 's/-.*//')/build-metadata.json | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> ../gradle.properties + - sed -i -e '/ImportQualifiedPost/d' -e 's/import \(.*\) qualified as/import + qualified \1 as/g' $$fcitx5-android-prebuilder$$/Main.hs + scanignore: + - app/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + build: + - pushd $$fcitx5-android-prebuilder$$ + - mkdir build + - cd build + - ABI=x86 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + COMP_SPELL_DICT=/usr/lib/x86_64-linux-gnu/fcitx5/libexec/comp-spell-dict runghc + ../Main.hs -j everything + - popd + - mv $$fcitx5-android-prebuilder$$/build src/main/cpp/prebuilt + ndk: r25 + gradleprops: + - buildABI=x86 + + - versionName: 0.0.5-0-g679ab7db + versionCode: 34 + disable: not reproducible + commit: 679ab7dbcf3ea21af1ba4785acbb591dedb5b9de + subdir: app + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext + ghc libghc-shake-dev opencc libghc-js-flot-data haskell-js-dgtable-utils + - apt-get install -y -t bullseye-backports libime-bin fcitx5-modules + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.5/org.fcitx.fcitx5.android-%v-x86_64-release.apk + srclibs: + - fcitx5-android-prebuilder@e919646e5561aaaad34f87664819dfb1f9a0bc52 + rm: + - app/src/main/cpp/prebuilt + prebuild: + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/$(echo + $$VERSION$$ | sed 's/-.*//')/build-metadata.json | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> ../gradle.properties + - sed -i -e '/ImportQualifiedPost/d' -e 's/import \(.*\) qualified as/import + qualified \1 as/g' $$fcitx5-android-prebuilder$$/Main.hs + scanignore: + - app/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + build: + - pushd $$fcitx5-android-prebuilder$$ + - mkdir build + - cd build + - ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + COMP_SPELL_DICT=/usr/lib/x86_64-linux-gnu/fcitx5/libexec/comp-spell-dict runghc + ../Main.hs -j everything + - popd + - mv $$fcitx5-android-prebuilder$$/build src/main/cpp/prebuilt + ndk: r25 + gradleprops: + - buildABI=x86_64 + AutoUpdateMode: None UpdateCheckMode: HTTP VercodeOperation: