diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-11 07:29:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-11 07:29:23 +0100 |
commit | fbe1e64cf651fcf73e25d2d3115003bf59e231cd (patch) | |
tree | 5077c9b46dc8e389d2fc7dc7c77c819425e6203b /x11-drivers/xf86-input-synaptics/xf86-input-synaptics-1.9.2.ebuild | |
parent | b46b9834b3fbf80b22ccc12e95f660512cd0fa75 (diff) |
gentoo auto-resync : 11:07:2022 - 07:29:23
Diffstat (limited to 'x11-drivers/xf86-input-synaptics/xf86-input-synaptics-1.9.2.ebuild')
-rw-r--r-- | x11-drivers/xf86-input-synaptics/xf86-input-synaptics-1.9.2.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-drivers/xf86-input-synaptics/xf86-input-synaptics-1.9.2.ebuild b/x11-drivers/xf86-input-synaptics/xf86-input-synaptics-1.9.2.ebuild new file mode 100644 index 000000000000..780964e36af6 --- /dev/null +++ b/x11-drivers/xf86-input-synaptics/xf86-input-synaptics-1.9.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +XORG_TARBALL_SUFFIX="xz" +inherit linux-info xorg-3 + +DESCRIPTION="Driver for Synaptics touchpads" + +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~x86" + +RDEPEND=" + >=x11-base/xorg-server-1.14 + x11-libs/libX11 + >=x11-libs/libXi-1.2 + >=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" + +check_reqs() { + linux-info_pkg_setup + + # Just a friendly warning + if ! linux_config_exists \ + || ! linux_chkconfig_present INPUT_EVDEV; then + ewarn + ewarn "This driver requires event interface support in your kernel" + ewarn " Device Drivers --->" + ewarn " Input device support --->" + ewarn " <*> Event interface" + ewarn + fi +} + +pkg_pretend() { + check_reqs +} + +pkg_setup() { + check_reqs +} |