tesseract/tesseract-pkgconfig.patch
2013-04-27 21:05:06 +02:00

15 lines
697 B
Diff

diff -rupN tesseract-ocr/tesseract.pc.in tesseract-ocr-new/tesseract.pc.in
--- tesseract-ocr/tesseract.pc.in 2012-09-29 13:44:44.000000000 +0200
+++ tesseract-ocr-new/tesseract.pc.in 2013-01-02 01:19:23.000000000 +0100
@@ -10,6 +10,7 @@ Name: @PACKAGE_NAME@
Description: An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google.
URL: https://code.google.com/p/tesseract-ocr
Version: @VERSION@
-# Requires: lept ## leptonica do not provide lept.pc
-Libs: -L${libdir} -ltesseract @LDFLAGS@ @LIBS@
-Cflags: -I${includedir} @CFLAGS@ @CPPFLAGS@ @CXXFLAGS@ @DEFS@
+Requires.private: lept
+Libs: -L${libdir} -ltesseract
+Libs.private: -lpthread
+Cflags: -I${includedir}