z572 pushed a commit to branch kde-team
in repository guix.
commit 91460c9b941f3f6dda32b369d404c9763c621734
Author: Zheng Junjie <[email protected]>
AuthorDate: Fri Mar 8 19:40:13 2024 +0800
gnu: Add sonnet-6.
* gnu/packages/kde-frameworks.scm (sonnet-6): New variable.
(sonnet): Inherit above.
Change-Id: I1b84ee1b4c158b35512dd03931d6c08ed32fdb52
---
gnu/packages/kde-frameworks.scm | 37 +++++++++++++++++++++++++++++--------
1 file changed, 29 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 79c0d693b0..ef8cbd2665 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2025,10 +2025,10 @@ system.")
(inputs
(list qtbase-5 qtdeclarative-5 eudev))))
-(define-public sonnet
+(define-public sonnet-6
(package
(name "sonnet")
- (version "5.114.0")
+ (version "6.1.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -2037,16 +2037,15 @@ system.")
name "-" version ".tar.xz"))
(sha256
(base32
- "0zxi96i3gfpx759qc1nyz7jqlswg5ivgr1w9gbbsm1x5fi9ikadx"))))
+ "1zpbla0d22sd66vgi6kiqsh8mkck6fklllh8pckx0kxc4r4fng61"))))
(build-system qt-build-system)
+ (arguments (list #:qtbase qtbase))
(native-inputs
- (list extra-cmake-modules pkg-config qttools-5))
+ (list extra-cmake-modules pkg-config qttools))
(inputs
- (list aspell
- hunspell
+ (list aspell hunspell
;; TODO: hspell (for Hebrew), Voikko (for Finish)
- qtdeclarative-5
- qtbase-5))
+ qtdeclarative))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Multi-language spell checker")
(description "Sonnet is a plugin-based spell checking library for Qt-based
@@ -2054,6 +2053,28 @@ applications. It supports several different plugins,
including HSpell, Enchant,
ASpell and HUNSPELL.")
(license license:lgpl2.1+)))
+(define-public sonnet
+ (package
+ (inherit sonnet-6)
+ (name "sonnet")
+ (version "5.114.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/frameworks/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0zxi96i3gfpx759qc1nyz7jqlswg5ivgr1w9gbbsm1x5fi9ikadx"))))
+ (arguments '())
+ (native-inputs
+ (list extra-cmake-modules pkg-config qttools-5))
+ (inputs
+ (list aspell
+ hunspell
+ qtdeclarative-5))))
+
(define-public threadweaver
(package
(name "threadweaver")