summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/xsetpointer/package.py
blob: 4d4e198ed9ecf729a9cafbcfd208bad146834f5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 Xsetpointer(AutotoolsPackage, XorgPackage):
    """Set an X Input device as the main pointer."""

    homepage = "https://cgit.freedesktop.org/xorg/app/xsetpointer"
    xorg_mirror_path = "app/xsetpointer-1.0.1.tar.gz"

    version("1.0.1", sha256="54be93b20fd6f1deac67246d6e214a60b02dcfbf05295e43751f7a04edb986ac")

    depends_on("libxi", type="link")
    depends_on("libx11", type="link")
    depends_on("inputproto@1.4:")

    depends_on("pkgconfig", type="build")
    depends_on("util-macros", type="build")