Skip to content

Commit

Permalink
x11-misc/sddm: Drop IUSE X, config moved to gui-apps/sddm-gentoo-config
Browse files Browse the repository at this point in the history
SDDM may use xorg-server or weston as DisplayServer at runtime, since
we can't have optional runtime dependencies, our newly created defaults
config package will settle that.

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
  • Loading branch information
a17r committed Mar 22, 2023
1 parent abdf4c6 commit 39591a0
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions x11-misc/sddm/sddm-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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 systemd test +X"
IUSE="+elogind systemd test"

REQUIRED_USE="^^ ( elogind systemd )"
RESTRICT="!test? ( test )"
Expand All @@ -43,7 +43,7 @@ DEPEND="${COMMON_DEPEND}
test? ( >=dev-qt/qttest-${QTMIN}:5 )
"
RDEPEND="${COMMON_DEPEND}
X? ( x11-base/xorg-server )
gui-apps/sddm-gentoo-config
!systemd? ( gui-libs/display-manager-init )
"
BDEPEND="
Expand All @@ -68,14 +68,6 @@ pkg_setup() {
}

src_prepare() {
touch 01gentoo.conf || die

cat <<-EOF >> 01gentoo.conf
[General]
# Remove qtvirtualkeyboard as InputMethod default
InputMethod=
EOF

cmake_src_prepare

if ! use test; then
Expand All @@ -96,13 +88,6 @@ src_configure() {
cmake_src_configure
}

src_install() {
cmake_src_install

insinto /etc/sddm.conf.d/
doins "${S}"/01gentoo.conf
}

pkg_postinst() {
tmpfiles_process "${PN}.conf"

Expand Down

0 comments on commit 39591a0

Please sign in to comment.