mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
don't patch already patched crengine
This commit is contained in:
2
Makefile
2
Makefile
@@ -136,7 +136,7 @@ fetchthirdparty:
|
||||
ln -sf kpvcrlib/crengine/cr3gui/data data
|
||||
test -d fonts || ln -sf $(TTF_FONTS_DIR) fonts
|
||||
# CREngine patch: disable fontconfig
|
||||
grep USE_FONTCONFIG $(CRENGINEDIR)/crengine/include/crsetup.h && grep -v USE_FONTCONFIG $(CRENGINEDIR)/crengine/include/crsetup.h > /tmp/new && mv /tmp/new $(CRENGINEDIR)/crengine/include/crsetup.h
|
||||
grep USE_FONTCONFIG $(CRENGINEDIR)/crengine/include/crsetup.h && grep -v USE_FONTCONFIG $(CRENGINEDIR)/crengine/include/crsetup.h > /tmp/new && mv /tmp/new $(CRENGINEDIR)/crengine/include/crsetup.h || echo "USE_FONTCONFIG already disabled"
|
||||
test -f mupdf-thirdparty.zip || wget http://www.mupdf.com/download/mupdf-thirdparty.zip
|
||||
unzip mupdf-thirdparty.zip -d mupdf
|
||||
# dirty patch in MuPDF's thirdparty liby for CREngine
|
||||
|
||||
Reference in New Issue
Block a user