-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathorg.fcitx.Fcitx5.Addon.Cskk.yaml
55 lines (53 loc) · 1.42 KB
/
org.fcitx.Fcitx5.Addon.Cskk.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
app-id: org.fcitx.Fcitx5.Addon.Cskk
branch: master
runtime: org.fcitx.Fcitx5
runtime-version: master
sdk: org.kde.Sdk//6.8
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
build-extension: true
separate-locales: false
build-options:
prefix: /app/addons/Cskk
prepend-path: /app/addons/Cskk/bin
prepend-pkg-config-path: /app/addons/Cskk/lib/pkgconfig
cflags: -I/app/addons/Cskk/include
append-path: /usr/lib/sdk/rust-stable/bin
cleanup:
- /bin
- /include
- /lib/pkgconfig
- "/lib/python*"
- /share/intltool
- "*.la"
- "*.a"
modules:
- name: cskk
sources:
- type: git
url: https://github.com/naokiri/cskk
- cskk-cargo-sources.json
build-options:
prepend-ld-library-path: /app/addons/Cskk/lib
env:
CARGO_HOME: /run/build/cskk/cargo
buildsystem: simple
build-commands:
- cargo cinstall --release --prefix=/app/addons/Cskk --libdir=lib
- name: skk-jisyo
buildsystem: simple
build-commands:
- install -Dm644 SKK-JISYO.* -t ${FLATPAK_DEST}/share/skk/
sources:
- type: git
url: https://github.com/skk-dev/dict.git
branch: master
- name: fcitx5-cskk
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/fcitx/fcitx5-cskk
disable-shallow-clone: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DSKK_DICT_DEFAULT_PATH=/app/addons/Cskk/share/skk/SKK-JISYO.L