summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2023-10-01 22:06:00 -0700
committerGitHub <noreply@github.com>2023-10-02 07:06:00 +0200
commitaff64c02e8b04281efbc2e6d231460d60571cb54 (patch)
tree502627b7fc4379b40b726208a8a3889a2f06ac7d /var
parent31ae5cba913444b52f91c4e3f1f471c62bea1010 (diff)
downloadspack-aff64c02e8b04281efbc2e6d231460d60571cb54.tar.gz
spack-aff64c02e8b04281efbc2e6d231460d60571cb54.tar.bz2
spack-aff64c02e8b04281efbc2e6d231460d60571cb54.tar.xz
spack-aff64c02e8b04281efbc2e6d231460d60571cb54.zip
xv: new package (#40032)
Co-authored-by: Sinan81 <Sinan@world>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/xv/package.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/xv/package.py b/var/spack/repos/builtin/packages/xv/package.py
new file mode 100644
index 0000000000..2cdfb1e9bd
--- /dev/null
+++ b/var/spack/repos/builtin/packages/xv/package.py
@@ -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")