diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-03-31 22:37:52 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-04-01 16:47:08 +0200 |
commit | d105282d0bfd72150192bd33716e7d7a112e18c3 (patch) | |
tree | 1d356c139acfdb3b116c65875b84e7fedbb977bc /x11-misc/sddm | |
parent | x11-misc/sddm: Drop obsolete ConsoleKit patch and quirks (diff) | |
download | gentoo-d105282d0bfd72150192bd33716e7d7a112e18c3.tar.gz gentoo-d105282d0bfd72150192bd33716e7d7a112e18c3.tar.bz2 gentoo-d105282d0bfd72150192bd33716e7d7a112e18c3.zip |
x11-misc/sddm: Check for CONFIG_DRM using linux-info.eclass
Closes: https://bugs.gentoo.org/579746
Closes: https://bugs.gentoo.org/584960
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-misc/sddm')
-rw-r--r-- | x11-misc/sddm/sddm-0.18.1-r6.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11-misc/sddm/sddm-0.18.1-r6.ebuild b/x11-misc/sddm/sddm-0.18.1-r6.ebuild index 3ee4febc099e..7d3a0ac81808 100644 --- a/x11-misc/sddm/sddm-0.18.1-r6.ebuild +++ b/x11-misc/sddm/sddm-0.18.1-r6.ebuild @@ -4,7 +4,7 @@ EAPI=7 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" -inherit cmake plocale systemd tmpfiles +inherit cmake linux-info plocale systemd tmpfiles DESCRIPTION="Simple Desktop Display Manager" HOMEPAGE="https://github.com/sddm/sddm" @@ -60,6 +60,11 @@ PATCHES=( "${FILESDIR}/${P}-cve-2020-28049.patch" # bug 753104 ) +pkg_setup() { + local CONFIG_CHECK="~DRM" + use kernel_linux && linux-info_pkg_setup +} + src_prepare() { cmake_src_prepare |