recoll/packaging/debian/debiankio/patches/fix-kio-cmake-nopython+xml.patch
2019-02-15 18:18:25 +01:00

30 lines
1.0 KiB
Diff

diff --git a/kde/kioslave/kio_recoll/CMakeLists.txt b/kde/kioslave/kio_recoll/CMakeLists.txt
index 0c2de973..277f1578 100644
--- a/kde/kioslave/kio_recoll/CMakeLists.txt
+++ b/kde/kioslave/kio_recoll/CMakeLists.txt
@@ -42,7 +42,7 @@ set(rcltop ${CMAKE_CURRENT_SOURCE_DIR}/../../../)
# Execute recoll configuration to create autoconfig.h and version.h and
# generate a PIC lib
-execute_process(COMMAND ${rcltop}/configure --disable-static --disable-qtgui --disable-x11mon --prefix=${CMAKE_INSTALL_PREFIX} --mandir=${CMAKE_INSTALL_PREFIX}/share/man
+execute_process(COMMAND ${rcltop}/configure --disable-static --disable-qtgui --disable-x11mon --disable-python-chm --disable-python-module --prefix=${CMAKE_INSTALL_PREFIX} --mandir=${CMAKE_INSTALL_PREFIX}/share/man
WORKING_DIRECTORY ${rcltop}
)
@@ -82,10 +82,12 @@ add_dependencies(kio_recoll rcllib)
target_link_libraries(kio_recoll
recoll
xapian
-KF5::KIOCore
-dl
+xslt
+xml2
+KF5::KIOCore
+dl
z
-pthread
+pthread
)
install(FILES recoll.protocol recollf.protocol