diff options
author | 2023-02-05 17:22:32 +0100 | |
---|---|---|
committer | 2023-02-05 17:22:32 +0100 | |
commit | af37fb9223adfaa66399a426d785ced4f9ae1bd6 (patch) | |
tree | fb0e3f8ebbef1b9c0dee98871547b23539c6a801 /x11-misc | |
parent | x11-misc/sddm: Adapt to upstream changes for 0.20.0 release prep (diff) | |
download | qt-af37fb9223adfaa66399a426d785ced4f9ae1bd6.tar.gz qt-af37fb9223adfaa66399a426d785ced4f9ae1bd6.tar.bz2 qt-af37fb9223adfaa66399a426d785ced4f9ae1bd6.zip |
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@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/sddm/sddm-9999.ebuild | 9 |
1 files 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 |