1 |
commit: 452c9cc66a9ddfc49f49e8a9d209449c12e41797 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 10 10:13:59 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 10 10:13:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=452c9cc6 |
7 |
|
8 |
x11-misc/sddm: Drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
x11-misc/sddm/sddm-0.18.1-r1.ebuild | 107 ------------------------------------ |
14 |
1 file changed, 107 deletions(-) |
15 |
|
16 |
diff --git a/x11-misc/sddm/sddm-0.18.1-r1.ebuild b/x11-misc/sddm/sddm-0.18.1-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index a413e69e420..00000000000 |
19 |
--- a/x11-misc/sddm/sddm-0.18.1-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,107 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-PLOCALES="ar bn ca cs da de es et fi fr hi_IN hu is it ja kk ko lt lv nb nl nn pl pt_BR pt_PT ro ru sk sr sr@ijekavian sr@ijekavianlatin sr@latin sv tr uk zh_CN zh_TW" |
28 |
-inherit cmake l10n systemd user |
29 |
- |
30 |
-DESCRIPTION="Simple Desktop Display Manager" |
31 |
-HOMEPAGE="https://github.com/sddm/sddm" |
32 |
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" |
33 |
- |
34 |
-LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" |
37 |
-IUSE="elogind +pam systemd test" |
38 |
-RESTRICT="!test? ( test )" |
39 |
- |
40 |
-REQUIRED_USE="?? ( elogind systemd )" |
41 |
- |
42 |
-BDEPEND=" |
43 |
- dev-python/docutils |
44 |
- >=dev-qt/linguist-tools-5.9.4:5 |
45 |
- kde-frameworks/extra-cmake-modules:5 |
46 |
- virtual/pkgconfig |
47 |
-" |
48 |
-RDEPEND=" |
49 |
- >=dev-qt/qtcore-5.9.4:5 |
50 |
- >=dev-qt/qtdbus-5.9.4:5 |
51 |
- >=dev-qt/qtdeclarative-5.9.4:5 |
52 |
- >=dev-qt/qtgui-5.9.4:5 |
53 |
- >=dev-qt/qtnetwork-5.9.4:5 |
54 |
- >=x11-base/xorg-server-1.15.1 |
55 |
- x11-libs/libxcb[xkb] |
56 |
- elogind? ( sys-auth/elogind ) |
57 |
- pam? ( <=sys-libs/pam-1.3.1_p20200128-r1 ) |
58 |
- systemd? ( sys-apps/systemd:= ) |
59 |
- !systemd? ( sys-power/upower ) |
60 |
-" |
61 |
-DEPEND="${RDEPEND} |
62 |
- test? ( >=dev-qt/qttest-5.9.4:5 ) |
63 |
-" |
64 |
- |
65 |
-PATCHES=( |
66 |
- "${FILESDIR}/${PN}-0.12.0-respect-user-flags.patch" |
67 |
- "${FILESDIR}/${PN}-0.18.0-Xsession.patch" # bug 611210 |
68 |
- "${FILESDIR}/${PN}-0.18.0-sddmconfdir.patch" |
69 |
- # fix for groups: https://github.com/sddm/sddm/issues/1159 |
70 |
- "${FILESDIR}/${P}-revert-honor-PAM-supplemental-groups.patch" |
71 |
- "${FILESDIR}/${P}-honor-PAM-supplemental-groups-v2.patch" |
72 |
- # fix for ReuseSession=true |
73 |
- "${FILESDIR}/${P}-only-reuse-online-sessions.patch" |
74 |
- # TODO: fix properly |
75 |
- "${FILESDIR}/${PN}-0.16.0-ck2-revert.patch" # bug 633920 |
76 |
-) |
77 |
- |
78 |
-src_prepare() { |
79 |
- cmake_src_prepare |
80 |
- |
81 |
- disable_locale() { |
82 |
- sed -e "/${1}\.ts/d" -i data/translations/CMakeLists.txt || die |
83 |
- } |
84 |
- l10n_find_plocales_changes "data/translations" "" ".ts" |
85 |
- l10n_for_each_disabled_locale_do disable_locale |
86 |
- |
87 |
- if ! use test; then |
88 |
- sed -e "/^find_package/s/ Test//" -i CMakeLists.txt || die |
89 |
- cmake_comment_add_subdirectory test |
90 |
- fi |
91 |
-} |
92 |
- |
93 |
-src_configure() { |
94 |
- local mycmakeargs=( |
95 |
- -DENABLE_PAM=$(usex pam) |
96 |
- -DNO_SYSTEMD=$(usex '!systemd') |
97 |
- -DUSE_ELOGIND=$(usex 'elogind') |
98 |
- -DBUILD_MAN_PAGES=ON |
99 |
- -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf" |
100 |
- ) |
101 |
- cmake_src_configure |
102 |
-} |
103 |
- |
104 |
-src_install() { |
105 |
- cmake_src_install |
106 |
- |
107 |
- # Create a default.conf as upstream dropped /etc/sddm.conf w/o replacement |
108 |
- local confd="/usr/share/sddm/sddm.conf.d" |
109 |
- dodir ${confd} |
110 |
- "${D}"/usr/bin/sddm --example-config > "${D}/${confd}"/00default.conf \ |
111 |
- || die "Failed to create 00default.conf" |
112 |
- |
113 |
- sed -e "/^InputMethod/s/qtvirtualkeyboard//" \ |
114 |
- -e "/^ReuseSession/s/false/true/" \ |
115 |
- -e "/^EnableHiDPI/s/false/true/" \ |
116 |
- -i "${D}/${confd}"/00default.conf || die |
117 |
-} |
118 |
- |
119 |
-pkg_postinst() { |
120 |
- elog "Starting with 0.18.0, SDDM no longer installs /etc/sddm.conf" |
121 |
- elog "Use it to override specific options. SDDM defaults are now" |
122 |
- elog "found in: /usr/share/sddm/sddm.conf.d/00default.conf" |
123 |
- |
124 |
- enewgroup ${PN} |
125 |
- enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video |
126 |
- |
127 |
- systemd_reenable sddm.service |
128 |
-} |