summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/xcb-util-errors/package.py
blob: b85b63a5107ad4f407ddaa79aa0331e84f3f16d6 (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
# 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 XcbUtilErrors(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-errors"
    xorg_mirror_path = "lib/xcb-util-errors-1.0.1.tar.xz"

    version("1.0.1", sha256="5628c87b984259ad927bacd8a42958319c36bdf4b065887803c9d820fb80f357")
    version(
        "1.0",
        sha256="7752a722e580efdbada30632cb23aed35c18757399ac3b547b59fd7257cf5e33",
        url="https://xcb.freedesktop.org/dist/xcb-util-errors-1.0.tar.gz",
    )

    depends_on("libxcb@1.4:")

    depends_on("xcb-proto")
    depends_on("pkgconfig", type="build")