Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/sddm/
Date: Fri, 01 Apr 2022 14:48:57
Message-Id: 1648824428.d105282d0bfd72150192bd33716e7d7a112e18c3.asturm@gentoo
1 commit: d105282d0bfd72150192bd33716e7d7a112e18c3
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 31 20:37:52 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 1 14:47:08 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d105282d
7
8 x11-misc/sddm: Check for CONFIG_DRM using linux-info.eclass
9
10 Closes: https://bugs.gentoo.org/579746
11 Closes: https://bugs.gentoo.org/584960
12 Package-Manager: Portage-3.0.30, Repoman-3.0.3
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 x11-misc/sddm/sddm-0.18.1-r6.ebuild | 7 ++++++-
16 1 file changed, 6 insertions(+), 1 deletion(-)
17
18 diff --git a/x11-misc/sddm/sddm-0.18.1-r6.ebuild b/x11-misc/sddm/sddm-0.18.1-r6.ebuild
19 index 3ee4febc099e..7d3a0ac81808 100644
20 --- a/x11-misc/sddm/sddm-0.18.1-r6.ebuild
21 +++ b/x11-misc/sddm/sddm-0.18.1-r6.ebuild
22 @@ -4,7 +4,7 @@
23 EAPI=7
24
25 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"
26 -inherit cmake plocale systemd tmpfiles
27 +inherit cmake linux-info plocale systemd tmpfiles
28
29 DESCRIPTION="Simple Desktop Display Manager"
30 HOMEPAGE="https://github.com/sddm/sddm"
31 @@ -60,6 +60,11 @@ PATCHES=(
32 "${FILESDIR}/${P}-cve-2020-28049.patch" # bug 753104
33 )
34
35 +pkg_setup() {
36 + local CONFIG_CHECK="~DRM"
37 + use kernel_linux && linux-info_pkg_setup
38 +}
39 +
40 src_prepare() {
41 cmake_src_prepare