summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libxxf86vm/package.py
blob: fd147484702811b3f1021b1b622fb895a37bce1c (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 Libxxf86vm(AutotoolsPackage, XorgPackage):
    """libXxf86vm - Extension library for the XFree86-VidMode X extension."""

    homepage = "https://cgit.freedesktop.org/xorg/lib/libXxf86vm"
    xorg_mirror_path = "lib/libXxf86vm-1.1.4.tar.gz"

    license("MIT")

    version("1.1.4", sha256="5108553c378a25688dcb57dca383664c36e293d60b1505815f67980ba9318a99")

    depends_on("libx11@1.6:")
    depends_on("libxext")

    depends_on("xproto")
    depends_on("xextproto")
    depends_on("xf86vidmodeproto@2.2.99.1:")
    depends_on("pkgconfig", type="build")
    depends_on("util-macros", type="build")

    @property
    def libs(self):
        return find_libraries("libXxf86vm", self.prefix, shared=True, recursive=True)