mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-04-14 19:46:54 +00:00
fcitx5 android: 0.0.8
This commit is contained in:
parent
e196c5982b
commit
070cbc5c46
10 changed files with 1683 additions and 9 deletions
|
|
@ -9,8 +9,8 @@ Translation: https://explore.transifex.com/fcitx/fcitx5-android
|
||||||
|
|
||||||
AutoName: Fcitx5 for Android (Anthy Plugin)
|
AutoName: Fcitx5 for Android (Anthy Plugin)
|
||||||
|
|
||||||
RepoType: git
|
RepoType: srclib
|
||||||
Repo: https://github.com/fcitx5-android/fcitx5-android
|
Repo: fcitx5-android
|
||||||
|
|
||||||
Builds:
|
Builds:
|
||||||
- versionName: 0.0.6-0-g024241cf
|
- versionName: 0.0.6-0-g024241cf
|
||||||
|
|
@ -373,6 +373,187 @@ Builds:
|
||||||
gradleprops:
|
gradleprops:
|
||||||
- buildABI=x86_64
|
- buildABI=x86_64
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 61
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/anthy
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.anthy-%v-armeabi-v7a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite anthy-dict
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=armeabi-v7a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 62
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/anthy
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.anthy-%v-arm64-v8a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite anthy-dict
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=arm64-v8a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 63
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/anthy
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.anthy-%v-x86-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- popd
|
||||||
|
- ABI=x86 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite anthy-dict
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 64
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/anthy
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.anthy-%v-x86_64-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite anthy-dict
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86_64
|
||||||
|
|
||||||
AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7
|
AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7
|
||||||
|
|
||||||
AutoUpdateMode: None
|
AutoUpdateMode: None
|
||||||
|
|
|
||||||
209
metadata/org.fcitx.fcitx5.android.plugin.chewing.yml
Normal file
209
metadata/org.fcitx.fcitx5.android.plugin.chewing.yml
Normal file
|
|
@ -0,0 +1,209 @@
|
||||||
|
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 (Chewing Plugin)
|
||||||
|
|
||||||
|
RepoType: srclib
|
||||||
|
Repo: fcitx5-android
|
||||||
|
|
||||||
|
Builds:
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 61
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/chewing
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.chewing-%v-armeabi-v7a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite libchewing
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=armeabi-v7a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 62
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/chewing
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.chewing-%v-arm64-v8a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite libchewing
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=arm64-v8a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 63
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/chewing
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.chewing-%v-x86-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- popd
|
||||||
|
- ABI=x86 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite libchewing
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 64
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/chewing
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.chewing-%v-x86_64-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite libchewing
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86_64
|
||||||
|
|
||||||
|
AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7
|
||||||
|
|
||||||
|
AutoUpdateMode: None
|
||||||
|
UpdateCheckMode: HTTP
|
||||||
|
VercodeOperation:
|
||||||
|
- 10 * %c + 1
|
||||||
|
- 10 * %c + 2
|
||||||
|
- 10 * %c + 3
|
||||||
|
- 10 * %c + 4
|
||||||
|
UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode
|
||||||
|
= (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.chewing.json|"versionName":\s"(.*)"
|
||||||
|
CurrentVersion: 0.0.8-0-g4c8399ad
|
||||||
|
CurrentVersionCode: 64
|
||||||
|
|
@ -7,10 +7,10 @@ SourceCode: https://github.com/fcitx5-android/fcitx5-android
|
||||||
IssueTracker: https://github.com/fcitx5-android/fcitx5-android/issues
|
IssueTracker: https://github.com/fcitx5-android/fcitx5-android/issues
|
||||||
Translation: https://explore.transifex.com/fcitx/fcitx5-android
|
Translation: https://explore.transifex.com/fcitx/fcitx5-android
|
||||||
|
|
||||||
AutoName: Fcitx5 for Android (clipboard-filter Plugin)
|
AutoName: Fcitx5 for Android (Clipboard Filter Plugin)
|
||||||
|
|
||||||
RepoType: git
|
RepoType: srclib
|
||||||
Repo: https://github.com/fcitx5-android/fcitx5-android
|
Repo: fcitx5-android
|
||||||
|
|
||||||
Builds:
|
Builds:
|
||||||
- versionName: 0.0.7-0-gac5720a1
|
- versionName: 0.0.7-0-gac5720a1
|
||||||
|
|
@ -35,6 +35,28 @@ Builds:
|
||||||
scandelete:
|
scandelete:
|
||||||
- build-logic/convention/build
|
- build-logic/convention/build
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 62
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/clipboard-filter
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.clipboard_filter-%v-release.apk
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.plugin.clipboard_filter.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
|
||||||
AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7
|
AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7
|
||||||
|
|
||||||
AutoUpdateMode: None
|
AutoUpdateMode: None
|
||||||
|
|
@ -43,5 +65,5 @@ VercodeOperation:
|
||||||
- 10 * %c + 2
|
- 10 * %c + 2
|
||||||
UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode
|
UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode
|
||||||
= (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.clipboard-filter.json|"versionName":\s"(.*)"
|
= (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.clipboard-filter.json|"versionName":\s"(.*)"
|
||||||
CurrentVersion: 0.0.7-0-gac5720a1
|
CurrentVersion: 0.0.8-0-g4c8399ad
|
||||||
CurrentVersionCode: 52
|
CurrentVersionCode: 62
|
||||||
|
|
|
||||||
209
metadata/org.fcitx.fcitx5.android.plugin.hangul.yml
Normal file
209
metadata/org.fcitx.fcitx5.android.plugin.hangul.yml
Normal file
|
|
@ -0,0 +1,209 @@
|
||||||
|
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 (Hangul Plugin)
|
||||||
|
|
||||||
|
RepoType: srclib
|
||||||
|
Repo: fcitx5-android
|
||||||
|
|
||||||
|
Builds:
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 61
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/hangul
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
check cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.hangul-%v-armeabi-v7a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite libhangul
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=armeabi-v7a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 62
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/hangul
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
check cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.hangul-%v-arm64-v8a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite libhangul
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=arm64-v8a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 63
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/hangul
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
check cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.hangul-%v-x86-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- popd
|
||||||
|
- ABI=x86 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite libhangul
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 64
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/hangul
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
check cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.hangul-%v-x86_64-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite libhangul
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86_64
|
||||||
|
|
||||||
|
AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7
|
||||||
|
|
||||||
|
AutoUpdateMode: None
|
||||||
|
UpdateCheckMode: HTTP
|
||||||
|
VercodeOperation:
|
||||||
|
- 10 * %c + 1
|
||||||
|
- 10 * %c + 2
|
||||||
|
- 10 * %c + 3
|
||||||
|
- 10 * %c + 4
|
||||||
|
UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode
|
||||||
|
= (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.hangul.json|"versionName":\s"(.*)"
|
||||||
|
CurrentVersion: 0.0.8-0-g4c8399ad
|
||||||
|
CurrentVersionCode: 64
|
||||||
220
metadata/org.fcitx.fcitx5.android.plugin.jyutping.yml
Normal file
220
metadata/org.fcitx.fcitx5.android.plugin.jyutping.yml
Normal file
|
|
@ -0,0 +1,220 @@
|
||||||
|
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 (Jyutping Plugin)
|
||||||
|
|
||||||
|
RepoType: srclib
|
||||||
|
Repo: fcitx5-android
|
||||||
|
|
||||||
|
Builds:
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 61
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/jyutping
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext
|
||||||
|
pkg-config ninja-build libfmt-dev libboost-all-dev cabal-install ghc libghc-shake-dev
|
||||||
|
opencc libghc-js-flot-data haskell-js-dgtable-utils automake libghc-aeson-pretty-dev
|
||||||
|
libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
- apt-get install -y -t bullseye-backports libfcitx5utils-dev
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.jyutping-%v-armeabi-v7a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite boost marisa opencc libime lua
|
||||||
|
chinese-addons-data zstd libime-jyutping
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=armeabi-v7a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 62
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/jyutping
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext
|
||||||
|
pkg-config ninja-build libfmt-dev libboost-all-dev cabal-install ghc libghc-shake-dev
|
||||||
|
opencc libghc-js-flot-data haskell-js-dgtable-utils automake libghc-aeson-pretty-dev
|
||||||
|
libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
- apt-get install -y -t bullseye-backports libfcitx5utils-dev
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.jyutping-%v-arm64-v8a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite boost marisa opencc libime lua
|
||||||
|
chinese-addons-data zstd libime-jyutping
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=arm64-v8a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 63
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/jyutping
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext
|
||||||
|
pkg-config ninja-build libfmt-dev libboost-all-dev cabal-install ghc libghc-shake-dev
|
||||||
|
opencc libghc-js-flot-data haskell-js-dgtable-utils automake libghc-aeson-pretty-dev
|
||||||
|
libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
- apt-get install -y -t bullseye-backports libfcitx5utils-dev
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.jyutping-%v-x86-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- popd ./build-cabal -j fmt libevent libintl-lite boost marisa opencc libime
|
||||||
|
lua chinese-addons-data zstd libime-jyutping ./build-cabal -j fmt libevent
|
||||||
|
libintl-lite libjyutping
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 64
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/jyutping
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext
|
||||||
|
pkg-config ninja-build libfmt-dev libboost-all-dev cabal-install ghc libghc-shake-dev
|
||||||
|
opencc libghc-js-flot-data haskell-js-dgtable-utils automake libghc-aeson-pretty-dev
|
||||||
|
libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
- apt-get install -y -t bullseye-backports libfcitx5utils-dev
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.jyutping-%v-x86_64-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite boost marisa opencc libime lua
|
||||||
|
chinese-addons-data zstd libime-jyutping
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86_64
|
||||||
|
|
||||||
|
AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7
|
||||||
|
|
||||||
|
AutoUpdateMode: None
|
||||||
|
UpdateCheckMode: HTTP
|
||||||
|
VercodeOperation:
|
||||||
|
- 10 * %c + 1
|
||||||
|
- 10 * %c + 2
|
||||||
|
- 10 * %c + 3
|
||||||
|
- 10 * %c + 4
|
||||||
|
UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode
|
||||||
|
= (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.jyutping.json|"versionName":\s"(.*)"
|
||||||
|
CurrentVersion: 0.0.8-0-g4c8399ad
|
||||||
|
CurrentVersionCode: 64
|
||||||
221
metadata/org.fcitx.fcitx5.android.plugin.rime.yml
Normal file
221
metadata/org.fcitx.fcitx5.android.plugin.rime.yml
Normal file
|
|
@ -0,0 +1,221 @@
|
||||||
|
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 (Rime Plugin)
|
||||||
|
|
||||||
|
RepoType: srclib
|
||||||
|
Repo: fcitx5-android
|
||||||
|
|
||||||
|
Builds:
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 61
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/rime
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
opencc cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
- mkdir -p /__w/prebuilder/
|
||||||
|
- chown vagrant /__w/prebuilder/
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.rime-%v-armeabi-v7a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- mv $$fcitx5-android-prebuilder$$ /__w/prebuilder/prebuilder/
|
||||||
|
- pushd /__w/prebuilder/prebuilder/
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite librime
|
||||||
|
- popd
|
||||||
|
- mv /__w/prebuilder/prebuilder/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=armeabi-v7a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 62
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/rime
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
opencc cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
- mkdir -p /__w/prebuilder/
|
||||||
|
- chown vagrant /__w/prebuilder/
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.rime-%v-arm64-v8a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- mv $$fcitx5-android-prebuilder$$ /__w/prebuilder/prebuilder/
|
||||||
|
- pushd /__w/prebuilder/prebuilder/
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite librime
|
||||||
|
- popd
|
||||||
|
- mv /__w/prebuilder/prebuilder/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=arm64-v8a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 63
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/rime
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
opencc cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
- mkdir -p /__w/prebuilder/
|
||||||
|
- chown vagrant /__w/prebuilder/
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.rime-%v-x86-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- mv $$fcitx5-android-prebuilder$$ /__w/prebuilder/prebuilder/
|
||||||
|
- pushd /__w/prebuilder/prebuilder/
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- popd
|
||||||
|
- ABI=x86 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite librime
|
||||||
|
- popd
|
||||||
|
- mv /__w/prebuilder/prebuilder/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 64
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/rime
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
opencc cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
- mkdir -p /__w/prebuilder/
|
||||||
|
- chown vagrant /__w/prebuilder/
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.rime-%v-x86_64-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- mv $$fcitx5-android-prebuilder$$ /__w/prebuilder/prebuilder/
|
||||||
|
- pushd /__w/prebuilder/prebuilder/
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite librime
|
||||||
|
- popd
|
||||||
|
- mv /__w/prebuilder/prebuilder/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86_64
|
||||||
|
|
||||||
|
AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7
|
||||||
|
|
||||||
|
AutoUpdateMode: None
|
||||||
|
UpdateCheckMode: HTTP
|
||||||
|
VercodeOperation:
|
||||||
|
- 10 * %c + 1
|
||||||
|
- 10 * %c + 2
|
||||||
|
- 10 * %c + 3
|
||||||
|
- 10 * %c + 4
|
||||||
|
UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode
|
||||||
|
= (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.rime.json|"versionName":\s"(.*)"
|
||||||
|
CurrentVersion: 0.0.8-0-g4c8399ad
|
||||||
|
CurrentVersionCode: 64
|
||||||
209
metadata/org.fcitx.fcitx5.android.plugin.sayura.yml
Normal file
209
metadata/org.fcitx.fcitx5.android.plugin.sayura.yml
Normal file
|
|
@ -0,0 +1,209 @@
|
||||||
|
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 (Sayura Plugin)
|
||||||
|
|
||||||
|
RepoType: srclib
|
||||||
|
Repo: fcitx5-android
|
||||||
|
|
||||||
|
Builds:
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 61
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/sayura
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.sayura-%v-armeabi-v7a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=armeabi-v7a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 62
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/sayura
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.sayura-%v-arm64-v8a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=arm64-v8a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 63
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/sayura
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.sayura-%v-x86-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- popd
|
||||||
|
- ABI=x86 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 64
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/sayura
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.sayura-%v-x86_64-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86_64
|
||||||
|
|
||||||
|
AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7
|
||||||
|
|
||||||
|
AutoUpdateMode: None
|
||||||
|
UpdateCheckMode: HTTP
|
||||||
|
VercodeOperation:
|
||||||
|
- 10 * %c + 1
|
||||||
|
- 10 * %c + 2
|
||||||
|
- 10 * %c + 3
|
||||||
|
- 10 * %c + 4
|
||||||
|
UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode
|
||||||
|
= (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.sayura.json|"versionName":\s"(.*)"
|
||||||
|
CurrentVersion: 0.0.8-0-g4c8399ad
|
||||||
|
CurrentVersionCode: 64
|
||||||
209
metadata/org.fcitx.fcitx5.android.plugin.unikey.yml
Normal file
209
metadata/org.fcitx.fcitx5.android.plugin.unikey.yml
Normal file
|
|
@ -0,0 +1,209 @@
|
||||||
|
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 (Unikey Plugin)
|
||||||
|
|
||||||
|
RepoType: srclib
|
||||||
|
Repo: fcitx5-android
|
||||||
|
|
||||||
|
Builds:
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 61
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/unikey
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.unikey-%v-armeabi-v7a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=armeabi-v7a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 62
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/unikey
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.unikey-%v-arm64-v8a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=arm64-v8a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 63
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/unikey
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.unikey-%v-x86-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- popd
|
||||||
|
- ABI=x86 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 64
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: plugin/unikey
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config
|
||||||
|
cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils
|
||||||
|
automake libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android.plugin.unikey-%v-x86_64-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cp -R ../../gradle .
|
||||||
|
- cd ../..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23
|
||||||
|
./build-cabal -j fmt libevent libintl-lite
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86_64
|
||||||
|
|
||||||
|
AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7
|
||||||
|
|
||||||
|
AutoUpdateMode: None
|
||||||
|
UpdateCheckMode: HTTP
|
||||||
|
VercodeOperation:
|
||||||
|
- 10 * %c + 1
|
||||||
|
- 10 * %c + 2
|
||||||
|
- 10 * %c + 3
|
||||||
|
- 10 * %c + 4
|
||||||
|
UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode
|
||||||
|
= (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.unikey.json|"versionName":\s"(.*)"
|
||||||
|
CurrentVersion: 0.0.8-0-g4c8399ad
|
||||||
|
CurrentVersionCode: 64
|
||||||
|
|
@ -9,8 +9,8 @@ Translation: https://explore.transifex.com/fcitx/fcitx5-android
|
||||||
|
|
||||||
AutoName: Fcitx5 for Android
|
AutoName: Fcitx5 for Android
|
||||||
|
|
||||||
RepoType: git
|
RepoType: srclib
|
||||||
Repo: https://github.com/fcitx5-android/fcitx5-android
|
Repo: fcitx5-android
|
||||||
|
|
||||||
Builds:
|
Builds:
|
||||||
- versionName: 0.0.4-0-g11909557
|
- versionName: 0.0.4-0-g11909557
|
||||||
|
|
@ -642,6 +642,198 @@ Builds:
|
||||||
gradleprops:
|
gradleprops:
|
||||||
- buildABI=x86_64
|
- buildABI=x86_64
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 61
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: app
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext
|
||||||
|
pkg-config ninja-build libfmt-dev libboost-all-dev libfcitx5utils-dev cabal-install
|
||||||
|
ghc libghc-shake-dev opencc libghc-js-flot-data haskell-js-dgtable-utils automake
|
||||||
|
libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
- apt-get install -y -t bullseye-backports fcitx5-modules
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android-%v-armeabi-v7a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cd ..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- 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 ./build-cabal
|
||||||
|
-j spell-dict fmt libevent libintl-lite boost marisa opencc libime lua chinese-addons-data
|
||||||
|
zstd
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=armeabi-v7a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 62
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: app
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext
|
||||||
|
pkg-config ninja-build libfmt-dev libboost-all-dev libfcitx5utils-dev cabal-install
|
||||||
|
ghc libghc-shake-dev opencc libghc-js-flot-data haskell-js-dgtable-utils automake
|
||||||
|
libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
- apt-get install -y -t bullseye-backports fcitx5-modules
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android-%v-arm64-v8a-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cd ..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- 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 ./build-cabal
|
||||||
|
-j spell-dict fmt libevent libintl-lite boost marisa opencc libime lua chinese-addons-data
|
||||||
|
zstd
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=arm64-v8a
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 63
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: app
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext
|
||||||
|
pkg-config ninja-build libfmt-dev libboost-all-dev libfcitx5utils-dev cabal-install
|
||||||
|
ghc libghc-shake-dev opencc libghc-js-flot-data haskell-js-dgtable-utils automake
|
||||||
|
libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
- apt-get install -y -t bullseye-backports fcitx5-modules
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android-%v-x86-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cd ..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- 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 ./build-cabal
|
||||||
|
-j spell-dict fmt libevent libintl-lite boost marisa opencc libime lua chinese-addons-data
|
||||||
|
zstd
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86
|
||||||
|
|
||||||
|
- versionName: 0.0.8-0-g4c8399ad
|
||||||
|
versionCode: 64
|
||||||
|
commit: 4c8399ad8fdcf57e79b7f4a8514bebfabb79e143
|
||||||
|
subdir: app
|
||||||
|
submodules: true
|
||||||
|
sudo:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext
|
||||||
|
pkg-config ninja-build libfmt-dev libboost-all-dev libfcitx5utils-dev cabal-install
|
||||||
|
ghc libghc-shake-dev opencc libghc-js-flot-data haskell-js-dgtable-utils automake
|
||||||
|
libghc-aeson-pretty-dev libtool openjdk-17-jdk-headless
|
||||||
|
- update-java-alternatives -a
|
||||||
|
- apt-get install -y -t bullseye-backports fcitx5-modules
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/org.fcitx.fcitx5.android-%v-x86_64-release.apk
|
||||||
|
srclibs:
|
||||||
|
- fcitx5-android-prebuilder@868672e1b1ced9d6b46a5f7629a97718ec5a3042
|
||||||
|
rm:
|
||||||
|
- lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
prebuild:
|
||||||
|
- cd ..
|
||||||
|
- sdkmanager 'cmake;3.22.1'
|
||||||
|
- buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.8/build-metadata.json
|
||||||
|
| sed -n -E 's/.*timestamp.*"(.*)"$/\1/p')
|
||||||
|
- echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties
|
||||||
|
- 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
|
||||||
|
lib/*/build.gradle.kts
|
||||||
|
scanignore:
|
||||||
|
- lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata
|
||||||
|
scandelete:
|
||||||
|
- build-logic/convention/build
|
||||||
|
build:
|
||||||
|
- pushd $$fcitx5-android-prebuilder$$
|
||||||
|
- cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic
|
||||||
|
--ghc-options=-dynamic
|
||||||
|
- 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 ./build-cabal
|
||||||
|
-j spell-dict fmt libevent libintl-lite boost marisa opencc libime lua chinese-addons-data
|
||||||
|
zstd
|
||||||
|
- popd
|
||||||
|
- mv $$fcitx5-android-prebuilder$$/build ../lib/fcitx5/src/main/cpp/prebuilt
|
||||||
|
ndk: 25.2.9519653
|
||||||
|
gradleprops:
|
||||||
|
- buildABI=x86_64
|
||||||
|
|
||||||
AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7
|
AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7
|
||||||
|
|
||||||
AutoUpdateMode: None
|
AutoUpdateMode: None
|
||||||
|
|
|
||||||
2
srclibs/fcitx5-android.yml
Normal file
2
srclibs/fcitx5-android.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
RepoType: git
|
||||||
|
Repo: https://github.com/fcitx5-android/fcitx5-android
|
||||||
Loading…
Reference in a new issue