Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/vm/
Date: Mon, 27 Sep 2021 16:56:13
Message-Id: 1632761748.eca29d7f2950d5949fef42a05d9e003e467a48b0.ulm@gentoo
1 commit: eca29d7f2950d5949fef42a05d9e003e467a48b0
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 25 09:53:47 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 27 16:55:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eca29d7f
7
8 Revert "app-emacs/vm: remove -9999 ebuild due to ::gentoo not havgin bzr"
9
10 This reverts commit 1072d5e9992ac753dbcbfff6541f6a6f6f7fc913.
11
12 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
13
14 app-emacs/vm/vm-9999.ebuild | 58 +++++++++++++++++++++++++++++++++++++++++++++
15 1 file changed, 58 insertions(+)
16
17 diff --git a/app-emacs/vm/vm-9999.ebuild b/app-emacs/vm/vm-9999.ebuild
18 new file mode 100644
19 index 00000000000..7834ef8f589
20 --- /dev/null
21 +++ b/app-emacs/vm/vm-9999.ebuild
22 @@ -0,0 +1,58 @@
23 +# Copyright 1999-2019 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +inherit elisp bzr autotools
29 +
30 +DESCRIPTION="The VM mail reader for Emacs"
31 +HOMEPAGE="http://www.nongnu.org/viewmail/"
32 +EBZR_REPO_URI="lp:vm"
33 +
34 +LICENSE="GPL-2+"
35 +SLOT="0"
36 +IUSE="bbdb ssl"
37 +
38 +BDEPEND="bbdb? ( app-emacs/bbdb )"
39 +RDEPEND="${BDEPEND}
40 + ssl? ( net-misc/stunnel )"
41 +BDEPEND="${BDEPEND}
42 + sys-apps/texinfo"
43 +
44 +SITEFILE="50${PN}-gentoo.el"
45 +
46 +src_prepare() {
47 + eapply "${FILESDIR}"/vm-8.2.0_beta-texinfo-encoding.patch
48 + if ! use bbdb; then
49 + elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
50 + eapply "${FILESDIR}/${PN}-8.0-no-pcrisis.patch"
51 + fi
52 + eapply_user
53 + eautoreconf
54 +}
55 +
56 +src_configure() {
57 + econf \
58 + --with-emacs="emacs" \
59 + --with-lispdir="${SITELISP}/${PN}" \
60 + --with-etcdir="${SITEETC}/${PN}" \
61 + --with-docdir="/usr/share/doc/${PF}" \
62 + $(use bbdb && echo "--with-other-dirs=${SITELISP}/bbdb")
63 +}
64 +
65 +src_compile() {
66 + emake -j1
67 +}
68 +
69 +src_install() {
70 + emake -j1 DESTDIR="${D}" install
71 + elisp-site-file-install "${FILESDIR}/${SITEFILE}"
72 +
73 + # delete duplicate documentation
74 + find "${D}/${SITEETC}/${PN}" -type d -name pixmaps -prune \
75 + -o -type f -exec rm '{}' '+' || die
76 +
77 + dodoc example.vm
78 + # NEWS is accessed from lisp and must not be compressed
79 + docompress -x /usr/share/doc/${PF}/NEWS
80 +}