New package: pdfsandwich-0.1.7

This commit is contained in:
Nick Hahn 2018-10-15 19:36:58 +02:00 committed by Johannes
parent 024a5666d1
commit f8f2ee49fe
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,13 @@
diff --git pdfsandwich.ml pdfsandwich.ml
index 10c92a0..c32f803 100644
--- pdfsandwich.ml
+++ pdfsandwich.ml
@@ -19,7 +19,7 @@ let global_temp_dir = Filename.temp_file "pdfsandwich_tmp" "";;
let unpaper = ref "unpaper";;
let identify = ref "identify";;
let convert = ref "convert";;
-let tesseract = ref "tesseract";; (* this will be preceded by the OMP_THREAD_LIMIT (see options) *)
+let tesseract = ref "tesseract-ocr";; (* this will be preceded by the OMP_THREAD_LIMIT (see options) *)
let pdfinfo = ref "pdfinfo";;
let pdfunite = ref "pdfunite";;
let hocr2pdf = ref "hocr2pdf";;

View file

@ -0,0 +1,14 @@
# Template file for 'pdfsandwich'
pkgname=pdfsandwich
version=0.1.7
revision=1
build_style=gnu-configure
hostmakedepends="gawk ocaml"
makedepends="ocaml"
depends="tesseract-ocr ImageMagick ghostscript poppler-utils unpaper"
short_desc="CLI tool which is useful to add OCR to scanned books or journals"
maintainer="Nick Hahn <nick.hahn@hotmail.de>"
license="GPL-2.0-only"
homepage="http://www.tobias-elze.de/pdfsandwich/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=9795ffea84b9b6b501f38d49a4620cf0469ddf15aac31bac6dbdc9ec1716fa39