commit:     5f035ea9e8f2ac363c6c3989c0b413514104de39
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 12:30:40 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 12:37:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f035ea9

x11-wm/stumpwm: add 22.05_p20220818, drop 22.05

 - add optfeature,
 - rename the ebuild to match the snapshot commit date,
 - restrict make with -j1 - had random build failures with `nproc`.

Closes: https://bugs.gentoo.org/770976
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../{stumpwm-22.05.ebuild => stumpwm-22.05_p20220818.ebuild}     | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/x11-wm/stumpwm/stumpwm-22.05.ebuild 
b/x11-wm/stumpwm/stumpwm-22.05_p20220818.ebuild
similarity index 90%
rename from x11-wm/stumpwm/stumpwm-22.05.ebuild
rename to x11-wm/stumpwm/stumpwm-22.05_p20220818.ebuild
index 5efbf724926a..ec421ca8a134 100644
--- a/x11-wm/stumpwm/stumpwm-22.05.ebuild
+++ b/x11-wm/stumpwm/stumpwm-22.05_p20220818.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit common-lisp-3 autotools desktop elisp-common xdg-utils
+inherit common-lisp-3 autotools desktop elisp-common optfeature xdg-utils
 
 MY_COMMIT="740e945d742d85aef36e0ed9467de9bbbf5eafd2"
 
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/stumpwm/stumpwm/archive/${MY_COMMIT}.tar.gz -> ${PN}
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="contrib doc emacs"
+IUSE="doc emacs"
 
 S="${WORKDIR}/${PN}-${MY_COMMIT}"
 
@@ -29,8 +29,6 @@ DEPEND="${RDEPEND}"
 BDEPEND="sys-apps/texinfo
                doc? ( virtual/texi2dvi )"
 
-PDEPEND="contrib? ( x11-wm/stumpwm-contrib )"
-
 SITEFILE=70${PN}-gentoo.el
 CLPKGDIR="${CLSOURCEROOT}/${CLPACKAGE}"
 
@@ -56,7 +54,7 @@ src_configure() {
 }
 
 src_compile() {
-       emake
+       emake -j1
 }
 
 src_install() {
@@ -73,6 +71,7 @@ src_install() {
 
 pkg_postinst() {
        use emacs && elisp-site-regen
+       optfeature "extension modules" x11-wm/stumpwm-contrib
 }
 
 pkg_postrm() {

Reply via email to