File vlc-projectM-qt5.patch of Package vlc

Index: vlc-3.0.6/configure.ac
===================================================================
--- vlc-3.0.6.orig/configure.ac	2018-12-27 11:51:11.000000000 +0100
+++ vlc-3.0.6/configure.ac	2019-02-18 12:14:23.580851808 +0100
@@ -3973,12 +3973,12 @@ AC_ARG_ENABLE(projectm,
   [  --enable-projectm       projectM visualization plugin (default enabled)])
 AS_IF([test "${enable_projectm}" != "no"],
   [
-    PKG_CHECK_MODULES(PROJECTM, libprojectM,
+    PKG_CHECK_MODULES(PROJECTM, libprojectM-qt5,
     [
       VLC_ADD_PLUGIN([projectm])
-      PKG_CHECK_EXISTS([libprojectM >= 2.0.0],
-        [ AC_DEFINE([HAVE_PROJECTM2], 1, [Define to 1 if using libprojectM 2.x]) ],
-        [ AC_MSG_WARN( [Using libprojectM version 1] )
+      PKG_CHECK_EXISTS([libprojectM-qt5 >= 2.0.0],
+        [ AC_DEFINE([HAVE_PROJECTM2], 1, [Define to 1 if using libprojectM-qt5 2.x]) ],
+        [ AC_MSG_WARN( [Using libprojectM-qt5 version 1] )
       ])
     ],[
       AC_MSG_WARN([${PROJECTM_PKG_ERRORS}.])
Index: vlc-3.0.6/modules/visualization/projectm.cpp
===================================================================
--- vlc-3.0.6.orig/modules/visualization/projectm.cpp	2017-11-24 16:29:18.000000000 +0100
+++ vlc-3.0.6/modules/visualization/projectm.cpp	2019-02-18 12:14:23.580851808 +0100
@@ -34,7 +34,7 @@
 #include <vlc_filter.h>
 #include <vlc_rand.h>
 
-#include <libprojectM/projectM.hpp>
+#include <libprojectM-qt5/projectM.hpp>
 
 #ifndef _WIN32
 # include <locale.h>
openSUSE Build Service is sponsored by