mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-misc/sddm: Remove old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST sddm-0.14.0.tar.xz 3298360 SHA256 7e348258618b20f777767a98f9e377b48824b5cb5aad3a3f10f8482c1eb27778 SHA512 ae6f02e168dbb4ef1d5d360e6b26a2c45a9891fba9d53b73d41a5cc14906f3fcca3bde6d16d7bb109132d23e3e0e768c5976934fd2f59c23d919cc9f81fbd366 WHIRLPOOL d7d80c5d1e8eb5016fa6f5909026bb477293b4356b9caff92d741c936534504e35fdfe81feea8cb2312cdb53ed0e7cc5bda3af5fc4226d5a797baea97e431ecb
|
||||
DIST sddm-0.15.0.tar.gz 3520188 SHA256 a4211e5b66f674415e07bc1cc39c16f60ae6025418bcbaba1118cd51e57c3174 SHA512 4440acfc6f98ab8efe8e3a441e8dc9ee98615c3544f8adc899bc4f0334e4f1b0d37c1ef823b32cc466adc8fac942cd188b33eb49795e0468a136a959c65c7566 WHIRLPOOL 48d4ab7ac8d4527719d532e13956e59bdd6b94a094fdf83cb58f1c32d946b111f5ad9f2fefabe9fd6fac8bbccd2d4f8d63ef467d840b975b54d879d5f1b711f4
|
||||
DIST sddm-0.16.0.tar.gz 3523735 BLAKE2B d460cc6d6b9273310cc339f62f2463defea8933441b0332b58da9af394593a6fcb57f2789d2090710d6cb423843380d6693d8e9ead4bdfbab0556a09cbe36fa9 SHA512 1efac1ae374ae6e6cba5ea3189f720f706aed8cc5ef2289dd55498b828584c2fa50c1b3374009b1ff5d400a9f9e3e379cfeb0a0411f8078cf618a2df77f0c59c
|
||||
DIST sddm-0.17.0.tar.gz 3527180 BLAKE2B b11ea779f772f4c0638e3c8712d03ecb12d26f432f34b2756c0a1a90b3db2136525ff0c4b2733b14e2605ba656b76d69c8fdb465864017bd19b58b14982d3492 SHA512 81d6fc8731a3f4a49018c5bde07d21e26647e0066382cfb8dc4570ac906844ee58bc79efc4b0b2753d6c831cb33e1fa8d512335d2f76a66c493527ea68c5a101
|
||||
|
||||
@@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit cmake-utils systemd user
|
||||
|
||||
DESCRIPTION="Simple Desktop Display Manager"
|
||||
HOMEPAGE="https://github.com/sddm/sddm"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
|
||||
KEYWORDS="amd64 ~arm x86"
|
||||
|
||||
LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain"
|
||||
SLOT="0"
|
||||
IUSE="consolekit +pam systemd"
|
||||
|
||||
RDEPEND=">=dev-qt/qtcore-5.6:5
|
||||
>=dev-qt/qtdbus-5.6:5
|
||||
>=dev-qt/qtgui-5.6:5
|
||||
>=dev-qt/qtdeclarative-5.6:5
|
||||
>=dev-qt/qtnetwork-5.6:5
|
||||
>=x11-base/xorg-server-1.15.1
|
||||
x11-libs/libxcb[xkb(-)]
|
||||
consolekit? ( >=sys-auth/consolekit-0.9.4 )
|
||||
pam? ( sys-libs/pam )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
!systemd? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/docutils
|
||||
>=dev-qt/linguist-tools-5.6:5
|
||||
>=dev-qt/qttest-5.6:5
|
||||
kde-frameworks/extra-cmake-modules
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.13.0-pam_kwallet.patch"
|
||||
# fix for flags handling and bug 563108
|
||||
"${FILESDIR}/${PN}-0.12.0-respect-user-flags.patch"
|
||||
"${FILESDIR}/${P}-avatars.patch"
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${MERGE_TYPE} != binary && $(tc-getCC) == *gcc* ]]; then
|
||||
if [[ $(gcc-major-version) -lt 4 || $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 7 ]] ; then
|
||||
die 'The active compiler needs to be gcc 4.7 (or newer)'
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use consolekit && eapply "${FILESDIR}/${P}-consolekit.patch"
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_PAM=$(usex pam)
|
||||
-DNO_SYSTEMD=$(usex '!systemd')
|
||||
-DBUILD_MAN_PAGES=ON
|
||||
-DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf"
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video
|
||||
|
||||
systemd_reenable sddm.service
|
||||
|
||||
if use consolekit && use pam && [[ -e "${ROOT}"/etc/pam.d/system-login ]]; then
|
||||
local line=$(grep "pam_ck_connector.*nox11" "${ROOT}"/etc/pam.d/system-login)
|
||||
if [[ -z ${line} ]]; then
|
||||
ewarn
|
||||
ewarn "Erroneous /etc/pam.d/system-login settings detected!"
|
||||
ewarn "Please restore 'nox11' option in the line containing pam_ck_connector:"
|
||||
ewarn
|
||||
ewarn "session optional pam_ck_connector.so nox11"
|
||||
ewarn
|
||||
ewarn "or 'emerge -1 sys-auth/pambase' and run etc-update."
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils systemd user
|
||||
|
||||
DESCRIPTION="Simple Desktop Display Manager"
|
||||
HOMEPAGE="https://github.com/sddm/sddm"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain"
|
||||
SLOT="0"
|
||||
IUSE="consolekit elogind +pam systemd"
|
||||
|
||||
REQUIRED_USE="?? ( elogind systemd )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-qt/qtcore-5.6:5
|
||||
>=dev-qt/qtdbus-5.6:5
|
||||
>=dev-qt/qtgui-5.6:5
|
||||
>=dev-qt/qtdeclarative-5.6:5
|
||||
>=dev-qt/qtnetwork-5.6:5
|
||||
>=x11-base/xorg-server-1.15.1
|
||||
x11-libs/libxcb[xkb]
|
||||
consolekit? ( >=sys-auth/consolekit-0.9.4 )
|
||||
elogind? ( sys-auth/elogind )
|
||||
pam? ( sys-libs/pam )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
!systemd? ( sys-power/upower )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/docutils
|
||||
>=dev-qt/linguist-tools-5.6:5
|
||||
>=dev-qt/qttest-5.6:5
|
||||
kde-frameworks/extra-cmake-modules
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.12.0-respect-user-flags.patch" # fix for flags handling and bug 563108
|
||||
"${FILESDIR}/${P}-Xsession.patch" # bug 611210
|
||||
"${FILESDIR}/${P}-ck2-revert.patch" # bug 633920
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_PAM=$(usex pam)
|
||||
-DNO_SYSTEMD=$(usex '!systemd')
|
||||
-DUSE_ELOGIND=$(usex 'elogind')
|
||||
-DBUILD_MAN_PAGES=ON
|
||||
-DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video
|
||||
|
||||
systemd_reenable sddm.service
|
||||
}
|
||||
Reference in New Issue
Block a user