Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/gtypist: ChangeLog gtypist-2.9.5.ebuild
Date: Thu, 04 Sep 2014 21:14:14
Message-Id: 20140904211410.1C10D4BA5@oystercatcher.gentoo.org
1 jer 14/09/04 21:14:10
2
3 Modified: ChangeLog
4 Added: gtypist-2.9.5.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.35 app-misc/gtypist/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/ChangeLog?rev=1.35&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/ChangeLog?rev=1.35&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/ChangeLog?r1=1.34&r2=1.35
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-misc/gtypist/ChangeLog,v
20 retrieving revision 1.34
21 retrieving revision 1.35
22 diff -u -r1.34 -r1.35
23 --- ChangeLog 13 Jan 2013 14:58:18 -0000 1.34
24 +++ ChangeLog 4 Sep 2014 21:14:10 -0000 1.35
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-misc/gtypist
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-misc/gtypist/ChangeLog,v 1.34 2013/01/13 14:58:18 ago Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-misc/gtypist/ChangeLog,v 1.35 2014/09/04 21:14:10 jer Exp $
31 +
32 +*gtypist-2.9.5 (04 Sep 2014)
33 +
34 + 04 Sep 2014; Jeroen Roovers <jer@g.o> +gtypist-2.9.5.ebuild:
35 + Version bump.
36
37 *gtypist-2.9.2 (13 Jan 2013)
38
39
40
41
42 1.1 app-misc/gtypist/gtypist-2.9.5.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/gtypist-2.9.5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/gtypist-2.9.5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gtypist-2.9.5.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-misc/gtypist/gtypist-2.9.5.ebuild,v 1.1 2014/09/04 21:14:10 jer Exp $
52
53 EAPI=5
54 inherit eutils elisp-common
55
56 DESCRIPTION="Universal typing tutor"
57 HOMEPAGE="http://www.gnu.org/software/gtypist/"
58 SRC_URI="mirror://gnu/gtypist/${P}.tar.xz
59 http://colemak.com/pub/learn/colemak.typ"
60
61 LICENSE="GPL-2 public-domain"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
64 IUSE="nls emacs xemacs"
65
66 DEPEND="
67 >=sys-libs/ncurses-5.2
68 emacs? ( virtual/emacs )
69 xemacs? ( !emacs? ( app-editors/xemacs app-xemacs/fsf-compat ) )
70 "
71 RDEPEND="${DEPEND}"
72
73 SITEFILE=50${PN}-gentoo.el
74
75 src_unpack() {
76 unpack ${P}.tar.xz
77 }
78
79 src_prepare() {
80 epatch "${FILESDIR}"/${PN}-2.8.3-xemacs-compat.patch
81 }
82
83 src_configure() {
84 local lispdir=""
85 if use emacs; then
86 lispdir="${SITELISP}/${PN}"
87 einfo "Configuring to build with GNU Emacs support"
88 elif use xemacs; then
89 lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/lisp/${PN}"
90 einfo "Configuring to build with XEmacs support"
91 fi
92
93 econf \
94 $(use_enable nls) \
95 EMACS=$(usev emacs || usev xemacs || echo no) \
96 --with-lispdir="${lispdir}"
97 }
98
99 DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
100
101 src_install() {
102 default
103
104 insinto /usr/share/gtypist
105 doins "${DISTDIR}"/colemak.typ
106
107 if use emacs; then
108 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
109 fi
110 }
111
112 pkg_postinst() {
113 use emacs && elisp-site-regen
114 }
115
116 pkg_postrm() {
117 use emacs && elisp-site-regen
118 }