-
Notifications
You must be signed in to change notification settings - Fork 6
/
org.fcitx.Fcitx5.yaml
135 lines (132 loc) · 3.86 KB
/
org.fcitx.Fcitx5.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
app-id: org.fcitx.Fcitx5
branch: master
base: io.qt.qtwebengine.BaseApp
base-version: '6.6'
runtime: org.kde.Platform
runtime-version: '6.6'
sdk: org.kde.Sdk
add-extensions:
org.fcitx.Fcitx5.Addon:
version: master
directory: addons
subdirectories: true
no-autodownload: true
add-ld-path: lib
autodelete: true
separate-locales: false
command: fcitx5
finish-args:
# Manually set sockets metadata, so we can bypass the validity check of --socket
- --metadata=Context=sockets=x11;wayland;session-bus;inherit-wayland-socket;
- --share=ipc
- --share=network
- --filesystem=xdg-config/kxkbrc:rw
- --filesystem=xdg-config/fontconfig:ro
- --filesystem=xdg-config/fcitx:create
- --filesystem=xdg-config/ibus:create
- --filesystem=xdg-cache/ibus:create
- --device=dri
modules:
- modules/fmt.yaml
- modules/xcb-imdkit.yaml
- modules/libuv.yaml
- modules/json-c.yaml
- name: fcitx5
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DUSE_SYSTEMD=Off
- -DENABLE_ENCHANT=Off
- -DUSE_FLATPAK_ICON=On
- -DENABLE_TEST=Off
sources:
- type: git
url: https://github.com/fcitx/fcitx5
- type: file
url: https://download.fcitx-im.org/data/en_dict-20121020.tar.gz
sha256: c44a5d7847925eea9e4d2d04748d442cd28dd9299a0b572ef7d91eac4f5a6ceb
dest: src/modules/spell
- type: file
path: fcitx5.sh
post-install:
- install -d /app/addons
- mv /app/bin/fcitx5{,-bin}
- install -m755 fcitx5.sh /app/bin/fcitx5
- name: fcitx5-qt
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DENABLE_QT4=Off
- -DENABLE_QT5=Off
- -DENABLE_QT6=On
- -DCMAKE_INSTALL_QT6PLUGINDIR=/app/lib/plugins
sources:
- type: git
url: https://github.com/fcitx/fcitx5-qt
- name: fcitx5-configtool
buildsystem: cmake-ninja
builddir: true
sources:
- type: git
url: https://github.com/fcitx/fcitx5-configtool
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DUSE_QT6=On
- -DENABLE_KCM=Off
- name: fcitx5-all-icons
buildsystem: simple
sources:
- type: git
url: https://github.com/fcitx/fcitx5-anthy
dest: fcitx5-anthy
- type: git
url: https://github.com/fcitx/fcitx5-bamboo
dest: fcitx5-bamboo
branch: main
- type: git
url: https://github.com/fcitx/fcitx5-chewing
dest: fcitx5-chewing
- type: git
url: https://github.com/fcitx/fcitx5-chinese-addons
dest: fcitx5-chinese-addons
- type: git
url: https://github.com/fcitx/fcitx5-hangul
dest: fcitx5-hangul
- type: git
url: https://github.com/fcitx/fcitx5-kkc
dest: fcitx5-kkc
- type: git
url: https://github.com/fcitx/fcitx5-rime
dest: fcitx5-rime
- type: git
url: https://github.com/fcitx/fcitx5-sayura
dest: fcitx5-sayura
- type: git
url: https://github.com/fcitx/fcitx5-skk
dest: fcitx5-skk
- type: git
url: https://github.com/fcitx/fcitx5-table-extra
dest: fcitx5-table-extra
- type: git
url: https://github.com/fcitx/fcitx5-table-other
dest: fcitx5-table-other
- type: git
url: https://github.com/fcitx/fcitx5-unikey
dest: fcitx5-unikey
- type: git
url: https://github.com/fcitx/fcitx5-zhuyin
dest: fcitx5-zhuyin
- type: git
url: https://github.com/fcitx/mozc
branch: fcitx
dest: mozc
disable-submodules: true
- type: git
url: https://github.com/openvanilla/fcitx5-mcbopomofo
tag: 2.5.2
dest: fcitx5-mcbopomofo
- type: file
path: install_icons
build-commands:
- ./install_icons
- cd mozc/src && PREFIX=${FLATPAK_DEST} ../scripts/install_fcitx5_icons