mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
x11-misc/sddm: only set SDDM_INITIAL_VT with elogind
Bug: https://bugs.gentoo.org/956850 Bug: https://bugs.gentoo.org/956847 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -102,10 +102,16 @@ src_configure() {
|
||||
-DSYSTEMD_TMPFILES_DIR="/usr/lib/tmpfiles.d"
|
||||
-DNO_SYSTEMD=$(usex !systemd)
|
||||
-DUSE_ELOGIND=$(usex elogind)
|
||||
# try to use VT7 first.
|
||||
# Keep the same as CHECKVT from display-manager
|
||||
-DSDDM_INITIAL_VT=7
|
||||
)
|
||||
|
||||
if use elogind; then
|
||||
mycmakeargs+=(
|
||||
# try to use VT7 first.
|
||||
# Keep the same as CHECKVT from display-manager
|
||||
-DSDDM_INITIAL_VT=7
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user