Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
PURPOSE "Required for among others tar, tar.gz, tar.bz2 formats in Ark"
)
PURPOSE "Required for among others tar, tar.gz, tar.bz2 formats in Ark"
)
-kde4_optional_find_package(LibKonq)
-set_package_properties(LibKonq PROPERTIES
- DESCRIPTION "libkonq library"
- PURPOSE "Need to integrate in konqueror"
+kde4_optional_find_package(KDE4Workspace)
+set_package_properties(KDE4Workspace PROPERTIES
+ DESCRIPTION "KDE base workspace libraries"
+ URL "https://osdn.net/projects/kde/"
+ PURPOSE "Needed for popup menu plugin"
)
kde4_optional_find_package(LibDeflate)
)
kde4_optional_find_package(LibDeflate)
########### konqueror ark_extract_here plugin ###############
########### konqueror ark_extract_here plugin ###############
-if (LibKonq_FOUND)
- include_directories(${LIBKONQ_INCLUDE_DIR})
-
+if (KDE4WORKSPACE_FOUND)
set(ark_dndextract_SRCS batchextract.cpp extractHereDndPlugin.cpp)
kde4_add_plugin(ark_dndextract ${ark_dndextract_SRCS})
set(ark_dndextract_SRCS batchextract.cpp extractHereDndPlugin.cpp)
kde4_add_plugin(ark_dndextract ${ark_dndextract_SRCS})
${KDE4_KDECORE_LIBS}
${KDE4_KPARTS_LIBS}
${KDE4_KFILE_LIBS}
${KDE4_KDECORE_LIBS}
${KDE4_KPARTS_LIBS}
${KDE4_KFILE_LIBS}
+ ${KDE4WORKSPACE_KONQ_LIBRARY}
-find_package(LibKonq)
-set_package_properties(LibKonq PROPERTIES
+find_package(KDE4Workspace)
+set_package_properties(KDE4Workspace PROPERTIES
+ DESCRIPTION "KDE base workspace libraries"
URL "https://osdn.net/projects/kde/"
PURPOSE "Standard file management features"
TYPE REQUIRED
URL "https://osdn.net/projects/kde/"
PURPOSE "Standard file management features"
TYPE REQUIRED
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/..
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/..
# For lib/gwenviewconfig.h
${CMAKE_CURRENT_BINARY_DIR}/..
)
# For lib/gwenviewconfig.h
${CMAKE_CURRENT_BINARY_DIR}/..
)
target_link_libraries(gwenview
${KDE4_KFILE_LIBS}
${KDE4_KIO_LIBS}
target_link_libraries(gwenview
${KDE4_KFILE_LIBS}
${KDE4_KIO_LIBS}
+ ${KDE4WORKSPACE_KONQ_LIBRARY}
${QT_QTCORE_LIBRARY}
gwenviewlib
)
${QT_QTCORE_LIBRARY}
gwenviewlib
)