summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/showfont/package.py
blob: 794ed08ae67f82a69dc40faa4cd60d5fe16c2246 (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-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 Showfont(AutotoolsPackage, XorgPackage):
    """showfont displays data about a font from an X font server.
    The information shown includes font information, font properties,
    character metrics, and character bitmaps."""

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

    version("1.0.6", sha256="006c5cb931e33c8c073215cf106a9c7fe93b81ccb4268274bb33dd5697e1f425")
    version("1.0.5", sha256="566e34a145ea73397724d46e84f6a9b3691cf55d0fcb96ec7f917b2b39265ebb")

    depends_on("libfs")

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