forked from fcitx/flatpak-fcitx5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorg.fcitx.Fcitx5.yaml
121 lines (119 loc) · 3.4 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
app-id: org.fcitx.Fcitx5
branch: master
base: io.qt.qtwebkit.BaseApp
base-version: '5.15-22.08'
runtime: org.kde.Platform
runtime-version: '5.15-22.08'
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:
- --socket=session-bus
- --socket=x11
- --socket=wayland
- --share=network
- --filesystem=xdg-config/fcitx5:create
- --filesystem=xdg-data/fcitx5:create
- --filesystem=xdg-config/fontconfig:ro
- --filesystem=xdg-config/fcitx:create
- --filesystem=xdg-config/ibus:create
- --device=dri
modules:
- modules/fmt.yaml
- modules/xcb-imdkit.yaml
- modules/libevent.yaml
- modules/json-c.yaml
- name: fcitx5
buildsystem: cmake-ninja
config-opts:
- -DUSE_SYSTEMD=Off
- -DENABLE_ENCHANT=Off
- -DUSE_FLATPAK_ICON=On
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:
- -DENABLE_QT4=Off
- -DCMAKE_INSTALL_QT5PLUGINDIR=/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
- 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: file
path: install_icons
build-commands:
- ./install_icons
- cd mozc/src && PREFIX=${FLATPAK_DEST} ../scripts/install_fcitx5_icons