summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/xinput/package.py
blob: 00ad06d9622b2af058e0e478efbbf01adbfa2137 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2013-2023 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")