mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
gnu: gmime: Download sources from the git repository.
* gnu/packages/mail.scm (gmime)[source]: Use GIT-FETCH and GIT-FILE-NAME. [arguments]: Add "--enable-gtk-doc=yes" to #:configure-flags. Don't explicitly return #t from phases. [native-inputs]: Add autoconf, automake, gtk-doc, libtool, and which.
This commit is contained in:
parent
1b8f9cea9b
commit
ba20f088b9
1 changed files with 21 additions and 13 deletions
|
@ -761,22 +761,31 @@ (define-public gmime
|
|||
(package
|
||||
(name "gmime")
|
||||
(version "3.2.7")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/gmime/"
|
||||
(version-major+minor version)
|
||||
"/gmime-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0i3xfc84qn1z99i70q68kbnp9rmgqrnprqb418ba52s6g9j9dsia"))))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/jstedfast/gmime")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0yiylbw9iy49hgj29czinv246hh5c18qv6qkvbdrmq9z5m00sp01"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
(list pkg-config gnupg ; for tests only
|
||||
gobject-introspection vala))
|
||||
(list autoconf
|
||||
automake
|
||||
pkg-config
|
||||
gnupg ; for tests only
|
||||
gobject-introspection
|
||||
gtk-doc
|
||||
libtool
|
||||
vala
|
||||
which)) ; to find libtool, &c.
|
||||
(inputs (list glib gpgme zlib))
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
(list "--enable-introspection=yes")
|
||||
(list "--enable-gtk-doc=yes"
|
||||
"--enable-introspection=yes")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after
|
||||
|
@ -792,8 +801,7 @@ (define-public gmime
|
|||
(let* ((base (basename prog-path))
|
||||
(prog (which base)))
|
||||
(string-append pre
|
||||
(or prog (error "not found: " base)))))))
|
||||
#t)))))
|
||||
(or prog (error "not found: " base))))))))))))
|
||||
(home-page "http://spruce.sourceforge.net/gmime/")
|
||||
(synopsis "MIME message parser and creator library")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue