summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/xcb-util-cursor/package.py
blob: 7ef4d71a2cfd2895ae84e6e14c206b70dfe3bb4f (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
32
33
34
# 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 XcbUtilCursor(AutotoolsPackage, XorgPackage):
    """The XCB util modules provides a number of libraries which sit on top
    of libxcb, the core X protocol library, and some of the extension
    libraries. These experimental libraries provide convenience functions
    and interfaces which make the raw X protocol more usable. Some of the
    libraries also provide client-side code which is not strictly part of
    the X protocol but which have traditionally been provided by Xlib."""

    homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcb-cursor"
    xorg_mirror_path = "lib/xcb-util-cursor-0.1.4.tar.xz"

    license("MIT")

    version("0.1.4", sha256="28dcfe90bcab7b3561abe0dd58eb6832aa9cc77cfe42fcdfa4ebe20d605231fb")
    version(
        "0.1.3",
        sha256="a322332716a384c94d3cbf98f2d8fe2ce63c2fe7e2b26664b6cea1d411723df8",
        url="https://xcb.freedesktop.org/dist/xcb-util-cursor-0.1.4.tar.gz",
    )

    depends_on("libxcb@1.4:")
    depends_on("xcb-util-renderutil")
    depends_on("xcb-util-image")

    depends_on("m4", type="build")
    depends_on("pkgconfig", type="build")