File fix_plugin_path.diff of Package smb4k
diff -urB a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt 2015-02-26 19:48:47.000000000 +0100
+++ b/CMakeLists.txt 2015-04-01 16:23:43.329654268 +0200
@@ -17,6 +17,7 @@
include(FindGettext)
include(ConvenienceLibs.cmake)
include(ConfigureChecks.cmake)
+cmake_policy(SET CMP0002 OLD)
# Make sure that Smb4K builds when several custom targets
# with the same name exist (happens in the po directory).
diff -urB a/plasmoid/package/contents/ui/main.qml b/plasmoid/package/contents/ui/main.qml
--- a/plasmoid/package/contents/ui/main.qml 2015-02-25 06:43:10.000000000 +0100
+++ b/plasmoid/package/contents/ui/main.qml 2015-04-01 16:02:26.847841678 +0200
@@ -28,6 +28,7 @@
import org.kde.plasma.components 0.1 as PlasmaComponents
import org.kde.plasma.extras 0.1 as PlasmaExtras
import org.kde.qtextracomponents 0.1
+import org.kde.smb4kqml 1.0
PlasmaExtras.App {
diff -urB a/plasmoid/package/contents/ui/qmldir b/plasmoid/package/contents/ui/qmldir
--- a/plasmoid/package/contents/ui/qmldir 2015-02-25 06:43:10.000000000 +0100
+++ b/plasmoid/package/contents/ui/qmldir 2015-04-01 16:01:47.623952813 +0200
@@ -6,5 +6,3 @@
BrowserItemDelegate 0.1 browseritemdelegate.qml
SharesViewItemDelegate 0.1 sharesviewitemdelegate.qml
ProfileItemDelegate 0.1 profileitemdelegate.qml
-
-plugin smb4kqml ../plugin
\ No newline at end of file
diff -urB a/plasmoid/plugin/CMakeLists.txt b/plasmoid/plugin/CMakeLists.txt
--- a/plasmoid/plugin/CMakeLists.txt 2015-02-25 06:43:10.000000000 +0100
+++ b/plasmoid/plugin/CMakeLists.txt 2015-04-01 16:01:35.975982423 +0200
@@ -8,5 +8,5 @@
${QT_QTDECLARATIVE_LIBRARY}
${KDE4_KDECORE_LIBS} )
-install( TARGETS smb4kqml DESTINATION ${DATA_INSTALL_DIR}/plasma/plasmoids/smb4k-qml/contents/plugin/ )
-install( FILES qmldir DESTINATION ${DATA_INSTALL_DIR}/plasma/plasmoids/smb4k-qml/contents/plugin/ )
+install( TARGETS smb4kqml DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/smb4kqml/ )
+install( FILES qmldir DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/smb4kqml/ )