2014-11-15 04:16:00 +02:00
|
|
|
########### next target ###############
|
|
|
|
|
2021-11-11 06:41:23 +02:00
|
|
|
set(kio_thumbnail_PART_SRCS thumbnail.cpp)
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2022-12-06 04:05:59 +02:00
|
|
|
add_executable(kio_thumbnail ${kio_thumbnail_PART_SRCS})
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2023-06-17 23:26:56 +03:00
|
|
|
target_link_libraries(kio_thumbnail KDE4::kio KDE4::kdeui)
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2022-12-06 04:05:59 +02:00
|
|
|
install(TARGETS kio_thumbnail DESTINATION ${KDE4_LIBEXEC_INSTALL_DIR})
|
2014-11-15 04:16:00 +02:00
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(imagethumbnail_PART_SRCS imagecreator.cpp)
|
|
|
|
|
2021-03-19 04:29:06 +02:00
|
|
|
kde4_add_kcfg_files(imagethumbnail_PART_SRCS imagecreatorsettings.kcfgc)
|
2014-11-15 04:16:00 +02:00
|
|
|
kde4_add_plugin(imagethumbnail ${imagethumbnail_PART_SRCS})
|
|
|
|
|
2023-06-17 23:26:56 +03:00
|
|
|
target_link_libraries(imagethumbnail KDE4::kio KDE4::kexiv2)
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2021-03-19 04:29:06 +02:00
|
|
|
install(TARGETS imagethumbnail DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES imagecreatorsettings.kcfg DESTINATION ${KDE4_KCFG_INSTALL_DIR})
|
2020-02-08 19:29:32 +00:00
|
|
|
install(TARGETS imagethumbnail DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
2014-11-15 04:16:00 +02:00
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
2020-02-08 19:29:32 +00:00
|
|
|
install( FILES directorythumbnail.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
2014-11-15 04:16:00 +02:00
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(textthumbnail_PART_SRCS textcreator.cpp)
|
|
|
|
|
|
|
|
kde4_add_plugin(textthumbnail ${textthumbnail_PART_SRCS})
|
|
|
|
|
2023-06-17 23:26:56 +03:00
|
|
|
target_link_libraries(textthumbnail KDE4::kio)
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2020-02-08 19:29:32 +00:00
|
|
|
install(TARGETS textthumbnail DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
2014-11-15 04:16:00 +02:00
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
2022-12-12 17:46:44 +02:00
|
|
|
if(DJVULIBRE_FOUND)
|
|
|
|
include_directories(${DJVULIBRE_INCLUDE_DIR})
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2022-12-12 17:46:44 +02:00
|
|
|
set(djvuthumbnail_PART_SRCS djvucreator.cpp)
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2022-12-12 17:46:44 +02:00
|
|
|
kde4_add_plugin(djvuthumbnail ${djvuthumbnail_PART_SRCS})
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2023-06-17 23:26:56 +03:00
|
|
|
target_link_libraries(djvuthumbnail KDE4::kio ${DJVULIBRE_LIBRARY})
|
2022-12-12 17:46:44 +02:00
|
|
|
|
|
|
|
install(TARGETS djvuthumbnail DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
2022-12-13 09:28:51 +02:00
|
|
|
install(FILES djvuthumbnail.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
2022-12-12 17:46:44 +02:00
|
|
|
endif()
|
2014-11-15 04:16:00 +02:00
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
if(X11_Xcursor_FOUND)
|
2022-10-03 23:51:12 +03:00
|
|
|
set(cursorthumbnail_PART_SRCS cursorcreator.cpp)
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2022-10-03 23:51:12 +03:00
|
|
|
kde4_add_plugin(cursorthumbnail ${cursorthumbnail_PART_SRCS})
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2023-06-17 23:26:56 +03:00
|
|
|
target_link_libraries(cursorthumbnail ${X11_Xcursor_LIB} KDE4::kio)
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2022-10-03 23:51:12 +03:00
|
|
|
install(TARGETS cursorthumbnail DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES cursorthumbnail.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
2016-03-04 16:44:04 +02:00
|
|
|
endif()
|
2014-11-15 04:16:00 +02:00
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
2022-12-16 14:39:50 +02:00
|
|
|
set(windowsexethumbnail_SRCS windowsexecreator.cpp)
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2016-03-04 16:44:04 +02:00
|
|
|
kde4_add_plugin(windowsexethumbnail ${windowsexethumbnail_SRCS})
|
2023-06-17 23:26:56 +03:00
|
|
|
target_link_libraries( windowsexethumbnail KDE4::kio )
|
2020-02-08 19:29:32 +00:00
|
|
|
install(TARGETS windowsexethumbnail DESTINATION ${KDE4_PLUGIN_INSTALL_DIR} )
|
2014-11-15 04:16:00 +02:00
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(comicbookthumbnail_SRCS comiccreator.cpp)
|
|
|
|
kde4_add_plugin(comicbookthumbnail ${comicbookthumbnail_SRCS})
|
2023-06-17 23:26:56 +03:00
|
|
|
target_link_libraries(comicbookthumbnail KDE4::kio KDE4::karchive)
|
2020-02-08 19:29:32 +00:00
|
|
|
install(TARGETS comicbookthumbnail DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2016-03-04 16:44:04 +02:00
|
|
|
########### next target ###############
|
|
|
|
|
2022-10-03 23:51:12 +03:00
|
|
|
if(EPUB_FOUND)
|
|
|
|
include_directories(${EPUB_INCLUDE_DIR})
|
|
|
|
|
|
|
|
set(epubthumbnail_SRCS epubthumbnail.cpp)
|
|
|
|
|
|
|
|
kde4_add_plugin(epubthumbnail ${epubthumbnail_SRCS})
|
2023-06-17 23:26:56 +03:00
|
|
|
target_link_libraries(epubthumbnail KDE4::kio ${EPUB_LIBRARIES})
|
2022-10-03 23:51:12 +03:00
|
|
|
|
|
|
|
install(TARGETS epubthumbnail DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES epubthumbnail.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
|
|
|
endif()
|
2016-03-04 16:44:04 +02:00
|
|
|
|
2014-11-15 04:16:00 +02:00
|
|
|
########### install files ###############
|
|
|
|
|
2016-03-04 16:44:04 +02:00
|
|
|
install(
|
|
|
|
FILES thumbcreator.desktop
|
2020-02-08 19:29:32 +00:00
|
|
|
DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR}
|
2016-03-04 16:44:04 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
install(
|
|
|
|
FILES
|
2014-11-15 04:16:00 +02:00
|
|
|
thumbnail.protocol
|
|
|
|
imagethumbnail.desktop
|
|
|
|
textthumbnail.desktop
|
|
|
|
desktopthumbnail.desktop
|
|
|
|
comicbookthumbnail.desktop
|
2016-03-04 16:44:04 +02:00
|
|
|
windowsexethumbnail.desktop
|
2020-02-08 19:29:32 +00:00
|
|
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
2016-03-04 16:44:04 +02:00
|
|
|
)
|