mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-07 03:13:25 +00:00
add fcitx5-configtool
This commit is contained in:
13
x11-packages/fcitx5-configtool/build.sh
Normal file
13
x11-packages/fcitx5-configtool/build.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://fcitx-im.org/
|
||||
TERMUX_PKG_DESCRIPTION="Configuration tool for Fcitx5"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=5.0.17
|
||||
TERMUX_PKG_SRCURL=https://github.com/fcitx/fcitx5-configtool/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=cb17484745027b339fcea58d6b17d0fde37a891f33aa4c1205625045ce41364d
|
||||
TERMUX_PKG_DEPENDS="fcitx5, fcitx5-qt, iso-codes, kitemviews, kwidgetsaddons, libc++, libx11, libxkbfile, qt5-qtbase, qt5-qtsvg, qt5-qtx11extras, xkeyboard-config"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
-DENABLE_TEST=OFF
|
||||
-DENABLE_CONFIG_QT=ON
|
||||
-DENABLE_KCM=OFF
|
||||
"
|
||||
11
x11-packages/fcitx5-configtool/fix-hardcoded-path.patch
Normal file
11
x11-packages/fcitx5-configtool/fix-hardcoded-path.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- fcitx5-configtool-5.0.17/layout/keyboardlayoutwidget.cpp.orig 2023-03-11 13:01:54
|
||||
+++ fcitx5-configtool-5.0.17/layout/keyboardlayoutwidget.cpp 2023-04-22 02:28:28
|
||||
@@ -37,7 +37,7 @@
|
||||
constexpr unsigned int INVALID_KEYCODE = (unsigned int)(-1);
|
||||
|
||||
#ifndef XKB_RULES_XML_FILE
|
||||
-#define XKB_RULES_XML_FILE "/usr/share/X11/xkb/rules/evdev.xml"
|
||||
+#define XKB_RULES_XML_FILE "@TERMUX_PREFIX@/share/X11/xkb/rules/evdev.xml"
|
||||
#endif
|
||||
|
||||
namespace fcitx {
|
||||
Reference in New Issue
Block a user