summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libxcomposite/package.py
blob: f683f75d638686626cf531b56d394e5b222e380f (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-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 Libxcomposite(AutotoolsPackage, XorgPackage):
    """libXcomposite - client library for the Composite extension to the
    X11 protocol."""

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

    license("MIT")

    version("0.4.6", sha256="3599dfcd96cd48d45e6aeb08578aa27636fa903f480f880c863622c2b352d076")
    version("0.4.4", sha256="83c04649819c6f52cda1b0ce8bcdcc48ad8618428ad803fb07f20b802f1bdad1")

    depends_on("libx11")
    depends_on("libxfixes")
    depends_on("fixesproto@0.4:")
    depends_on("compositeproto@0.4:")
    depends_on("pkgconfig", type="build")
    depends_on("util-macros", type="build")