QMMP: fixed saving settings

This commit is contained in:
Gerasim Troeglazov
2021-09-26 23:45:38 +10:00
parent 26de91b5d7
commit 0ca27a4593
2 changed files with 1 additions and 28 deletions

View File

@@ -26,33 +26,6 @@ index 0cbcd8b..c2a0ee7 100644
PRINT_SUMMARY ("Simple user interface (QSUI) .........." USE_QSUI 1)
PRINT_SUMMARY ("Automatic charset detection ..........." USE_ENCA ENCA_FOUND)
PRINT_SUMMARY ("MPEG plugin with LibRCD support ......." USE_LIBRCD LIBRCD_FOUND)
diff --git a/src/app/main.cpp b/src/app/main.cpp
index 579e8b0..3cc71b0 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -30,6 +30,10 @@
#include <windows.h>
#include <winuser.h>
#endif
+#ifdef __HAIKU__
+#include <signal.h>
+#include <unistd.h>
+#endif
#include <qmmp/qmmp.h>
#include "qmmpstarter.h"
@@ -70,5 +74,11 @@ int main(int argc, char *argv[])
return starter.exitCode();
a.setQuitOnLastWindowClosed(false);
+#ifdef __HAIKU__
+ int res = a.exec();
+ kill(::getpid(), SIGKILL);
+ return res;
+#else
return a.exec();
+#endif
}
diff --git a/src/plugins/Input/gme/CMakeLists.txt b/src/plugins/Input/gme/CMakeLists.txt
index 0134f73..8cbc33c 100644
--- a/src/plugins/Input/gme/CMakeLists.txt

View File

@@ -4,7 +4,7 @@ The user interface is similar to winamp or xmms."
HOMEPAGE="http://qmmp.ylsoftware.com/"
COPYRIGHT="2006-2021 Qmmp Development Team"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://qmmp.ylsoftware.com/files/qmmp/1.5/qmmp-$portVersion.tar.bz2"
CHECKSUM_SHA256="f3dc676039b5f190e6a87377a6b2bd2bcca122d1659b5f22668c7a284bb91f43"
PATCHES="qmmp-$portVersion.patchset"