summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/xts/package.py
blob: c64d9851b2115fc59040e6773ec8f4bc05b61ed0 (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
# 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 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://www.x.org/wiki/XorgTesting/"
    xorg_mirror_path = "test/xts-0.99.1.tar.gz"

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

    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")
    depends_on("recordproto")
    depends_on("fixesproto")

    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")

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