summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorRuben Di Battista <rubendibattista@users.noreply.github.com>2020-08-22 22:22:37 +0200
committerGitHub <noreply@github.com>2020-08-22 15:22:37 -0500
commitf902202b5e7f2473a7ce22505a4cc8b4f39377e0 (patch)
tree5541a0bbce3073faff86df86532169ec33e5b33d /var
parent27b9727926139ae2cfde6d3cdcdf5746ed28e03d (diff)
downloadspack-f902202b5e7f2473a7ce22505a4cc8b4f39377e0.tar.gz
spack-f902202b5e7f2473a7ce22505a4cc8b4f39377e0.tar.bz2
spack-f902202b5e7f2473a7ce22505a4cc8b4f39377e0.tar.xz
spack-f902202b5e7f2473a7ce22505a4cc8b4f39377e0.zip
Add scantailor package (#12833)
* Add scantailor * qt: Fix build w/ GCC9 for @4: * qt: Fix patch filename and qt version * Fix typo in patch name * scantailor: Fix version * scantailor: Use a more-modern fork * scantailor: Remove unused patch file Co-authored-by: Ruben Di Battista <ruben.di-battista@polytechnique.edu>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/scantailor/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/scantailor/package.py b/var/spack/repos/builtin/packages/scantailor/package.py
new file mode 100644
index 0000000000..26d250a11a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/scantailor/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2019 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 Scantailor(CMakePackage):
+ """Scan Tailor is an interactive post-processing tool for scanned pages. It
+ performs operations such as page splitting, deskewing, adding/removing
+ borders, and others. You give it raw scans, and you get pages ready to be
+ printed or assembled into a PDF or DJVU file. Scanning, optical character
+ recognition, and assembling multi-page documents are out of scope of this
+ project."""
+
+ homepage = "http://www.scantailor.org"
+ url = "https://github.com/trufanov-nok/scantailor/archive/0.2.7.tar.gz"
+
+ version(
+ "0.2.7",
+ sha256="3e27647621d43638888a268902f8fa098b06a70a5da5d0623b1c11220a367910",
+ )
+
+ depends_on("qt@5:")
+ depends_on("libjpeg")
+ depends_on("zlib")
+ depends_on("libpng")
+ depends_on("libtiff")
+ depends_on("boost@1.35:")
+ depends_on("libxrender")