Commit dab398b1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

install in kf<version>

parent 482ac715
Pipeline #135623 passed with stage
in 1 minute and 46 seconds
......@@ -121,7 +121,7 @@ add_definitions(-DTRANSLATION_DOMAIN=\"gwenview\")
kcoreaddons_add_plugin(slideshowfileitemaction
SOURCES slideshowfileitemaction.cpp
INSTALL_NAMESPACE "kf5/kfileitemaction")
INSTALL_NAMESPACE "kf${QT_MAJOR_VERSION}/kfileitemaction")
target_link_libraries(slideshowfileitemaction
KF5::I18n
......
......@@ -17,5 +17,5 @@ target_link_libraries(gvpart KF5::Parts gwenviewlib)
configure_file(gvpart.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/gvpart.desktop)
kcoreaddons_desktop_to_json(gvpart ${CMAKE_CURRENT_BINARY_DIR}/gvpart.desktop)
install(TARGETS gvpart DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/parts)
install(TARGETS gvpart DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf${QT_MAJOR_VERSION}/parts)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gvpart.desktop DESTINATION ${KDE_INSTALL_KSERVICESDIR})
......@@ -70,6 +70,6 @@ Name[zh_CN]=Gwenview 图像查看器
Name[zh_TW]=Gwenview 影像檢視程式
MimeType=${IMAGE_MIME_TYPES};
X-KDE-ServiceTypes=KParts/ReadOnlyPart
X-KDE-Library=kf5/parts/gvpart
X-KDE-Library=kf${QT_MAJOR_VERSION}/parts/gvpart
InitialPreference=12
Icon=gwenview
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment