File leechcraft-projectM-qt5.patch of Package leechcraft

Index: leechcraft-0.6.70-10870-g558588d6ec/src/plugins/lmp/plugins/potorchu/cmake/FindProjectM.cmake
===================================================================
--- leechcraft-0.6.70-10870-g558588d6ec.orig/src/plugins/lmp/plugins/potorchu/cmake/FindProjectM.cmake
+++ leechcraft-0.6.70-10870-g558588d6ec/src/plugins/lmp/plugins/potorchu/cmake/FindProjectM.cmake
@@ -1,15 +1,15 @@
 find_package (PkgConfig)
-pkg_check_modules (PC_PROJECTM QUIET libprojectM)
+pkg_check_modules (PC_PROJECTM QUIET libprojectM-qt5)
 
 # Include dir
 find_path (ProjectM_INCLUDE_DIR
-	NAMES libprojectM/projectM.hpp
+	NAMES libprojectM-qt5/projectM.hpp
 	PATHS ${PC_PROJECTM_INCLUDE_DIRS}
 	)
 
 # Finally the library itself
 find_library(ProjectM_LIBRARIES
-	NAMES projectM
+	NAMES projectM-qt5
 	PATHS ${PC_PROJECTM_LIBRARY_DIRS}
 	)
 
Index: leechcraft-0.6.70-10870-g558588d6ec/src/plugins/lmp/plugins/potorchu/visualfilter.cpp
===================================================================
--- leechcraft-0.6.70-10870-g558588d6ec.orig/src/plugins/lmp/plugins/potorchu/visualfilter.cpp
+++ leechcraft-0.6.70-10870-g558588d6ec/src/plugins/lmp/plugins/potorchu/visualfilter.cpp
@@ -33,7 +33,7 @@
 #include <QWidget>
 #include <QAction>
 #include <gst/gst.h>
-#include <libprojectM/projectM.hpp>
+#include <libprojectM-qt5/projectM.hpp>
 #include <util/sll/util.h>
 #include <util/lmp/gstutil.h>
 #include <interfaces/lmp/ilmpguiproxy.h>
@@ -172,7 +172,7 @@ namespace Potorchu
 			512,
 			sceneRect.width (),
 			sceneRect.height (),
-			"/usr/share/projectM/presets",
+			"/usr/share/projectM-qt5/presets",
 			fontFileNameStr,
 			fontFileNameStr,
 			5,
openSUSE Build Service is sponsored by