mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 19:39:34 +01:00
gnu: enchant: Update package definition.
* gnu/packages/enchant.scm (enchant): Update package definition. [build-system]: Change from gnu to glib-or-gtk. [inputs]: Add hunspell. [synopsis]: Modify. [description]: Modify. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
parent
655e6a932e
commit
2fd1657ebc
1 changed files with 26 additions and 27 deletions
|
@ -81,38 +81,37 @@ dictionaries.")
|
|||
(package
|
||||
(name "enchant")
|
||||
(version "2.2.8")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/AbiWord/enchant/releases"
|
||||
"/download/v" version "/enchant-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0m9m564qqwbssvvf7y3dlz1yxzqsjiqy1yd2zsmb3l0d7y2y5df7"))))
|
||||
(build-system gnu-build-system)
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
(string-append "https://github.com/AbiWord/enchant/releases"
|
||||
"/download/v" version "/enchant-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0m9m564qqwbssvvf7y3dlz1yxzqsjiqy1yd2zsmb3l0d7y2y5df7"))))
|
||||
(build-system glib-or-gtk-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags '("--disable-static"
|
||||
;; Tests require a relocatable build.
|
||||
"--enable-relocatable")))
|
||||
(inputs
|
||||
`(("aspell" ,aspell))) ;; Currently, the only supported backend in Guix
|
||||
(propagated-inputs ;; is aspell. (This information might be old)
|
||||
;; Required by enchant.pc.
|
||||
`(("glib" ,glib)))
|
||||
'(#:configure-flags
|
||||
(list
|
||||
"--disable-static"
|
||||
;; Tests require a relocatable build.
|
||||
"--enable-relocatable")))
|
||||
(native-inputs
|
||||
`(("glib:bin" ,glib "bin")
|
||||
("pkg-config" ,pkg-config)
|
||||
("unittest-cpp" ,unittest-cpp)))
|
||||
(synopsis "Multi-backend spell-checking library wrapper")
|
||||
(description
|
||||
"On the surface, Enchant appears to be a generic spell checking library.
|
||||
Looking closer, you'll see the Enchant is more-or-less a fancy wrapper around
|
||||
the dlopen() system call.
|
||||
|
||||
Enchant steps in to provide uniformity and conformity on top of these libraries,
|
||||
and implement certain features that may be lacking in any individual provider
|
||||
library. Everything should \"just work\" for any and every definition of \"just
|
||||
working\".")
|
||||
(inputs
|
||||
`(("aspell" ,aspell)
|
||||
("hunspell" ,hunspell)))
|
||||
(propagated-inputs
|
||||
`(("glib" ,glib)))
|
||||
(synopsis "Generic spell checking library and program")
|
||||
(description "Enchant is a library and command-line program, that wraps a
|
||||
number of different spelling libraries and programs with a consistent
|
||||
interface. By using Enchant, you can use a wide range of spelling libraries,
|
||||
including some specialised for particular languages, without needing to program
|
||||
to each library's interface.")
|
||||
(home-page "https://abiword.github.io/enchant/")
|
||||
(license lgpl2.1+)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue