summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2024-08-03 09:57:41 +0200
committerPacho Ramos <pacho@gentoo.org>2024-08-03 10:06:12 +0200
commit28956a12ee23bff69f297dc0fc03ed5c80994bf2 (patch)
tree6f3a0868cb94b5e12857ed84e6fcb9b32cd589ff /gnome-base
parentnet-libs/msgraph: Fix dependencies (diff)
downloadgentoo-28956a12ee23bff69f297dc0fc03ed5c80994bf2.tar.gz
gentoo-28956a12ee23bff69f297dc0fc03ed5c80994bf2.tar.bz2
gentoo-28956a12ee23bff69f297dc0fc03ed5c80994bf2.zip
gnome-base/gnome-session: Install unit files unconditionally
They won't break on elogind systems and, in general, we are not allowing to install/drop unit files depending on "systemd" USE flag (as we do for openrc files). Closes: https://bugs.gentoo.org/937087 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gnome-base')
-rw-r--r--gnome-base/gnome-session/gnome-session-46.0-r1.ebuild (renamed from gnome-base/gnome-session/gnome-session-46.0.ebuild)4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnome-base/gnome-session/gnome-session-46.0.ebuild b/gnome-base/gnome-session/gnome-session-46.0-r1.ebuild
index d178a939e800..17cf22e35c43 100644
--- a/gnome-base/gnome-session/gnome-session-46.0.ebuild
+++ b/gnome-base/gnome-session/gnome-session-46.0-r1.ebuild
@@ -76,10 +76,8 @@ src_configure() {
-Dsession_selector=true # gnome-custom-session
$(meson_use doc docbook)
-Dman=true
+ -Dsystemduserunitdir="$(systemd_get_userunitdir)"
)
- use systemd && local emesonargs+=( -Dsystemduserunitdir="$(systemd_get_userunitdir)" )
- # Set a dummy systemduserunitdir to avoid dependency on systemd
- use elogind && local emesonargs+=( -Dsystemduserunitdir="${T}" )
meson_src_configure
}