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/lyskom-elisp-client/
Date: Wed, 26 Feb 2020 21:03:49
Message-Id: 1582750970.a0be7bbfbc69bfbc747adfc530034cb25c65318b.ulm@gentoo
1 commit: a0be7bbfbc69bfbc747adfc530034cb25c65318b
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 26 21:02:50 2020 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 26 21:02:50 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0be7bbf
7
8 app-emacs/lyskom-elisp-client: New snapshot.
9
10 Closes: https://bugs.gentoo.org/710824
11 Package-Manager: Portage-2.3.89, Repoman-2.3.20
12 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
13
14 app-emacs/lyskom-elisp-client/Manifest | 1 +
15 .../lyskom-elisp-client-0.48_p20200226.ebuild | 44 ++++++++++++++++++++++
16 2 files changed, 45 insertions(+)
17
18 diff --git a/app-emacs/lyskom-elisp-client/Manifest b/app-emacs/lyskom-elisp-client/Manifest
19 index 52c82ae53df..595a1116f29 100644
20 --- a/app-emacs/lyskom-elisp-client/Manifest
21 +++ b/app-emacs/lyskom-elisp-client/Manifest
22 @@ -1 +1,2 @@
23 DIST lyskom-elisp-client-0.48_p20180410.tar.xz 889468 BLAKE2B b8a1766b6f6b1d4b01676792f45d66517cdc43d2e29ae6e5b0704b90e4dfc749f8e4155159fd28a25426d79502bcaf7f2cbded32b2e64e22b2b36f11cbdbd123 SHA512 efb04b2100d59fac971898a6db3e48cf45e3bdc4455f06a0cdd065a97db5441edd4eda2e838a5e88c0b0246387dba0e3f71777892b3a6889c51960f0259fbdfc
24 +DIST lyskom-elisp-client-0.48_p20200226.tar.xz 896372 BLAKE2B e9d2c7db2cbce40fa48a788c09db052ff819db2cb00848c735646c8d6fc72ea808c03881295bf91d5cb37ce63ceebf6d4537674b9a87946c75a0a92c613eb37b SHA512 901257ef054e5700038cc59712d02e855920851782bf0d44090e1db500f545fee44e47c70c8036bb29a92056c2e72ff48ac518ccdb36ab84c18a6ac18e309529
25
26 diff --git a/app-emacs/lyskom-elisp-client/lyskom-elisp-client-0.48_p20200226.ebuild b/app-emacs/lyskom-elisp-client/lyskom-elisp-client-0.48_p20200226.ebuild
27 new file mode 100644
28 index 00000000000..ba69615e727
29 --- /dev/null
30 +++ b/app-emacs/lyskom-elisp-client/lyskom-elisp-client-0.48_p20200226.ebuild
31 @@ -0,0 +1,44 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit elisp readme.gentoo-r1
38 +
39 +DESCRIPTION="Elisp client for the LysKOM conference system"
40 +HOMEPAGE="http://www.lysator.liu.se/lyskom/klienter/emacslisp/index.en.html"
41 +# snapshot of git://git.lysator.liu.se/${PN}/${PN}.git
42 +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
43 +
44 +LICENSE="GPL-2+"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~sparc ~x86"
47 +IUSE="l10n_sv"
48 +
49 +S="${WORKDIR}/${PN}"
50 +ELISP_PATCHES="${PN}-0.48_p20161231-no-git.patch"
51 +SITEFILE="50${PN}-gentoo.el"
52 +
53 +src_prepare() {
54 + elisp_src_prepare
55 + local d=${PV#*_p}
56 + sed -i "s/@@DATE@@/${d:0:4}-${d:4:2}-${d:6:2}/" src/Makefile || die
57 +}
58 +
59 +src_compile() {
60 + emake -C src EMACS=emacs
61 + # Info page is in Swedish only
62 + use l10n_sv && emake -C doc elisp-client
63 +}
64 +
65 +src_install() {
66 + elisp-install ${PN} src/lyskom.{el,elc}
67 + elisp-site-file-install "${FILESDIR}/${SITEFILE}"
68 + dodoc src/{ChangeLog*,README,TODO} doc/NEWS*
69 + use l10n_sv && doinfo doc/elisp-client
70 +
71 + DOC_CONTENTS="If you prefer an English language environment, add the
72 + following line to your ~/.emacs file:
73 + \n\t(setq-default kom-default-language 'en)"
74 + readme.gentoo_create_doc
75 +}