aboutsummaryrefslogtreecommitdiff
path: root/desktop/dolphin-megasync/kf5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/dolphin-megasync/kf5.patch')
-rw-r--r--desktop/dolphin-megasync/kf5.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/desktop/dolphin-megasync/kf5.patch b/desktop/dolphin-megasync/kf5.patch
new file mode 100644
index 000000000000..3f773ddeefea
--- /dev/null
+++ b/desktop/dolphin-megasync/kf5.patch
@@ -0,0 +1,12 @@
+diff --git a/MEGAsync/src/MEGAShellExtDolphin/CMakeLists_kde5.txt b/MEGAsync/src/MEGAShellExtDolphin/CMakeLists_kde5.txt
+@@ -64,4 +64,4 @@ target_link_libraries(${MEGASYNCPLUGIN} KF5::CoreAddons KF5::KIOCore KF5::KIOWid
+
+ #install(FILES ${CMAKE_CURRENT_BINARY_DIR}/megasync-plugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+ install(FILES megasync-plugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+-install(TARGETS ${MEGASYNCPLUGIN} DESTINATION ${CMAKE_INSTALL_LIBDIR}/qt5/plugins)
++install(TARGETS ${MEGASYNCPLUGIN} DESTINATION ${PLUGIN_INSTALL_DIR})
+
+diff --git a/MEGAsync/src/MEGAShellExtDolphin/megasync-plugin.moc b/src/MEGAShellExtDolphin/megasync-plugin.moc
+deleted file mode 100644
+index e69de29b..00000000
+