commit: af37fb9223adfaa66399a426d785ced4f9ae1bd6 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Feb 5 16:22:32 2023 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Feb 5 16:22:32 2023 +0000 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=af37fb92
x11-misc/sddm: Hide x11-base/xorg-server behind IUSE=X for now It is certainly not required for build, and likely only existed to ensure xdm init script was there. Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> x11-misc/sddm/sddm-9999.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/x11-misc/sddm/sddm-9999.ebuild b/x11-misc/sddm/sddm-9999.ebuild index 1c137b41..ba7c4f44 100644 --- a/x11-misc/sddm/sddm-9999.ebuild +++ b/x11-misc/sddm/sddm-9999.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/sddm/sddm" LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain" SLOT="0" -IUSE="+elogind +pam systemd test" +IUSE="+elogind +pam systemd test +X" REQUIRED_USE="?? ( elogind systemd )" RESTRICT="!test? ( test )" @@ -32,7 +32,6 @@ COMMON_DEPEND=" >=dev-qt/qtdeclarative-${QTMIN}:5 >=dev-qt/qtgui-${QTMIN}:5 >=dev-qt/qtnetwork-${QTMIN}:5 - x11-base/xorg-server x11-libs/libxcb:= elogind? ( sys-auth/elogind ) pam? ( sys-libs/pam ) @@ -44,6 +43,7 @@ DEPEND="${COMMON_DEPEND} test? ( >=dev-qt/qttest-${QTMIN}:5 ) " RDEPEND="${COMMON_DEPEND} + X? ( x11-base/xorg-server ) !systemd? ( gui-libs/display-manager-init ) " BDEPEND=" @@ -72,9 +72,12 @@ pkg_setup() { src_prepare() { touch 01gentoo.conf || die - if use elogind || use systemd; then cat <<-EOF >> 01gentoo.conf [General] +EOF + + if use elogind || use systemd; then +cat <<-EOF >> 01gentoo.conf # Halt/Reboot command HaltCommand=$(usex elogind "loginctl" "systemctl") poweroff RebootCommand=$(usex elogind "loginctl" "systemctl") reboot
