summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/xv/package.py
blob: 2cdfb1e9bd2cbef0002121a844b194f9468fa0db (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-2023 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 Xv(CMakePackage):
    """
    XV image viewer.
    The XV software was originally written by John Bradley. John Bradley's web site for the XV software can be found at:
    http://www.trilon.com/xv
    """

    homepage = "https://github.com/jasper-software/xv"
    url = "https://github.com/jasper-software/xv/archive/refs/tags/v4.2.0.tar.gz"

    # Licencing
    # "... XV IS SHAREWARE FOR PERSONAL USE ONLY ..."
    # full licencing details can be found at:
    # https://github.com/jasper-software/xv/blob/main/src/README

    version("4.2.0", sha256="2871338c517a7444fc9d6a3d146bc2c5c7bd98b50c83369b24d24ad49fa0ab87")

    depends_on("libjpeg")
    depends_on("libpng")
    depends_on("libtiff")
    depends_on("libx11")