mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
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:
parent
b07afb5f53
commit
3e43f7a571
1 changed files with 9 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
||||||
;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2022 Dominic Martinez <dom@dominicm.dev>
|
;;; Copyright © 2022 Dominic Martinez <dom@dominicm.dev>
|
||||||
;;; Copyright © 2022 dan <i@dan.games>
|
;;; Copyright © 2022 dan <i@dan.games>
|
||||||
|
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -320,12 +321,18 @@ (define-public fcitx5-qt
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
(list (string-append "-DCMAKE_INSTALL_QT5PLUGINDIR="
|
(list (string-append "-DCMAKE_INSTALL_QT5PLUGINDIR="
|
||||||
%output "/lib/qt5/plugins")
|
%output "/lib/qt5/plugins")
|
||||||
"-DENABLE_QT4=Off")))
|
(string-append "-DCMAKE_INSTALL_QT6PLUGINDIR="
|
||||||
|
%output "/lib/qt6/plugins")
|
||||||
|
"-DENABLE_QT4=Off"
|
||||||
|
"-DENABLE_QT6=ON")))
|
||||||
(inputs
|
(inputs
|
||||||
`(("fcitx5" ,fcitx5)
|
`(("fcitx5" ,fcitx5)
|
||||||
("libxcb" ,libxcb)
|
("libxcb" ,libxcb)
|
||||||
("libxkbcommon" ,libxkbcommon)
|
("libxkbcommon" ,libxkbcommon)
|
||||||
("qtbase" ,qtbase-5)
|
("qtbase-5" ,qtbase-5)
|
||||||
|
("qtbase" ,qtbase)
|
||||||
|
("qtwayland" ,qtwayland)
|
||||||
|
("wayland" ,wayland)
|
||||||
("gettext" ,gettext-minimal)))
|
("gettext" ,gettext-minimal)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list extra-cmake-modules))
|
(list extra-cmake-modules))
|
||||||
|
|
Loading…
Reference in a new issue