From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E23101396D9 for ; Sat, 28 Oct 2017 14:49:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5761FE0C01; Sat, 28 Oct 2017 14:49:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 361D9E0C01 for ; Sat, 28 Oct 2017 14:49:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E2C6341646 for ; Sat, 28 Oct 2017 14:49:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 112EE41F for ; Sat, 28 Oct 2017 14:49:40 +0000 (UTC) From: "José María Alonso" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "José María Alonso" Message-ID: <1509202174.28aa04796bfe5efc0b87b7c0ee677f8d0b72e42c.nimiux@gentoo> Subject: [gentoo-commits] proj/lisp:master commit in: x11-wm/stumpwm/ X-VCS-Repository: proj/lisp X-VCS-Files: x11-wm/stumpwm/stumpwm-1.0.1_rc.ebuild X-VCS-Directories: x11-wm/stumpwm/ X-VCS-Committer: nimiux X-VCS-Committer-Name: José María Alonso X-VCS-Revision: 28aa04796bfe5efc0b87b7c0ee677f8d0b72e42c X-VCS-Branch: master Date: Sat, 28 Oct 2017 14:49:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3f74cd02-c0ce-459f-a98f-4d7cb1cf7b61 X-Archives-Hash: 7acc4a47f885800a9a70c057df530af7 commit: 28aa04796bfe5efc0b87b7c0ee677f8d0b72e42c Author: Chema Alonso Josa gentoo org> AuthorDate: Sat Oct 28 14:49:34 2017 +0000 Commit: José María Alonso gentoo org> CommitDate: Sat Oct 28 14:49:34 2017 +0000 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=28aa0479 x11-wm/stumpwm: Bumps version to 1.0.1-rc x11-wm/stumpwm/stumpwm-1.0.1_rc.ebuild | 77 ++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/x11-wm/stumpwm/stumpwm-1.0.1_rc.ebuild b/x11-wm/stumpwm/stumpwm-1.0.1_rc.ebuild new file mode 100644 index 00000000..13ae3486 --- /dev/null +++ b/x11-wm/stumpwm/stumpwm-1.0.1_rc.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit common-lisp-3 autotools elisp-common xdg-utils versionator + +MY_PV="$(replace_version_separator '_' '-')" + +DESCRIPTION="Stumpwm is a Window Manager written entirely in Common Lisp." +HOMEPAGE="https://stumpwm.github.io/" +SRC_URI="https://github.com/stumpwm/stumpwm/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="contrib doc emacs" + +RESTRICT="strip mirror" + +RDEPEND="dev-lisp/cl-ppcre + >=dev-lisp/sbcl-1.3.0 + emacs? ( virtual/emacs app-emacs/slime )" +DEPEND="${RDEPEND} + sys-apps/texinfo + doc? ( virtual/texi2dvi )" + +PDEPEND="contrib? ( x11-wm/stumpwm-contrib )" + +S="${WORKDIR}/${PN}-${MY_PV}" +SITEFILE=70${PN}-gentoo.el +CLPKGDIR="${CLSOURCEROOT}/${CLPACKAGE}" + +install_docs() { + local pdffile="${PN}.pdf" + + texi2pdf -o "${pdffile}" "${PN}.texi.in" && dodoc "${pdffile}" || die + cp "${FILESDIR}/README.Gentoo" . && sed -i "s:@VERSION@:${PV}:" README.Gentoo || die + dodoc AUTHORS NEWS README.md README.Gentoo + doinfo "${PN}.info" + docinto examples + dodoc sample-stumpwmrc.lisp +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + xdg_environment_reset + econf --with-lisp=sbcl +} + +src_compile() { + emake -j1 +} + +src_install() { + dobin stumpwm + make_session_desktop StumpWM /usr/bin/stumpwm + + common-lisp-install-sources *.lisp + common-lisp-install-asdf + # Fix ASDF dir + sed -i -e "/(:directory/c\ (:directory \"${CLPKGDIR}\")" \ + "${D}${CLPKGDIR}/load-stumpwm.lisp" || die + use doc && install_docs +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +}