mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 09:22:57 +02:00
qmmp: default simple ui and pulseaudio
This commit is contained in:
parent
352c5bf003
commit
ac283c4569
3 changed files with 24 additions and 1 deletions
12
srcpkgs/qmmp/patches/default-pulseaudio.patch
Normal file
12
srcpkgs/qmmp/patches/default-pulseaudio.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- src/qmmp/output.cpp 2016-10-04 11:49:39.000000000 +0200
|
||||||
|
+++ src/qmmp/output.cpp 2016-10-11 12:07:30.574173779 +0200
|
||||||
|
@@ -14,6 +14,9 @@
|
||||||
|
#include "qmmpplugincache_p.h"
|
||||||
|
#include "output.h"
|
||||||
|
|
||||||
|
+#undef QMMP_DEFAULT_OUTPUT
|
||||||
|
+#define QMMP_DEFAULT_OUTPUT "pulse"
|
||||||
|
+
|
||||||
|
Output::Output()
|
||||||
|
{
|
||||||
|
m_frequency = 0;
|
11
srcpkgs/qmmp/patches/default-ui-simple.patch
Normal file
11
srcpkgs/qmmp/patches/default-ui-simple.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- src/qmmpui/uiloader.cpp 2016-10-04 11:49:39.000000000 +0200
|
||||||
|
+++ src/qmmpui/uiloader.cpp 2016-10-11 11:51:37.780613874 +0200
|
||||||
|
@@ -84,7 +84,7 @@
|
||||||
|
{
|
||||||
|
loadPlugins();
|
||||||
|
QSettings settings (Qmmp::configFile(), QSettings::IniFormat);
|
||||||
|
- QString name = settings.value("Ui/current_plugin", "skinned").toString();
|
||||||
|
+ QString name = settings.value("Ui/current_plugin", "simple").toString();
|
||||||
|
foreach(QmmpUiPluginCache *item, *m_cache)
|
||||||
|
{
|
||||||
|
if(item->shortName() == name && item->uiFactory())
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'qmmp'
|
# Template file for 'qmmp'
|
||||||
pkgname=qmmp
|
pkgname=qmmp
|
||||||
version=1.1.4
|
version=1.1.4
|
||||||
revision=2
|
revision=3
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config qt5-qmake qt5-tools"
|
hostmakedepends="pkg-config qt5-qmake qt5-tools"
|
||||||
# XXX projectm, libsidplayfp, libgme, wildmidi
|
# XXX projectm, libsidplayfp, libgme, wildmidi
|
||||||
|
|
Loading…
Add table
Reference in a new issue