aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2023-08-08 19:04:36 +0800
committer宋文武 <iyzsong@member.fsf.org>2023-08-08 19:04:36 +0800
commit5ced4468285573ba562c960cc487a2e5126ed91c (patch)
tree51e210f70e55abd6ad356927337cd3e4c7292cc3
parent4c0a6635d81970da2f461757ff891f2528a57b5c (diff)
downloadguix-5ced4468285573ba562c960cc487a2e5126ed91c.tar.gz
guix-5ced4468285573ba562c960cc487a2e5126ed91c.zip
gnu: Add ktextaddons.
* gnu/packages/kde-frameworks.scm (ktextaddons): New variable.
-rw-r--r--gnu/packages/kde-frameworks.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index d444094b00..8e7916df25 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3441,6 +3441,43 @@ need.")
(define kinit-bootstrap
((package-input-rewriting `((,kdbusaddons . ,kdbusaddons-bootstrap))) kinit))
+(define-public ktextaddons
+ (package
+ (name "ktextaddons")
+ (version "1.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/" name "/" name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0ds6506il3vmqhpzd1dqcpm19yd80ijibfncr9mlhq4kvj7vnjl9"))))
+ (build-system qt-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (setenv "HOME" (getcwd))
+ ;; XXX: 6 tests failed due to:
+ ;; missing icons
+ ;; translators plugins not available during tests
+ (invoke "ctest" "-E"
+ "(grammalecteresultwidgettest|grammalecteconfigwidgettest||grammalecteresultjobtest|languagetoolconfigwidgettest|translator-translatorwidgettest|translator-translatorengineloadertest)"))))))
+ (native-inputs
+ (list extra-cmake-modules qttools-5))
+ (inputs
+ (list karchive kconfigwidgets kcoreaddons ki18n kxmlgui
+ qtbase-5 qtkeychain))
+ (home-page "https://community.kde.org/Frameworks")
+ (synopsis "Various text handling addons")
+ (description "This library provides text addons (autocorrection, text to
+speak, grammar checking, text translator, emoticon support) for Qt
+applications.")
+ (license
+ (list license:lgpl2.0+ license:bsd-3 license:gpl2+ license:cc0))))
+
;; Tier 4
;;