z572 pushed a commit to branch kde-team
in repository guix.

commit 1c27ec6d9279d949d5a9622a731fb627ed33aba7
Author: Zheng Junjie <[email protected]>
AuthorDate: Sat Apr 13 17:28:50 2024 +0800

    gnu: Add ktextwidgets-6.
    
    * gnu/packages/kde-frameworks.scm (ktextwidgets-6): New variable.
    (ktextwidgets): Inherit above.
    Change-Id: I79ae2650ef8e2acb824daf53ee88c7872d0b00c3
    
    Change-Id: I1f7264746724dc6c03f7bc4f8979768c39e42c9a
---
 gnu/packages/kde-frameworks.scm | 48 ++++++++++++++++++++++++++++++++++-------
 1 file changed, 40 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 793aca8afb..73ffe55378 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -4267,8 +4267,47 @@ library.")
     ;; triple licensed
     (license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+))))
 
+(define-public ktextwidgets-6
+  (package
+    (name "ktextwidgets")
+    (version "6.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://kde/stable/frameworks/"
+                    (version-major+minor version) "/"
+                    name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "0lv5ddsgzqawbhh718va2plcnfw2pb61v3iypwbwq2cj3ir49kbj"))))
+    (build-system qt-build-system)
+    (propagated-inputs
+     (list ki18n-6 sonnet-6))
+    (native-inputs
+     (list extra-cmake-modules qttools))
+    (inputs
+     (list kauth-6
+           kcodecs-6
+           kcompletion-6
+           kconfig-6
+           kconfigwidgets-6
+           kcoreaddons-6
+           kiconthemes-6
+           kservice-6
+           kwidgetsaddons-6
+           kwindowsystem-6
+           qtbase
+           qtspeech))
+    (home-page "https://community.kde.org/Frameworks";)
+    (synopsis "Text editing widgets")
+    (description "KTextWidgets provides widgets for displaying and editing 
text.
+It supports rich text as well as plain text.")
+    ;; dual licensed
+    (license (list license:lgpl2.0+ license:lgpl2.1+))))
+
 (define-public ktextwidgets
   (package
+    (inherit ktextwidgets-6)
     (name "ktextwidgets")
     (version "5.114.0")
     (source (origin
@@ -4280,7 +4319,6 @@ library.")
               (sha256
                (base32
                 "0w1wwyd3fy351rmkhf3i55is5031j2zxvswm0b1sb3pd159v888v"))))
-    (build-system qt-build-system)
     (propagated-inputs
      (list ki18n sonnet))
     (native-inputs
@@ -4297,13 +4335,7 @@ library.")
            kwidgetsaddons
            kwindowsystem
            qtbase-5
-           qtspeech-5))
-    (home-page "https://community.kde.org/Frameworks";)
-    (synopsis "Text editing widgets")
-    (description "KTextWidgets provides widgets for displaying and editing 
text.
-It supports rich text as well as plain text.")
-    ;; dual licensed
-    (license (list license:lgpl2.0+ license:lgpl2.1+))))
+           qtspeech-5))))
 
 (define-public kwallet-6
   (package

Reply via email to