spack/var/spack/repos/builtin/packages/libxpresent/package.py
Axel Huebl d9630b572a x.org packages: mirror mixin
overhaul all x.org packages to use available mirrors.
2020-04-15 14:44:13 -07:00

30 lines
1.1 KiB
Python

# Copyright 2013-2020 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 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"
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', type='link')
depends_on('presentproto@1.0:', type='link')
depends_on('xextproto', type='link')
depends_on('fixesproto', type='link')
depends_on('randrproto', type='link')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')