misc/fcitx5-qt: Patch out qt6 dependency.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6ff29be628
commit
8e47336735
|
@ -1,5 +1,7 @@
|
|||
fcitx5-qt is the Qt im-module for fcitx5 and it's needed to use fcitx5
|
||||
with Qt-based applications. It currently supports Qt4, Qt5 and Qt6.
|
||||
fcitx5-qt is the Qt im-module for fcitx5 and it needs to be installed
|
||||
in order to use fcitx5 with Qt-based applications. It currently
|
||||
supports Qt4, Qt5 and Qt6.
|
||||
|
||||
You'll need several Qt modules if you're going to enable Qt5/Qt6
|
||||
support, namely QtCore, QtDbus, QtWidgets and QtX11Extras. Qt5 is
|
||||
bundled in Slackware, however if you want Qt6 support you're on your
|
||||
|
@ -7,8 +9,17 @@ own; but any app that requires Qt6 on SBo at this point should have
|
|||
already pulled all the dependencies in.
|
||||
|
||||
Relevant CMake options are ENABLE_QT4, ENABLE_QT5 and ENABLE_QT6.
|
||||
Both ENABLE_QT4 and ENABLE_QT5 are turned on by default, and ENABLE_QT6
|
||||
is turned off by default; however Slackware has dropped Qt4 in Slackware
|
||||
15, so ENABLE_QT4 is turned off in the SlackBuild. You might want to
|
||||
turn on/off the flag depending on the Qt version you are using.
|
||||
ENABLE_QT4 is turned off by default, ENABLE_QT5 and ENABLE_QT6 are
|
||||
turned on by default. However to avoid pulling in excess dependencies,
|
||||
Qt6 support is turned off in the SlackBuild. If you need Qt4 or Qt6
|
||||
support, you might want to turn the flags on/off depending on the Qt
|
||||
version you are using. To enable Qt4, you need to modify
|
||||
|
||||
-DENABLE_QT4=Off \
|
||||
|
||||
from "Off" to "On". Similarly, to turn on Qt6 support, turn
|
||||
|
||||
-DENABLE_QT6=Off \
|
||||
-DENABLE_QT6_WAYLAND_WORKAROUND=Off ..
|
||||
|
||||
from "Off" to "On".
|
||||
|
|
|
@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=fcitx5-qt
|
||||
VERSION=${VERSION:-5.1.5}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -81,7 +81,9 @@ cd build
|
|||
-DCMAKE_C_FLAGS="${SLKCFLAGS}" \
|
||||
-DCMAKE_INSTALL_PREFIX="/usr" \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
|
||||
-DENABLE_QT4=Off ..
|
||||
-DENABLE_QT4=Off \
|
||||
-DENABLE_QT6=Off \
|
||||
-DENABLE_QT6_WAYLAND_WORKAROUND=Off ..
|
||||
make
|
||||
make install/strip DESTDIR=$PKG
|
||||
cd ..
|
||||
|
|
|
@ -5,6 +5,6 @@ DOWNLOAD="https://download.fcitx-im.org/fcitx5/fcitx5-qt/fcitx5-qt-5.1.5.tar.xz"
|
|||
MD5SUM="91d1b828b5263843117c3d8a2c0fb1d0"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="fcitx5 qt6"
|
||||
REQUIRES="fcitx5"
|
||||
MAINTAINER="ltlnx"
|
||||
EMAIL="ltlnx@disroot.org"
|
||||
|
|
Loading…
Reference in New Issue