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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5E65D13835A for ; Sun, 14 Mar 2021 19:57:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A305BE0833; Sun, 14 Mar 2021 19:57:23 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8E74EE0855 for ; Sun, 14 Mar 2021 19:57:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8B65A340CCE for ; Sun, 14 Mar 2021 19:57:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 351FF583 for ; Sun, 14 Mar 2021 19:57:21 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1615751821.771fb88f375ecc18ed49480258edd123a5fc02ea.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-input-synaptics/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-drivers/xf86-input-synaptics/xf86-input-synaptics-1.9.1.ebuild X-VCS-Directories: x11-drivers/xf86-input-synaptics/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 771fb88f375ecc18ed49480258edd123a5fc02ea X-VCS-Branch: master Date: Sun, 14 Mar 2021 19:57:21 +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: 79e4ed7a-97c9-447f-ba60-91aaea3f3724 X-Archives-Hash: e1d85058ae1c70a257c001e5c6dcb626 commit: 771fb88f375ecc18ed49480258edd123a5fc02ea Author: David Seifert gentoo org> AuthorDate: Sun Mar 14 19:57:01 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Mar 14 19:57:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=771fb88f x11-drivers/xf86-input-synaptics: Port to EAPI 7 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: David Seifert gentoo.org> .../xf86-input-synaptics-1.9.1.ebuild | 31 ++++++++++++++-------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/x11-drivers/xf86-input-synaptics/xf86-input-synaptics-1.9.1.ebuild b/x11-drivers/xf86-input-synaptics/xf86-input-synaptics-1.9.1.ebuild index e226bf3a126..520fd89d20b 100644 --- a/x11-drivers/xf86-input-synaptics/xf86-input-synaptics-1.9.1.ebuild +++ b/x11-drivers/xf86-input-synaptics/xf86-input-synaptics-1.9.1.ebuild @@ -1,35 +1,44 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit linux-info xorg-2 +inherit linux-info xorg-3 DESCRIPTION="Driver for Synaptics touchpads" KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86" IUSE="kernel_linux" -RDEPEND="kernel_linux? ( >=dev-libs/libevdev-0.4 ) +RDEPEND=" >=x11-base/xorg-server-1.14 >=x11-libs/libXi-1.2 - >=x11-libs/libXtst-1.1.0" -DEPEND="${RDEPEND} + >=x11-libs/libXtst-1.1.0 + kernel_linux? ( >=dev-libs/libevdev-0.4 )" +DEPEND=" + ${RDEPEND} >=sys-kernel/linux-headers-2.6.37 x11-base/xorg-proto" -DOCS=( "README" ) - -pkg_pretend() { +check_reqs() { linux-info_pkg_setup + # Just a friendly warning if ! linux_config_exists \ || ! linux_chkconfig_present INPUT_EVDEV; then - echo + ewarn ewarn "This driver requires event interface support in your kernel" ewarn " Device Drivers --->" ewarn " Input device support --->" ewarn " <*> Event interface" - echo + ewarn fi } + +pkg_pretend() { + check_reqs +} + +pkg_setup() { + check_reqs +}