vietc/packaging/flatpak/com.vietc.VietPlus.json
vndangkhoa 16a0d73a6e Viet+ v0.1.0 - Vietnamese Input Method for Linux
Features:
- Direct Input Engine (no pre-edit buffer, no underline)
- Telex + VNI input methods
- Auto-restore English words
- ESC undo (strip tones)
- Smart per-app memory
- Macro expansion (ko→không, dc→được, vs→với, lm→làm)
- Triple backend: uinput, X11 XTEST, Wayland IM
- Hot-reload config
- 148 tests passing

Packaging:
- .deb package
- AppImage support
- AUR PKGBUILD
- Flatpak manifest
- Systemd user service
2026-06-24 10:13:10 +07:00

68 lines
2 KiB
JSON

{
"app-id": "io.github.vietc.VietPlus",
"runtime": "org.gnome.Platform",
"runtime-version": "46",
"sdk": "org.gnome.Sdk",
"sdk-extensions": ["org.rust-lang.Rust"],
"command": "vietc-settings",
"finish-args": [
"--share=ipc",
"--share=network",
"--socket=x11",
"--socket=wayland",
"--device=all",
"--talk-name=org.kde.StatusNotifierWatcher"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust/bin",
"env": {
"CARGO_HOME": "/run/build/vietc/cargo"
}
},
"modules": [
{
"name": "vietc",
"buildsystem": "simple",
"build-commands": [
"cargo build --release --features x11",
"install -Dm755 target/release/vietc /app/bin/vietc",
"install -Dm644 vietc.toml /app/etc/vietc/config.toml"
],
"sources": [
{
"type": "dir",
"path": "../.."
}
]
},
{
"name": "vietc-ui",
"buildsystem": "simple",
"build-commands": [
"cd ui && cargo build --release",
"install -Dm755 ui/target/release/vietc-settings /app/bin/vietc-settings",
"install -Dm755 ui/target/release/vietc-tray /app/bin/vietc-tray"
],
"sources": [
{
"type": "dir",
"path": "../.."
}
]
},
{
"name": "systemd-user-units",
"buildsystem": "simple",
"build-commands": [
"install -Dm644 vietc.service /app/share/systemd/user/vietc.service"
],
"sources": [
{
"type": "dir",
"path": "../..",
"only": ["vietc.service"]
}
]
}
]
}