spack/var/spack/repos/builtin/packages/libxrandr/package.py
Vanessasaurus 1113705080
adding remainder of issues from repology problems (#25653)
some of these are not resolvable in that there is only an http page
available, or a page reported as broken is actually ok, or a page has
an SSL error that does not prevent one from visiting (and no good replacement)

Signed-off-by: vsoch <vsoch@users.noreply.github.com>

Co-authored-by: vsoch <vsoch@users.noreply.github.com>
2021-08-27 01:16:46 -06:00

31 lines
954 B
Python

# 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 Libxrandr(AutotoolsPackage, XorgPackage):
"""libXrandr - X Resize, Rotate and Reflection extension library."""
homepage = "https://cgit.freedesktop.org/xorg/lib/libXrandr"
xorg_mirror_path = "lib/libXrandr-1.5.0.tar.gz"
version('1.5.0', sha256='1b594a149e6b124aab7149446f2fd886461e2935eca8dca43fe83a70cf8ec451')
depends_on('libx11@1.6:')
depends_on('libxext')
depends_on('libxrender')
depends_on('randrproto@1.5:')
depends_on('xextproto')
depends_on('renderproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
@property
def libs(self):
return find_libraries(
'libXrandr', self.prefix, shared=True, recursive=True)