mirror of https://github.com/djcb/mu.git
mu4e: add mu4e-pkg.el
This file provides information needed by package.el.
This commit is contained in:
parent
e94bf408f2
commit
00f7053d51
|
@ -194,7 +194,8 @@ endif
|
|||
|
||||
# emacs -- needed for mu4e compilation
|
||||
emacs_name=get_option('emacs')
|
||||
emacs=find_program([emacs_name], version: '>=26.3', required:false)
|
||||
emacs_min_version='26.3'
|
||||
emacs=find_program([emacs_name], version: '>='+emacs_min_version, required:false)
|
||||
if not emacs.found()
|
||||
message('emacs not found; not pre-compiling mu4e sources')
|
||||
endif
|
||||
|
|
|
@ -26,6 +26,16 @@ mu4e_meta = configure_file(
|
|||
'MU_DOC_DIR' : join_paths(datadir, 'doc', 'mu'),
|
||||
})
|
||||
|
||||
mu4e_pkg_desc = configure_file(
|
||||
input: 'mu4e-pkg.el.in',
|
||||
output: 'mu4e-pkg.el',
|
||||
install: true,
|
||||
install_dir: mu4e_lispdir,
|
||||
configuration: {
|
||||
'VERSION' : meson.project_version(),
|
||||
'EMACS_MIN_VERSION' : emacs_min_version,
|
||||
})
|
||||
|
||||
mu4e_srcs=[
|
||||
'mu4e-actions.el',
|
||||
'mu4e-bookmarks.el',
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
(define-package "mu4e" "@VERSION@"
|
||||
"part of mu4e, the mu mail user agent"
|
||||
'((emacs "@EMACS_MIN_VERSION@"))
|
||||
:authors '(("Dirk-Jan C. Binnema" . "djcb@djcbsoftware.nl"))
|
||||
:maintainer '("Dirk-Jan C. Binnema" . "djcb@djcbsoftware.nl")
|
||||
:keywords '("email"))
|
Loading…
Reference in New Issue