diff options
author | Jen Herting <jen@herting.cc> | 2021-06-11 05:03:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 09:03:44 +0000 |
commit | dbdf8f2ce7cddef513fe4f79165b766821fc9616 (patch) | |
tree | f4bb3bc5b15a90213e84949ec4285d5c6e17d415 | |
parent | ea08e93f2fcd2deb8e89b0567566ef32e00aef86 (diff) | |
download | spack-dbdf8f2ce7cddef513fe4f79165b766821fc9616.tar.gz spack-dbdf8f2ce7cddef513fe4f79165b766821fc9616.tar.bz2 spack-dbdf8f2ce7cddef513fe4f79165b766821fc9616.tar.xz spack-dbdf8f2ce7cddef513fe4f79165b766821fc9616.zip |
scrot: new package (#24250)
-rw-r--r-- | var/spack/repos/builtin/packages/scrot/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/scrot/package.py b/var/spack/repos/builtin/packages/scrot/package.py new file mode 100644 index 0000000000..8c47b0176f --- /dev/null +++ b/var/spack/repos/builtin/packages/scrot/package.py @@ -0,0 +1,26 @@ +# 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 Scrot(AutotoolsPackage): + """scrot (SCReenshOT) is a simple command line screen + capture utility that uses imlib2 to grab and save images. + Multiple image formats are supported through imlib2's + dynamic saver modules.""" + + homepage = "https://github.com/resurrecting-open-source-projects/scrot" + url = "https://github.com/resurrecting-open-source-projects/scrot/archive/refs/tags/1.5.tar.gz" + + version('1.5', sha256='87afba3998aac097f13231f3b0452c21188bf4b5cc6ac0747693a1da1a0ae40f') + + depends_on('autoconf-archive', type='build') + depends_on('automake', type='build') + depends_on('giblib', when='@:1.5') # @master already has this dependency removed + depends_on('imlib2') + depends_on('libtool') + depends_on('libxcomposite') + depends_on('libxfixes') |