summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/xorg-gtest/package.py
blob: 909177d9c1427c36cf239533f6be106cc4674553 (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
# Copyright 2013-2021 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 import *


class XorgGtest(AutotoolsPackage, XorgPackage):
    """Provides a Google Test environment for starting and stopping
    a X server for testing purposes."""

    homepage = "https://people.freedesktop.org/~cndougla/xorg-gtest/"
    xorg_mirror_path = "test/xorg-gtest-0.7.1.tar.bz2"

    version('0.7.1', sha256='6cedc7904c698472783203bd686e777db120b808bb4052e451a822e437b72682')

    depends_on('libx11')
    depends_on('libxi')
    depends_on('xorg-server')

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

    # TODO: may be missing evemu package?
    # TODO: what is the difference between xorg-gtest and googletest packages?