Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/stumpwm/
Date: Thu, 31 May 2018 16:47:10
Message-Id: 1527785217.1e775b40de919fcfae5136f0b3981fc811a7ba80.nimiux@gentoo
1 commit: 1e775b40de919fcfae5136f0b3981fc811a7ba80
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 31 16:46:57 2018 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Thu May 31 16:46:57 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e775b40
7
8 x11-wm/stumpwm: Bump version to 18.05
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 x11-wm/stumpwm/Manifest | 1 +
13 x11-wm/stumpwm/stumpwm-18.05.ebuild | 76 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 77 insertions(+)
15
16 diff --git a/x11-wm/stumpwm/Manifest b/x11-wm/stumpwm/Manifest
17 index 86244f097df..1f6eb268fc1 100644
18 --- a/x11-wm/stumpwm/Manifest
19 +++ b/x11-wm/stumpwm/Manifest
20 @@ -1 +1,2 @@
21 DIST stumpwm-1.0.1_rc.tar.gz 197530 BLAKE2B 2883ee8a0f75d3c673f6b6f65675c98e9fad8ef181b3ed9cf8bbd5eed7c0d63f3f48d021d056265d4e6c14dd0594bfe3a36492cd9bcdf2b3379d2aa62eba1f67 SHA512 3ba68987e61bdb46fde9c6bbed82b630be1db3272bdfb844a9d7abf3f810e94e560a28d4951308cab5af1f93b35710b10bb1a1a35450a8445a1b959888266df2
22 +DIST stumpwm-18.05.tar.gz 199467 BLAKE2B d532a531b7ceec7a80be66563dc2f36a6f1957d1e0f014ccf61cac1edf23073370dbe7cf3d7004f6dab144a88a4b54360e82ce7b13bdbc40cba59adfcb8e8af1 SHA512 a28c0af3a82670c0f31a5839227301672cc0706c47fb353355f90f791944556fb6125f3fa4d8547e6fbcf4817cdac5b0fe47de2dbae3a304d631a895af6ddb35
23
24 diff --git a/x11-wm/stumpwm/stumpwm-18.05.ebuild b/x11-wm/stumpwm/stumpwm-18.05.ebuild
25 new file mode 100644
26 index 00000000000..1da69a1a899
27 --- /dev/null
28 +++ b/x11-wm/stumpwm/stumpwm-18.05.ebuild
29 @@ -0,0 +1,76 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +inherit common-lisp-3 autotools elisp-common xdg-utils versionator
36 +
37 +DESCRIPTION="Stumpwm is a Window Manager written entirely in Common Lisp."
38 +HOMEPAGE="https://stumpwm.github.io/"
39 +SRC_URI="https://github.com/stumpwm/stumpwm/archive/${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="GPL-2"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE="contrib doc emacs"
45 +
46 +RESTRICT="strip mirror"
47 +
48 +RDEPEND="dev-lisp/alexandria
49 + dev-lisp/cl-ppcre
50 + dev-lisp/clx
51 + >=dev-lisp/sbcl-1.3.0
52 + emacs? ( virtual/emacs app-emacs/slime )"
53 +DEPEND="${RDEPEND}
54 + sys-apps/texinfo
55 + doc? ( virtual/texi2dvi )"
56 +
57 +PDEPEND="contrib? ( x11-wm/stumpwm-contrib )"
58 +
59 +SITEFILE=70${PN}-gentoo.el
60 +CLPKGDIR="${CLSOURCEROOT}/${CLPACKAGE}"
61 +
62 +install_docs() {
63 + local pdffile="${PN}.pdf"
64 +
65 + texi2pdf -o "${pdffile}" "${PN}.texi.in" && dodoc "${pdffile}" || die
66 + cp "${FILESDIR}/README.Gentoo" . && sed -i "s:@VERSION@:${PV}:" README.Gentoo || die
67 + dodoc AUTHORS NEWS README.md README.Gentoo
68 + doinfo "${PN}.info"
69 + docinto examples
70 + dodoc sample-stumpwmrc.lisp
71 +}
72 +
73 +src_prepare() {
74 + default
75 + eautoreconf
76 +}
77 +
78 +src_configure() {
79 + xdg_environment_reset
80 + econf --with-lisp=sbcl
81 +}
82 +
83 +src_compile() {
84 + emake
85 +}
86 +
87 +src_install() {
88 + dobin stumpwm
89 + make_session_desktop StumpWM /usr/bin/stumpwm
90 +
91 + common-lisp-install-sources *.lisp
92 + common-lisp-install-asdf
93 + # Fix ASDF dir
94 + sed -i -e "/(:directory/c\ (:directory \"${CLPKGDIR}\")" \
95 + "${D}${CLPKGDIR}/load-stumpwm.lisp" || die
96 + use doc && install_docs
97 +}
98 +
99 +pkg_postinst() {
100 + use emacs && elisp-site-regen
101 +}
102 +
103 +pkg_postrm() {
104 + use emacs && elisp-site-regen
105 +}