gnu: fcitx5-chinese-addons: Replace the dependency on QtWebKit with QtWebEngine.

See <https://issues.guix.gnu.org/53289> for more information about this change.

* gnu/packages/fcitx5.scm (fcitx5-chinese-addons)[inputs]: Remove qtwebkit. Add
qtdeclarative, qtwebchannel, and qtwebengine.
[arguments]: Pass "-DUSE_WEBKIT=off" to #:configure-flags.
This commit is contained in:
Leo Famulari 2022-01-29 17:58:21 -05:00
parent f8bfb2d856
commit db17f8b502
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -284,7 +284,9 @@ (define-public fcitx5-chinese-addons
(base32 "11l76gpcfm0x1f6x5m9s37q7ffa7xcsdydlzjdz2s6kk45fvvq89"))))
(build-system cmake-build-system)
(arguments
`(#:phases
`(#:configure-flags
'("-DUSE_WEBKIT=off")
#:phases
(modify-phases %standard-phases
(add-before 'configure 'split-outputs
;; Build with GUI supports requires Qt and increase package closure
@ -305,7 +307,9 @@ (define-public fcitx5-chinese-addons
("opencc" ,opencc)
("qtbase" ,qtbase-5)
("fcitx5-qt" ,fcitx5-qt)
("qtwebkit" ,qtwebkit)))
("qtdeclarative" ,qtdeclarative)
("qtwebchannel" ,qtwebchannel)
("qtwebengine" ,qtwebengine)))
(native-inputs
(list extra-cmake-modules pkg-config))
(outputs '("out" "gui"))