New package: fcitx5-anthy-5.0.5
This commit is contained in:
parent
f24b91c292
commit
1bb28d0d41
|
@ -0,0 +1 @@
|
|||
fcitx5-anthy
|
|
@ -0,0 +1,18 @@
|
|||
Index: fcitx5-anthy-5.0.4/src/utils.h
|
||||
===================================================================
|
||||
--- fcitx5-anthy-5.0.4.orig/src/utils.h
|
||||
+++ fcitx5-anthy-5.0.4/src/utils.h
|
||||
@@ -28,11 +28,11 @@ bool key_is_keypad(const fcitx::Key &key
|
||||
std::string keypad_to_string(const fcitx::KeyEvent &key);
|
||||
void launch_program(std::string command);
|
||||
|
||||
-bool surrounding_get_safe_delta(uint from, uint to, int32_t *delta);
|
||||
+bool surrounding_get_safe_delta(unsigned from, unsigned to, int32_t *delta);
|
||||
|
||||
bool surrounding_get_anchor_pos_from_selection(
|
||||
const std::string &surrounding_text, const std::string &selected_text,
|
||||
- uint cursor_pos, uint *anchor_pos);
|
||||
+ unsigned cursor_pos, unsigned *anchor_pos);
|
||||
|
||||
inline char get_ascii_code(const fcitx::Key &key) {
|
||||
auto chr = fcitx::Key::keySymToUnicode(key.sym());
|
|
@ -0,0 +1,23 @@
|
|||
# Template file for 'fcitx5-anthy'
|
||||
pkgname=fcitx5-anthy
|
||||
version=5.0.5
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config gettext extra-cmake-modules"
|
||||
makedepends="anthy-unicode-devel libfcitx5-devel"
|
||||
depends="fcitx5"
|
||||
short_desc="Fcitx5 - Anthy engine"
|
||||
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://fcitx-im.org/wiki/Fcitx"
|
||||
distfiles="https://download.fcitx-im.org/fcitx5/fcitx5-anthy/fcitx5-anthy-${version}.tar.xz"
|
||||
checksum=22364003e737cbe4ea6eaa83d9d274a8df8e38dea61d8f4576560ee7d5eaf44d
|
||||
patch_args=-Np1
|
||||
|
||||
fcitx5-anthy-icons_package() {
|
||||
short_desc+=" - icons"
|
||||
conflicts="fcitx-anthy<=0.2.3_2"
|
||||
pkg_install() {
|
||||
vmove usr/share/icons
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue