-
Notifications
You must be signed in to change notification settings - Fork 6
/
org.fcitx.Fcitx5.Addon.Rime.yaml
150 lines (146 loc) · 6.9 KB
/
org.fcitx.Fcitx5.Addon.Rime.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
app-id: org.fcitx.Fcitx5.Addon.Rime
branch: master
runtime: org.fcitx.Fcitx5
runtime-version: master
sdk: org.kde.Sdk//6.8
build-extension: true
separate-locales: false
build-options:
prefix: /app/addons/Rime
prepend-path: /app/addons/Rime/bin
prepend-pkg-config-path: /app/addons/Rime/lib/pkgconfig
prepend-ld-library-path: /app/addons/Rime/lib
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /lib/cmake
- "/lib/python*"
- /share/cmake
- "*.la"
modules:
- modules/boost.yaml
- modules/capnproto.yaml
- modules/yaml-cpp.yaml
- modules/leveldb.yaml
- modules/marisa.yaml
- modules/opencc.yaml
- shared-modules/lua5.3/lua-5.3.5.json
- name: librime
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_TEST=Off
- -DENABLE_LOGGING=Off
sources:
- type: git
url: https://github.com/rime/librime
tag: 1.9.0
- type: git
url: https://github.com/lotem/librime-octagram.git
commit: a6ced5a1d623afed17284fbaa395dd3a8b019a14
dest: plugins/librime-octagram
- type: git
url: https://github.com/hchunhui/librime-lua
commit: 757a01445905f89bf58af0d7da8e283c5fbfd973
dest: plugins/librime-lua
- type: git
url: https://github.com/rime/librime-charcode
commit: 3e73214fdf5d162517a74762433f486b70a5c0e1
dest: plugins/librime-charcode
- type: git
url: https://github.com/lotem/librime-proto
commit: d92f572379774a202c88e2ea6ad47d9dc040a127
dest: plugins/librime-proto
- name: librime-data
buildsystem: simple
build-commands:
# copy rime-essay
- install -Dm644 rime-essay/*.txt -t rime-data/
# copy rime-prelude
- install -Dm644 rime-prelude/*.yaml -t rime-data/
# copy all other rime schemas
- |
for _ime in rime-*; do
[ "$_ime" != "rime-data" ] &&
[ "$_ime" != "rime-essay" ] &&
[ "$_ime" != "rime-prelude" ] &&
install -Dm644 ${_ime}/*.yaml -t rime-data/
done
cd rime-data/
for _ime_schema in $(ls *.schema.yaml); do
rime_deployer --compile $_ime_schema
done
- |
install -Dm644 rime-data/*.{txt,yaml} -t ${FLATPAK_DEST}/share/rime-data/
rm rime-data/build/*.txt
install -Dm644 rime-data/build/* -t ${FLATPAK_DEST}/share/rime-data/build/
sources:
- type: archive
url: https://github.com/rime/rime-essay/archive/917e5691d090f75c40f0bc72476c2f483bae0c21/rime-essay-917e5691d090f75c40f0bc72476c2f483bae0c21.tar.gz
sha256: 832397c54b70598dcbea25158163dd79093e84891f6db6611f17634f7e40977f
dest: rime-essay
- type: archive
url: https://github.com/rime/rime-prelude/archive/8a52b4f86a59f3eb602f9a4cf6a680a67c15df8c/rime-prelude-8a52b4f86a59f3eb602f9a4cf6a680a67c15df8c.tar.gz
sha256: 0b14a46b0bde9997bf20cac89df5222580bf5544942ab6726b15029664d952b4
dest: rime-prelude
- type: archive
url: https://github.com/rime/rime-terra-pinyin/archive/492aaf914f9de37cc9d26b846dc693116de70ae8/rime-terra-pinyin-492aaf914f9de37cc9d26b846dc693116de70ae8.tar.gz
sha256: 1453ea89a60da90ce9eaac1ae5e45521e91b451c17a961bf46546b694f7977e4
dest: rime-terra-pinyin
- type: archive
url: https://github.com/rime/rime-stroke/archive/ea8576d1accd6fda339e96b415caadb56e2a07d1/rime-stroke-ea8576d1accd6fda339e96b415caadb56e2a07d1.tar.gz
sha256: 6ff57556a7a047514911226db9dd244f9517912573826c0d20b21456b98202be
dest: rime-stroke
- type: archive
url: https://github.com/rime/rime-luna-pinyin/archive/0f45d939967cbe3869d48a54deab87ca02d81ba1/rime-luna-pinyin-0f45d939967cbe3869d48a54deab87ca02d81ba1.tar.gz
sha256: aa62d556acdb5b04c46a0a307011b6538d0e723d15b2d783bdd568e30f329ce4
dest: rime-luna-pinyin
- type: archive
url: https://github.com/rime/rime-cangjie/archive/5fd8ce6f64039e505ca02655a621f2e830b97c19/rime-cangjie-5fd8ce6f64039e505ca02655a621f2e830b97c19.tar.gz
sha256: 092b8bd8b3f3960f8d682d2fbb6258a133d60b1b874ee92128f54855db21deb2
dest: rime-cangjie
- type: archive
url: https://github.com/rime/rime-bopomofo/archive/ed25098386f5efd3d70b08650f0d1b70c41c11a3/rime-bopomofo-ed25098386f5efd3d70b08650f0d1b70c41c11a3.tar.gz
sha256: 0b2a0496cf2a291d8e4aa9bf467fd507f6674378e5951c9e2b6470cbf7edaed7
dest: rime-bopomofo
- type: archive
url: https://github.com/rime/rime-cantonese/archive/b95de88648332e4047fdda0bbb22d6a9fe61cf51/rime-cantonese-b95de88648332e4047fdda0bbb22d6a9fe61cf51.tar.gz
sha256: 82274a2b68bf4ff6ef4d2747bae9f042f21621bd03a449178142488deada81d7
dest: rime-cantonese
- type: archive
url: https://github.com/rime/rime-double-pinyin/archive/69bf85d4dfe8bac139c36abbd68d530b8b6622ea/rime-double-pinyin-69bf85d4dfe8bac139c36abbd68d530b8b6622ea.tar.gz
sha256: 41daacaf051c5c3c623170d73b2578bd8e70d0823fd1e3516af856283b7d9d48
dest: rime-double-pinyin
- type: archive
url: https://github.com/rime/rime-emoji/archive/6ee7ce65b21cd0fd8df0306a7c77a067f18fb55f/rime-emoji-6ee7ce65b21cd0fd8df0306a7c77a067f18fb55f.tar.gz
sha256: 2afbc6c9f245a5b731b7d9f19c1da3722564a7b17ff5cf55612be253a6edc400
dest: rime-emoji
- type: archive
url: https://github.com/CanCLID/rime-loengfan/archive/edb7600335c399a06e90be76b207c5fe9c184ff0/rime-loengfan-edb7600335c399a06e90be76b207c5fe9c184ff0.tar.gz
sha256: ae877339bd6d42ec1100525a6e6a2c81245804ff17e524e312e42cc600099b3c
dest: rime-loengfan
- type: archive
url: https://github.com/rime/rime-pinyin-simp/archive/72cbe5aab64f5cdc5109d2a1e15a2d073fb74844/rime-pinyin-simp-72cbe5aab64f5cdc5109d2a1e15a2d073fb74844.tar.gz
sha256: 66750e8edc55a2a0bfc2b9358780507fc42a7ed43742326cd1033a67e64f6894
dest: rime-pinyin-simp
- type: archive
url: https://github.com/rime/rime-quick/archive/3fe5911ba608cb2df1b6301b76ad1573bd482a76/rime-quick-3fe5911ba608cb2df1b6301b76ad1573bd482a76.tar.gz
sha256: 4ccfacbb4d23f0f6ffaba170e5a92c98313037a449d5d9a625f5bdd5dad9a120
dest: rime-quick
- type: archive
url: https://github.com/rime/rime-wubi/archive/dd052ee158a38cb791755318b1aef9b4a3ed0316/rime-wubi-dd052ee158a38cb791755318b1aef9b4a3ed0316.tar.gz
sha256: eb831a1483af0b4e5f088b69548c74ed1d12f0989cfeb42aa20307118f3dcc56
dest: rime-wubi
- type: archive
url: https://github.com/rime/rime-wugniu/archive/abd1ee98efbf170258fcf43875c21a4259e00b61/rime-wugniu-abd1ee98efbf170258fcf43875c21a4259e00b61.tar.gz
sha256: 57cc982a42e4c7767dc81aff9b954f9c487a3688b3ae2061b004a77e43745362
dest: rime-wugniu
- name: fcitx5-rime
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/fcitx/fcitx5-rime
config-opts:
- -DCMAKE_BUILD_TYPE=Release