summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libxrandr/package.py
blob: 1fd7b8d978759322bc5c0ba5141f9da2602a2955 (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
# Copyright 2013-2019 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):
    """libXrandr - X Resize, Rotate and Reflection extension library."""

    homepage = "http://cgit.freedesktop.org/xorg/lib/libXrandr"
    url      = "https://www.x.org/archive/individual/lib/libXrandr-1.5.0.tar.gz"

    version('1.5.0', 'e2fafff575b94ba0b15983eb4df93656')

    depends_on('libx11@1.6:')
    depends_on('libxext')
    depends_on('libxrender')

    depends_on('randrproto@1.5:', type='build')
    depends_on('xextproto', type='build')
    depends_on('renderproto', type='build')
    depends_on('pkgconfig', type='build')
    depends_on('util-macros', type='build')