gnu: fcitx5-qt: Enable qt6 support.

* gnu/packages/fcitx5.scm (fcitx5-qt)[arguments]<#:configure-flags>: Add
CMAKE_INSTALL_QT6PLUGINDIR and ENABLE_QT6=ON.
[inputs]: Add qtbase, qtwayland, wayland.

Change-Id: I389253eb08efe765d1c79c44ac5d69717ccaf362
This commit is contained in:
Zheng Junjie 2024-06-22 18:06:04 +08:00
parent b07afb5f53
commit 3e43f7a571
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -3,6 +3,7 @@
;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2022 Dominic Martinez <dom@dominicm.dev>
;;; Copyright © 2022 dan <i@dan.games>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -320,12 +321,18 @@ (define-public fcitx5-qt
`(#:configure-flags
(list (string-append "-DCMAKE_INSTALL_QT5PLUGINDIR="
%output "/lib/qt5/plugins")
"-DENABLE_QT4=Off")))
(string-append "-DCMAKE_INSTALL_QT6PLUGINDIR="
%output "/lib/qt6/plugins")
"-DENABLE_QT4=Off"
"-DENABLE_QT6=ON")))
(inputs
`(("fcitx5" ,fcitx5)
("libxcb" ,libxcb)
("libxkbcommon" ,libxkbcommon)
("qtbase" ,qtbase-5)
("qtbase-5" ,qtbase-5)
("qtbase" ,qtbase)
("qtwayland" ,qtwayland)
("wayland" ,wayland)
("gettext" ,gettext-minimal)))
(native-inputs
(list extra-cmake-modules))