- Disable HAL plugin build
- Disable OSS plugin build - Use PulseAudio by default instead of ALSA OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/qmmp?expand=0&rev=9
This commit is contained in:
parent
64b6557138
commit
02837db0a9
13
qmmp-0.5.5-default_pulse.patch
Normal file
13
qmmp-0.5.5-default_pulse.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: src/qmmp/output.cpp
|
||||
===================================================================
|
||||
--- src/qmmp/output.cpp.orig
|
||||
+++ src/qmmp/output.cpp
|
||||
@@ -473,7 +473,7 @@ OutputFactory *Output::currentFactory()
|
||||
checkFactories();
|
||||
QSettings settings (Qmmp::configFile(), QSettings::IniFormat);
|
||||
#ifdef Q_OS_LINUX
|
||||
- QString name = settings.value("Output/current_plugin", "alsa").toString();
|
||||
+ QString name = settings.value("Output/current_plugin", "pulse").toString();
|
||||
#else
|
||||
QString name = settings.value("Output/current_plugin", "oss").toString();
|
||||
#endif
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 31 21:08:33 UTC 2012 - reddwarf@opensuse.org
|
||||
|
||||
- Disable HAL plugin build
|
||||
- Disable OSS plugin build
|
||||
- Use PulseAudio by default instead of ALSA
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 27 23:35:53 UTC 2012 - reddwarf@opensuse.org
|
||||
|
||||
|
@ -33,6 +33,8 @@ Source0: http://qmmp.googlecode.com/files/qmmp-%{version}.tar.bz2
|
||||
Patch0: qmmp-0.5.5-libcdio_mess.patch
|
||||
# Already in trunk
|
||||
Patch1: qmmp-0.5.5-ffmpeg_011.patch
|
||||
# PATCH-FEATURE-OPENSUSE qmmp-0.5.5-default_pulse.patch reddwarf@opensuse.org -- Use PulseAudio instead of ALSA by default
|
||||
Patch2: qmmp-0.5.5-default_pulse.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gcc-c++
|
||||
@ -119,6 +121,7 @@ Development files for libqmmp.
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
|
||||
%build
|
||||
mkdir build
|
||||
@ -126,8 +129,8 @@ cd build
|
||||
export CFLAGS='%{optflags}'
|
||||
export CXXFLAGS='%{optflags}'
|
||||
cmake -DCMAKE_BUILD_WITH_INSTALL_RPATH=1 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-DLIB_DIR=%{_lib} -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=TRUE ..
|
||||
-DLIB_DIR=%{_lib} -DCMAKE_BUILD_TYPE=Release -DUSE_HAL=FALSE \
|
||||
-DUSE_OSS=FALSE -DCMAKE_VERBOSE_MAKEFILE=TRUE ..
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user