mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-13 14:09:19 +00:00
dbcb041276
This commit has been automatically submitted by Github Actions.
24 lines
973 B
Bash
24 lines
973 B
Bash
TERMUX_PKG_HOMEPAGE=https://fcitx-im.org/
|
|
TERMUX_PKG_DESCRIPTION="Fcitx Qt immodule & library"
|
|
TERMUX_PKG_LICENSE="LGPL-2.1"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="5.1.8"
|
|
TERMUX_PKG_SRCURL=https://github.com/fcitx/fcitx5-qt/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=a09fb653ab855424a5a92c6a634c3726fa19ae85ca7c24716784b3ddd136f201
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
|
|
TERMUX_PKG_DEPENDS="fcitx5, libc++, libx11, libxcb, libxkbcommon, qt6-qtbase"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
-DENABLE_TEST=OFF
|
|
-DENABLE_QT4=OFF
|
|
-DENABLE_QT5=OFF
|
|
-DENABLE_QT6=ON
|
|
-DENABLE_QT6_WAYLAND_WORKAROUND=OFF
|
|
"
|
|
|
|
termux_step_post_make_install() {
|
|
local _QT6_PLATFORM_INPUT_CONTEXTS_DIR=$TERMUX_PREFIX/lib/qt6/plugins/platforminputcontexts
|
|
mkdir -p "$_QT6_PLATFORM_INPUT_CONTEXTS_DIR"
|
|
mv $TERMUX_PREFIX/opt/qt6/cross/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so $_QT6_PLATFORM_INPUT_CONTEXTS_DIR
|
|
}
|