summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/mkfontscale/package.py
blob: fa3628f35ebc0fc39c2ee7051fb9b3ef4ae011d7 (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
# 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 Mkfontscale(AutotoolsPackage, XorgPackage):
    """mkfontscale creates the fonts.scale and fonts.dir index files used by the
    legacy X11 font system."""

    homepage = "https://cgit.freedesktop.org/xorg/app/mkfontscale"
    xorg_mirror_path = "app/mkfontscale-1.1.2.tar.gz"

    version('1.1.2', sha256='8bba59e60fbc4cb082092cf6b67e810b47b4fe64fbc77dbea1d7e7d55312b2e4')

    depends_on('libfontenc')
    depends_on('freetype')

    depends_on('xproto@7.0.25:')
    depends_on('pkgconfig', type='build')
    depends_on('util-macros', type='build')