summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/xts/package.py
blob: d2a76cb30248ad06d703a1c7086fab2f10f56c68 (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
35
36
37
38
39
40
41
42
43
# 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 Xts(AutotoolsPackage, XorgPackage):
    """This is a revamped version of X Test Suite (XTS) which removes some of
    the ugliness of building and running the tests."""

    homepage = "https://gitlab.freedesktop.org/xorg/test/xts"
    xorg_mirror_path = "test/xts-0.99.1.tar.gz"

    version("0.99.1", sha256="d04d987b9a9f8b3921dfe8de8577d0c2a0f21d2c4c3196948fc9805838a352e6")

    depends_on("c", type="build")

    depends_on("libx11", type="link")
    depends_on("libxext", type="link")
    depends_on("libxi", type="link")
    depends_on("libxtst", type="link")
    depends_on("libxau", type="link")
    depends_on("libxt", type="link")
    depends_on("libxmu", type="link")
    depends_on("libxaw", type="link")
    depends_on("inputproto", type="build")
    depends_on("recordproto", type="build")
    depends_on("fixesproto", type="build")

    depends_on("xtrans")
    depends_on("bdftopcf", type="build")
    depends_on("mkfontdir", type="build")
    depends_on("perl", type="build")
    depends_on("xset", type="build")
    depends_on("xdpyinfo", type="build")

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

    # FIXME: Crashes during compilation
    # error: redeclaration of enumerator 'XawChainTop'