forked from pool/apulse
Accepting request 689243 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/689243 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apulse?expand=0&rev=11
This commit is contained in:
commit
6f28601f01
22
apulse-alsa.patch
Normal file
22
apulse-alsa.patch
Normal file
@ -0,0 +1,22 @@
|
||||
--- a/src/apulse.h
|
||||
+++ b/src/apulse.h
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include "ringbuffer.h"
|
||||
-#include <asoundlib.h>
|
||||
+#include <alsa/asoundlib.h>
|
||||
#include <glib.h>
|
||||
#include <poll.h>
|
||||
#include <pthread.h>
|
||||
--- a/src/util.h
|
||||
+++ b/src/util.h
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
-#include <asoundlib.h>
|
||||
+#include <alsa/asoundlib.h>
|
||||
#include <pulse/pulseaudio.h>
|
||||
|
||||
int
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 07:03:44 UTC 2019 - olaf@aepfle.de
|
||||
|
||||
- Use alsa API properly. Consumers are expected to use
|
||||
<alsa/asoundlib.h> instead of <asoundlib.h>.
|
||||
This is in preparation of an change to pkgconfig(alsa) to
|
||||
not pollute CFLAGS with -I/usr/include/alsa anymore (bsc#1130333)
|
||||
apulse-alsa.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 16 15:48:41 UTC 2018 - sor.alexei@meowr.ru
|
||||
|
||||
|
@ -30,6 +30,7 @@ Source2: %{name}.py
|
||||
Source3: %{name}.conf
|
||||
# PATCH-FIX-OPENSUSE apulse-fix-pulse-12.patch sor.alexei@meowr.ru -- Fix PulseAudio 12+ compatibility.
|
||||
Patch0: apulse-fix-pulse-12.patch
|
||||
Patch1: apulse-alsa.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
@ -44,8 +45,7 @@ Recommends: %{name}-32bit = %{version}
|
||||
PulseAudio emulation intended to be used with Firefox and Skype.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
|
Loading…
Reference in New Issue
Block a user