# Copyright 2013-2020 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 import * class Xinput(AutotoolsPackage): """xinput is a utility to configure and test XInput devices.""" homepage = "http://cgit.freedesktop.org/xorg/app/xinput" url = "https://www.x.org/archive/individual/app/xinput-1.6.2.tar.gz" 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:', type='build') depends_on('fixesproto', type='build') depends_on('randrproto', type='build') depends_on('xineramaproto', type='build') depends_on('pkgconfig', type='build') depends_on('util-macros', type='build')