mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
check mupdf's thirdparty libs' version
This commit is contained in:
6
Makefile
6
Makefile
@@ -143,7 +143,11 @@ fetchthirdparty:
|
||||
cd kpvcrlib/crengine/crengine/src && \
|
||||
patch -N -p0 < ../../../lvrend_node_type_face.patch || true
|
||||
unzip mupdf-thirdparty.zip -d mupdf
|
||||
# dirty patch in MuPDF's thirdparty liby for CREngine
|
||||
# check mupdf's thirdparty libs' version, if not matched, remove the old one
|
||||
# run make fetchthirdparty again to get the latest thirdparty libs.
|
||||
test -d $(FREETYPEDIR) || ( echo "error: mupdf's thirdparty libs' version not match" ; \
|
||||
rm -rf mupdf-thirdparty.zip ; exit 1 )
|
||||
# dirty patch in MuPDF's thirdparty lib for CREngine
|
||||
cd mupdf/thirdparty/jpeg-*/ && \
|
||||
patch -N -p0 < ../../../kpvcrlib/jpeg_compress_struct_size.patch &&\
|
||||
patch -N -p0 < ../../../kpvcrlib/jpeg_decompress_struct_size.patch
|
||||
|
||||
Reference in New Issue
Block a user