Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/sddm/
Date: Thu, 03 Mar 2016 15:26:31
Message-Id: 1457018774.3af8e6436b410a51d85480f9644e9a89df1dbdef.kensington@gentoo
1 commit: 3af8e6436b410a51d85480f9644e9a89df1dbdef
2 Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
3 AuthorDate: Thu Mar 3 08:53:12 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 3 15:26:14 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3af8e643
7
8 x11-misc/sddm: Drop old
9
10 Package-Manager: portage-2.2.27
11
12 x11-misc/sddm/sddm-0.13.0-r2.ebuild | 80 -------------------------------------
13 1 file changed, 80 deletions(-)
14
15 diff --git a/x11-misc/sddm/sddm-0.13.0-r2.ebuild b/x11-misc/sddm/sddm-0.13.0-r2.ebuild
16 deleted file mode 100644
17 index 26c16d6..0000000
18 --- a/x11-misc/sddm/sddm-0.13.0-r2.ebuild
19 +++ /dev/null
20 @@ -1,80 +0,0 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=6
26 -inherit cmake-utils user
27 -
28 -DESCRIPTION="Simple Desktop Display Manager"
29 -HOMEPAGE="https://github.com/sddm/sddm"
30 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
31 -KEYWORDS="~amd64 ~arm ~x86"
32 -
33 -LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain"
34 -SLOT="0"
35 -IUSE="consolekit +pam systemd"
36 -
37 -RDEPEND="dev-qt/qtcore:5
38 - dev-qt/qtdbus:5
39 - dev-qt/qtgui:5
40 - dev-qt/qtdeclarative:5
41 - dev-qt/qtnetwork:5
42 - >=x11-base/xorg-server-1.15.1
43 - x11-libs/libxcb[xkb(-)]
44 - consolekit? ( >=sys-auth/consolekit-0.9.4 )
45 - pam? ( sys-libs/pam )
46 - systemd? ( sys-apps/systemd:= )
47 - !systemd? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
48 -
49 -DEPEND="${RDEPEND}
50 - dev-python/docutils
51 - dev-qt/linguist-tools:5
52 - dev-qt/qttest:5
53 - virtual/pkgconfig"
54 -
55 -pkg_pretend() {
56 - if [[ ${MERGE_TYPE} != binary && $(tc-getCC) == *gcc* ]]; then
57 - if [[ $(gcc-major-version) -lt 4 || $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 7 ]] ; then
58 - die 'The active compiler needs to be gcc 4.7 (or newer)'
59 - fi
60 - fi
61 -}
62 -
63 -src_prepare() {
64 - eapply "${FILESDIR}/${PN}-0.13.0-pam_kwallet.patch"
65 - # fix for flags handling and bug 563108
66 - eapply "${FILESDIR}/${PN}-0.12.0-respect-user-flags.patch"
67 - use consolekit && eapply "${FILESDIR}/${PN}-0.11.0-consolekit.patch"
68 -
69 - cmake-utils_src_prepare
70 -}
71 -
72 -src_configure() {
73 - local mycmakeargs=(
74 - -DENABLE_PAM=$(usex pam)
75 - -DNO_SYSTEMD=$(usex systemd)
76 - -DBUILD_MAN_PAGES=ON
77 - -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf"
78 - )
79 -
80 - cmake-utils_src_configure
81 -}
82 -
83 -pkg_postinst() {
84 - enewgroup ${PN}
85 - enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} video
86 -
87 - if use consolekit && use pam && [[ -e "${ROOT}"/etc/pam.d/system-login ]]; then
88 - local line=$(grep "pam_ck_connector.*nox11" "${ROOT}"/etc/pam.d/system-login)
89 - if [[ -z ${line} ]]; then
90 - ewarn
91 - ewarn "Erroneous /etc/pam.d/system-login settings detected!"
92 - ewarn "Please restore 'nox11' option in the line containing pam_ck_connector:"
93 - ewarn
94 - ewarn "session optional pam_ck_connector.so nox11"
95 - ewarn
96 - ewarn "or 'emerge -1 sys-auth/pambase' and run etc-update."
97 - ewarn
98 - fi
99 - fi
100 -}