From fcfcca02b8ccddac00268463cfc6dd2b4d605acd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 12 Feb 2021 15:24:11 +0100 Subject: [PATCH] qmmp: fix projectM path to config.inp Our projectM package installs the file to usr/libexec/projectM/config.inp --- .../qmmp/patches/projectM-config_inp.patch | 22 +++++++++++++++++++ srcpkgs/qmmp/template | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/qmmp/patches/projectM-config_inp.patch diff --git a/srcpkgs/qmmp/patches/projectM-config_inp.patch b/srcpkgs/qmmp/patches/projectM-config_inp.patch new file mode 100644 index 00000000000..aa8c1b46c46 --- /dev/null +++ b/srcpkgs/qmmp/patches/projectM-config_inp.patch @@ -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) diff --git a/srcpkgs/qmmp/template b/srcpkgs/qmmp/template index a57dc9550d1..3757bed23eb 100644 --- a/srcpkgs/qmmp/template +++ b/srcpkgs/qmmp/template @@ -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"