qmmp: fix projectM path to config.inp

Our projectM package installs the file to usr/libexec/projectM/config.inp
This commit is contained in:
Jürgen Buchmüller 2021-02-12 15:24:11 +01:00
parent d844c7397a
commit fcfcca02b8
2 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,22 @@
--- src/plugins/Visual/projectm/projectm.pro 2021-02-04 20:09:45.000000000 +0100
+++ src/plugins/Visual/projectm/projectm.pro 2021-02-12 15:19:03.951750274 +0100
@@ -22,6 +22,7 @@
LIBS += -L/usr/lib -I/usr/include
#projectM config path
PROJECTM_CONFIG_FILES = /usr/share/projectM/config.inp \
+ /usr/libexec/projectM/config.inp \
/usr/local/share/projectM/config.inp
for(path, PROJECTM_CONFIG_FILES) {
exists($$path) {
diff -rub a/src/plugins/Visual/projectm/projectmwidget.cpp b/src/plugins/Visual/projectm/projectmwidget.cpp
--- src/plugins/Visual/projectm/projectmwidget.cpp 2021-02-04 20:09:45.000000000 +0100
+++ src/plugins/Visual/projectm/projectmwidget.cpp 2021-02-12 15:22:26.833419341 +0100
@@ -34,7 +34,7 @@
#include "projectmwidget.h"
#ifndef PROJECTM_CONFIG
-#define PROJECTM_CONFIG "/usr/share/projectM/config.inp"
+#define PROJECTM_CONFIG "/usr/libexec/projectM/config.inp"
#endif
ProjectMWidget::ProjectMWidget(QListWidget *listWidget, QWidget *parent)

View file

@ -1,7 +1,7 @@
# Template file for 'qmmp'
pkgname=qmmp
version=1.4.4
revision=2
revision=3
build_style=cmake
configure_args="-DUSE_HAL:BOOL=FALSE -DQMMP_DEFAULT_UI:STRING=simple"
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"