mirror of
https://github.com/termux/termux-packages.git
synced 2025-02-07 20:10:04 +00:00
34 lines
1.0 KiB
Diff
34 lines
1.0 KiB
Diff
From 2d5bdfe56e28cbaba12470fda20b7c238f379568 Mon Sep 17 00:00:00 2001
|
|
From: yangfl <yangfl@users.noreply.github.com>
|
|
Date: Mon, 7 Jan 2019 16:48:24 +0800
|
|
Subject: [PATCH 02/10] CMakeLists.txt: no mupdf
|
|
|
|
---
|
|
CMakeLists.txt | 10 ----------
|
|
1 file changed, 10 deletions(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 985d098..d4b21f3 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -78,16 +78,6 @@ endif(GHOSTSCRIPT_EXECUTABLE)
|
|
# libfreetype6 (>= 2.3.9), libjbig2dec0, libjpeg8 (>= 8c), libx11-6, libxext6, zlib1g (>= 1:1.2.0)
|
|
# MUPDF_STATIC_LDFLAGS misses mupdf-js-none, and doubles libs ...
|
|
|
|
-pkg_check_modules(MUPDF mupdf)
|
|
-if(MUPDF_FOUND)
|
|
- set(HAVE_MUPDF_LIB 1)
|
|
- # (includes jbig2dec, openjpeg, freetype)
|
|
- include_directories(SYSTEM ${MUPDF_INCLUDEDIR})
|
|
- message(STATUS "mupdf libraries: ${MUPDF_LDFLAGS}")
|
|
- set(K2PDFOPT_LIB ${K2PDFOPT_LIB} ${MUPDF_LDFLAGS}
|
|
- -lmupdf-js-none -lopenjpeg -ljbig2dec -ljpeg -lfreetype -llcms -lgumbo
|
|
- )
|
|
-endif(MUPDF_FOUND)
|
|
|
|
pkg_check_modules(DJVU ddjvuapi)
|
|
if(DJVU_FOUND)
|
|
--
|
|
2.28.0
|
|
|