From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DF71915808B for ; Fri, 1 Apr 2022 14:48:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 307AEE08EB; Fri, 1 Apr 2022 14:48:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15257E08EB for ; Fri, 1 Apr 2022 14:48:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 32E1C341644 for ; Fri, 1 Apr 2022 14:48:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93F7636B for ; Fri, 1 Apr 2022 14:48:53 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1648824428.d105282d0bfd72150192bd33716e7d7a112e18c3.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/sddm/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/sddm/sddm-0.18.1-r6.ebuild X-VCS-Directories: x11-misc/sddm/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: d105282d0bfd72150192bd33716e7d7a112e18c3 X-VCS-Branch: master Date: Fri, 1 Apr 2022 14:48:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a54afd0e-c918-4bcf-b35f-6cb1099dd135 X-Archives-Hash: 2b27e4d8c756d71cd6e5210c12f4a542 commit: d105282d0bfd72150192bd33716e7d7a112e18c3 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Mar 31 20:37:52 2022 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Apr 1 14:47:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d105282d 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 gentoo.org> x11-misc/sddm/sddm-0.18.1-r6.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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