summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libxft/package.py
blob: 9ab8687de54cdb0319ad89c38f129bbfbd7a1d06 (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
# 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 Libxft(AutotoolsPackage):
    """X FreeType library.

    Xft version 2.1 was the first stand alone release of Xft, a library that
    connects X applications with the FreeType font rasterization library. Xft
    uses fontconfig to locate fonts so it has no configuration files."""

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

    version('2.3.2', sha256='26cdddcc70b187833cbe9dc54df1864ba4c03a7175b2ca9276de9f05dce74507')

    depends_on('freetype@2.1.6:')
    depends_on('fontconfig@2.5.92:')
    depends_on('libx11')
    depends_on('libxrender@0.8.2:')

    depends_on('pkgconfig', type='build')
    depends_on('util-macros', type='build')