summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libxpresent/package.py
blob: eb800d0dbe128c08340fa6704ec56d0743abee01 (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
# 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 Libxpresent(AutotoolsPackage, XorgPackage):
    """This package contains header files and documentation for the Present
    extension.  Library and server implementations are separate."""

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

    license("MIT")

    version("1.0.0", sha256="92f1bdfb67ae2ffcdb25ad72c02cac5e4912dc9bc792858240df1d7f105946fa")

    depends_on("libx11", type="link")
    depends_on("libxext", type="link")
    depends_on("libxfixes", type="link")
    depends_on("libxrandr", type="link")

    depends_on("xproto")
    depends_on("presentproto@1.0:")
    depends_on("xextproto")
    depends_on("fixesproto")
    depends_on("randrproto")
    depends_on("pkgconfig", type="build")
    depends_on("util-macros", type="build")