summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChrys2022-01-16 22:32:46 +0100
committerChrys2022-01-16 22:32:46 +0100
commit1920070158f873a45712a9132b8763bea8a519a2 (patch)
treeb5fe088612191fb0b729a501cc295f41e49ee512 /PKGBUILD
parent1de062ae725ea8b86598e6c99f9eaceeca3ecaa5 (diff)
downloadaur-1920070158f873a45712a9132b8763bea8a519a2.tar.gz
make webcolor, scipy and pdf2image optional
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4640e7b89f6f..c9eeb05f6c16 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,8 +8,15 @@ pkgdesc="OCR the current window or desktop and make it browsable for the user (d
arch=('any')
url="http://www.crivatec.de"
license=('GPL')
-depends=('libwnck3' 'python-atspi' 'python-pillow' 'python-webcolors' 'python-scipy' 'python-pytesseract' 'tesseract-data-eng' 'python-pdf2image')
+depends=('libwnck3' 'python-atspi' 'python-pillow' 'python-pytesseract' 'tesseract-data-eng')
makedepends=('git')
+
+optdepends=(
+'python-webcolors: For color analyzing support'
+'python-scipy: For color analyzing support'
+'python-pdf2image: for PDF support'
+)
+
source=("git+https://github.com/chrys87/ocrdesktop.git")
install='ocrdesktop.install'
provides=('ocrdesktop')