# Copyright 2025-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="Gentoo defaults for SDDM (Simple Desktop Display Manager)" HOMEPAGE="https://wiki.gentoo.org/wiki/SDDM" SRC_URI="" S=${WORKDIR} LICENSE="public-domain" SLOT="0" KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" IUSE="kwin systemd weston" REQUIRED_USE="?? ( kwin weston )" RDEPEND=" !> "${T}"/${GEN2CONF} <<- _EOF_ || die [General] # Remove qtvirtualkeyboard as InputMethod default InputMethod= # Which display server should be used DisplayServer=$(_displayserver) _EOF_ if use kwin; then cat >> "${T}"/${GEN2CONF} <<- _EOF_ || die GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell [Wayland] CompositorCommand=$(_compositorcommand) _EOF_ fi default } src_install() { insinto /etc/sddm.conf.d/ doins "${T}"/${GEN2CONF} }