summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/xcb-util-keysyms/package.py
blob: e7c19ebb57fdec0ea8305814e64d9b277b426ebd (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
# Copyright 2013-2024 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 XcbUtilKeysyms(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-keysyms"
    xorg_mirror_path = "lib/xcb-util-keysyms-0.4.1.tar.xz"

    license("MIT")

    version("0.4.1", sha256="7c260a5294412aed429df1da2f8afd3bd07b7cba3fec772fba15a613a6d5c638")
    version(
        "0.4.0",
        sha256="0807cf078fbe38489a41d755095c58239e1b67299f14460dec2ec811e96caa96",
        url="https://xcb.freedesktop.org/dist/xcb-util-keysyms-0.4.0.tar.gz",
    )

    depends_on("libxcb@1.4:")

    depends_on("xproto@7.0.8:")
    depends_on("pkgconfig", type="build")