# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack.package import * class Xinput(AutotoolsPackage, XorgPackage): """xinput is a utility to configure and test XInput devices.""" homepage = "https://cgit.freedesktop.org/xorg/app/xinput" xorg_mirror_path = "app/xinput-1.6.2.tar.gz" license("MIT") version("1.6.3", sha256="9f29f9bfe387c5a3d582f9edc8c5a753510ecc6fdfb154c03b5cea5975b10ce4") version("1.6.2", sha256="2c8ca5ff2a8703cb7d898629a4311db720dbd30d0c162bfe37f18849a727bd42") depends_on("libx11") depends_on("libxext") depends_on("libxi@1.5.99.1:") depends_on("libxrandr") depends_on("libxinerama") depends_on("inputproto@2.1.99.1:") depends_on("fixesproto") depends_on("randrproto") depends_on("xineramaproto") depends_on("pkgconfig", type="build") depends_on("util-macros", type="build")