mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-13 14:09:19 +00:00
8f09a5769a
Signed-off-by: Kevin Williams <admin@utermux.dev> Co-authored-by: rallg <105516006+rallg@users.noreply.github.com>
50 lines
1.5 KiB
Diff
50 lines
1.5 KiB
Diff
diff -uNr texworks-release-0.6.7/modules/QtPDF/CMake/Modules/FindPoppler.cmake texworks-release-0.6.7.mod/modules/QtPDF/CMake/Modules/FindPoppler.cmake
|
|
--- texworks-release-0.6.7/modules/QtPDF/CMake/Modules/FindPoppler.cmake 2022-02-26 19:03:43.000000000 +0800
|
|
+++ texworks-release-0.6.7.mod/modules/QtPDF/CMake/Modules/FindPoppler.cmake 2022-09-18 12:37:29.973143035 +0800
|
|
@@ -39,6 +39,7 @@
|
|
PATHS
|
|
/usr/local
|
|
/usr
|
|
+ @TERMUX_PREFIX@
|
|
HINTS
|
|
${Poppler_PKG_LIBRARY_DIRS} # Generated by pkg-config
|
|
PATH_SUFFIXES
|
|
@@ -51,6 +52,7 @@
|
|
PATHS
|
|
/usr/local/include
|
|
/usr/include
|
|
+ @TERMUX_PREFIX@/include
|
|
HINTS
|
|
${Poppler_PKG_INCLUDE_DIRS} # Generated by pkg-config
|
|
PATH_SUFFIXES
|
|
@@ -82,12 +84,7 @@
|
|
# Scan poppler libraries for dependencies on Fontconfig
|
|
include(GetPrerequisites)
|
|
mark_as_advanced(gp_cmd)
|
|
-get_prerequisites("${Poppler_LIBRARY}" Poppler_PREREQS TRUE FALSE "" "")
|
|
-if ("${Poppler_PREREQS}" MATCHES "fontconfig")
|
|
- set(Poppler_NEEDS_FONTCONFIG TRUE)
|
|
-else ()
|
|
- set(Poppler_NEEDS_FONTCONFIG FALSE)
|
|
-endif ()
|
|
+set(Poppler_NEEDS_FONTCONFIG TRUE)
|
|
|
|
# -----------------------
|
|
# Find Poppler components
|
|
@@ -106,6 +103,7 @@
|
|
PATHS
|
|
/usr/local
|
|
/usr
|
|
+ @TERMUX_PREFIX@
|
|
HINTS
|
|
${${label}_PKG_LIBRARY_DIRS} # Generated by pkg-config
|
|
PATH_SUFFIXES
|
|
@@ -132,6 +130,7 @@
|
|
PATHS
|
|
/usr/local/include
|
|
/usr/include
|
|
+ @TERMUX_PREFIX@/include
|
|
HINTS
|
|
${${label}_PKG_INCLUDE_DIRS} # Generated by pkg-config
|
|
PATH_SUFFIXES
|