From db17f8b5023122fdc37ab7de5b927303cc4209f9 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sat, 29 Jan 2022 17:58:21 -0500 Subject: [PATCH] gnu: fcitx5-chinese-addons: Replace the dependency on QtWebKit with QtWebEngine. See 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. --- gnu/packages/fcitx5.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/fcitx5.scm b/gnu/packages/fcitx5.scm index 92fc0ea171..66b07b4a51 100644 --- a/gnu/packages/fcitx5.scm +++ b/gnu/packages/fcitx5.scm @@ -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"))