commit:     af883817a2c85f200035768a68c718c165402a66
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 27 22:58:03 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb  1 20:30:50 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af883817

x11-wm/cwm: Use make_session_desktop --eapi9

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 x11-wm/cwm/cwm-7.4.ebuild  | 9 +++++----
 x11-wm/cwm/cwm-9999.ebuild | 9 +++++----
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/x11-wm/cwm/cwm-7.4.ebuild b/x11-wm/cwm/cwm-7.4.ebuild
index 1b85c26ff5d7..43e95493dd34 100644
--- a/x11-wm/cwm/cwm-7.4.ebuild
+++ b/x11-wm/cwm/cwm-7.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,7 +8,7 @@ inherit desktop toolchain-funcs
 DESCRIPTION="OpenBSD fork of calmwm, a clean and lightweight window manager"
 HOMEPAGE="https://github.com/leahneukirchen/cwm";
 
-if [[ ${PV} == 9999 ]]; then
+if [[ ${PV} == *9999* ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/leahneukirchen/cwm.git";
 else
@@ -19,7 +19,8 @@ fi
 LICENSE="ISC"
 SLOT="0"
 
-DEPEND="x11-libs/libX11
+DEPEND="
+       x11-libs/libX11
        x11-libs/libXft
        x11-libs/libXrandr
 "
@@ -36,5 +37,5 @@ src_compile() {
 src_install() {
        emake DESTDIR="${D}" PREFIX=/usr install
        dodoc README
-       make_session_desktop ${PN} ${PN}
+       make_session_desktop --eapi9 ${PN} -X
 }

diff --git a/x11-wm/cwm/cwm-9999.ebuild b/x11-wm/cwm/cwm-9999.ebuild
index 43e81a32050f..e68f373d6ba2 100644
--- a/x11-wm/cwm/cwm-9999.ebuild
+++ b/x11-wm/cwm/cwm-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,7 +8,7 @@ inherit desktop toolchain-funcs
 DESCRIPTION="OpenBSD fork of calmwm, a clean and lightweight window manager"
 HOMEPAGE="https://github.com/leahneukirchen/cwm";
 
-if [[ ${PV} == 9999 ]]; then
+if [[ ${PV} == *9999* ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/leahneukirchen/cwm.git";
 else
@@ -19,7 +19,8 @@ fi
 LICENSE="ISC"
 SLOT="0"
 
-DEPEND="x11-libs/libX11
+DEPEND="
+       x11-libs/libX11
        x11-libs/libXft
        x11-libs/libXrandr
 "
@@ -36,5 +37,5 @@ src_compile() {
 src_install() {
        emake DESTDIR="${D}" PREFIX=/usr install
        dodoc README
-       make_session_desktop ${PN} ${PN}
+       make_session_desktop --eapi9 ${PN} -X
 }

Reply via email to