me
/
guix
Archived
1
0
Fork 0

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.
master
Tobias Geerinckx-Rice 2023-07-02 02:00:05 +02:00
parent 1b8f9cea9b
commit ba20f088b9
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 21 additions and 13 deletions

View File

@ -761,22 +761,31 @@ It adds a large amount of new and improved features to mutt.")
(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 @@ It adds a large amount of new and improved features to mutt.")
(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