xv: new package (#40032)

Co-authored-by: Sinan81 <Sinan@world>
This commit is contained in:
Sinan 2023-10-01 22:06:00 -07:00 committed by GitHub
parent 31ae5cba91
commit aff64c02e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,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")