summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libxft/package.py
blob: 3904ce6766c4ae88a8ea8c1a17bbfeeca056900f (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
28
29
# 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 Libxft(AutotoolsPackage, XorgPackage):
    """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 = "https://cgit.freedesktop.org/xorg/lib/libXft"
    xorg_mirror_path = "lib/libXft-2.3.2.tar.gz"

    license("MIT")

    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")