Subject: [bug#76192] [PATCH 09/11] gnu: fcitx5-chinese-addons: Update to 5.1.8.

From: [email-masked]
Date: Tue, 11 Feb 2025 12:29:12 +0800

From: 宋文武 <[email-masked]>

* gnu/packages/fcitx5.scm (fcitx5-chinese-addons): Update to 5.1.8.
[inputs]: Remove libpthread-stubs, qtbase-5, qtdeclarative-5, qtwebchannel-5
and qtwebchannel-5.  Add qtbase and qtwebchannel.

Change-Id: I21f15d4aff9ab47c1548a993dd6cd8240db37440
---
 gnu/packages/fcitx5.scm | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/fcitx5.scm b/gnu/packages/fcitx5.scm
index 58fd34ecdb..45e77fef02 100644
--- a/gnu/packages/fcitx5.scm
+++ b/gnu/packages/fcitx5.scm
@@ -403,15 +403,15 @@ (define-public fcitx5-chewing
 (define-public fcitx5-chinese-addons
   (package
     (name "fcitx5-chinese-addons")
-    (version "5.1.3")
+    (version "5.1.8")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://download.fcitx-im.org/fcitx5"
                            "/fcitx5-chinese-addons/fcitx5-chinese-addons-"
-                           version "_dict.tar.xz"))
+                           version "_dict.tar.zst"))
        (sha256
-        (base32 "0300z1j0285936ia9ihslydxwgmsnb43gqqyq4xm1ixfp1l12hzs"))))
+        (base32 "06ls6ww60y7l39bjk1h1xvjq9c3va5cib6hs4y0xk9p69f2s41l3"))))
     (build-system cmake-build-system)
     (arguments
      `(#:configure-flags
@@ -433,13 +433,10 @@ (define-public fcitx5-chinese-addons
        ("curl" ,curl)
        ("gettext" ,gettext-minimal)
        ("fmt" ,fmt)
-       ("libpthread-stubs" ,libpthread-stubs)
        ("opencc" ,opencc)
-       ("qtbase" ,qtbase-5)
+       ("qtbase" ,qtbase)
        ("fcitx5-qt" ,fcitx5-qt)
-       ("qtdeclarative-5" ,qtdeclarative-5)
-       ("qtwebchannel-5" ,qtwebchannel-5)
-       ("qtwebengine-5" ,qtwebengine-5)))
+       ("qtwebengine" ,qtwebengine)))
     (native-inputs
      (list extra-cmake-modules pkg-config))
     (outputs '("out" "gui"))
-- 
2.48.1