diff options
author | 2024-07-24 17:31:11 +0200 | |
---|---|---|
committer | 2024-07-24 18:50:20 +0200 | |
commit | da3a56e69b94c3af5b64b009d800c1fc63c5a102 (patch) | |
tree | 0e4a758e8bd50d3d79f19c3d6b7114e30e2f1bca /x11-misc | |
parent | x11-misc/sddm: 0.21.0_p20240723-r10 version bump (Qt6-based) (diff) | |
download | gentoo-da3a56e69b94c3af5b64b009d800c1fc63c5a102.tar.gz gentoo-da3a56e69b94c3af5b64b009d800c1fc63c5a102.tar.bz2 gentoo-da3a56e69b94c3af5b64b009d800c1fc63c5a102.zip |
x11-misc/sddm: Drop 0.21.0_p20240302
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/sddm/sddm-0.21.0_p20240302.ebuild | 153 |
1 files changed, 0 insertions, 153 deletions
diff --git a/x11-misc/sddm/sddm-0.21.0_p20240302.ebuild b/x11-misc/sddm/sddm-0.21.0_p20240302.ebuild deleted file mode 100644 index 744f832c4ac8..000000000000 --- a/x11-misc/sddm/sddm-0.21.0_p20240302.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PAM_TAR="${PN}-0.21.0-pam" -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" -else - COMMIT=ae072f901671b68861da9577e3e12e350a9053d5 - SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${COMMIT}" - KEYWORDS="~amd64 ~arm64 ~riscv ~x86" -fi - -QTMIN=6.7.1 -inherit cmake linux-info optfeature pam systemd tmpfiles - -DESCRIPTION="Simple Desktop Display Manager" -HOMEPAGE="https://github.com/sddm/sddm" -SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PAM_TAR}.tar.xz" - -LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain" -SLOT="0" -IUSE="+elogind systemd test +X" - -REQUIRED_USE="^^ ( elogind systemd )" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - acct-group/sddm - acct-user/sddm - >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network] - >=dev-qt/qtdeclarative-${QTMIN}:6 - sys-libs/pam - x11-libs/libXau - x11-libs/libxcb:= - elogind? ( - sys-auth/elogind[pam] - sys-power/upower - ) - systemd? ( sys-apps/systemd:=[pam] ) -" -DEPEND="${COMMON_DEPEND} - test? ( >=dev-qt/qtbase-${QTMIN}:6 ) -" -RDEPEND="${COMMON_DEPEND} - X? ( x11-base/xorg-server ) - !systemd? ( gui-libs/display-manager-init ) -" -BDEPEND=" - dev-python/docutils - >=dev-build/cmake-3.25.0 - >=dev-qt/qttools-${QTMIN}[linguist] - kde-frameworks/extra-cmake-modules:0 - virtual/pkgconfig -" - -PATCHES=( - # Downstream patches - "${FILESDIR}/${PN}-0.20.0-respect-user-flags.patch" - "${FILESDIR}/${PN}-0.21.0-Xsession.patch" # bug 611210 -) - -pkg_setup() { - local CONFIG_CHECK="~DRM" - use kernel_linux && linux-info_pkg_setup -} - -src_unpack() { - [[ ${PV} == *9999* ]] && git-r3_src_unpack - default -} - -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 - sed -e "/^find_package/s/ Test//" -i CMakeLists.txt || die - cmake_comment_add_subdirectory test - fi - - if use systemd; then - sed -e "/pam_elogind.so/s/elogind/systemd/" \ - -i "${WORKDIR}"/${PAM_TAR}/${PN}-greeter.pam || die - fi -} - -src_configure() { - local mycmakeargs=( - -DBUILD_MAN_PAGES=ON - -DBUILD_WITH_QT6=ON - -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf" - -DRUNTIME_DIR=/run/sddm - -DSYSTEMD_TMPFILES_DIR="/usr/lib/tmpfiles.d" - -DNO_SYSTEMD=$(usex !systemd) - -DUSE_ELOGIND=$(usex elogind) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - insinto /etc/sddm.conf.d/ - doins "${S}"/01gentoo.conf - - # with systemd logs are sent to journald, so no point to bother in that case - if ! use systemd; then - insinto /etc/logrotate.d - newins "${FILESDIR}/sddm.logrotate" sddm - fi - - newpamd "${WORKDIR}"/${PAM_TAR}/${PN}.pam ${PN} - newpamd "${WORKDIR}"/${PAM_TAR}/${PN}-autologin.pam ${PN}-autologin - newpamd "${WORKDIR}"/${PAM_TAR}/${PN}-greeter.pam ${PN}-greeter -} - -pkg_postinst() { - tmpfiles_process "${PN}.conf" - - elog "NOTE: If SDDM startup appears to hang then entropy pool is too low." - elog "This can be fixed by configuring one of the following:" - elog " - Enable CONFIG_RANDOM_TRUST_CPU in linux kernel" - elog " - # emerge sys-apps/haveged && rc-update add haveged boot" - elog " - # emerge sys-apps/rng-tools && rc-update add rngd boot" - elog - elog "SDDM example config can be shown with:" - elog " ${EROOT}/usr/bin/sddm --example-config" - elog "Use ${EROOT}/etc/sddm.conf.d/ directory to override specific options." - elog - elog "For more information on how to configure SDDM, please visit the wiki:" - elog " https://wiki.gentoo.org/wiki/SDDM" - if has_version x11-drivers/nvidia-drivers; then - elog - elog " Nvidia GPU owners in particular should pay attention" - elog " to the troubleshooting section." - fi - - optfeature "Weston DisplayServer support (EXPERIMENTAL)" "dev-libs/weston[kiosk]" - optfeature "KWin DisplayServer support (EXPERIMENTAL)" "kde-plasma/kwin" - - systemd_reenable sddm.service -} |