From 1e5af7a2e12ad6d486844832b9c113479693bf1d781d17bdfaeb3a16e135e3ea Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 28 Mar 2019 07:09:52 +0000 Subject: [PATCH] Accepting request 688625 from home:olh:branches:multimedia:libs - Use alsa API properly. Consumers are expected to use instead of . 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 OBS-URL: https://build.opensuse.org/request/show/688625 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/apulse?expand=0&rev=23 --- apulse-alsa.patch | 22 ++++++++++++++++++++++ apulse.changes | 9 +++++++++ apulse.spec | 4 ++-- 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 apulse-alsa.patch diff --git a/apulse-alsa.patch b/apulse-alsa.patch new file mode 100644 index 0000000..beeed95 --- /dev/null +++ b/apulse-alsa.patch @@ -0,0 +1,22 @@ +--- a/src/apulse.h ++++ b/src/apulse.h +@@ -26,7 +26,7 @@ + + #define _GNU_SOURCE + #include "ringbuffer.h" +-#include ++#include + #include + #include + #include +--- a/src/util.h ++++ b/src/util.h +@@ -24,7 +24,7 @@ + + #pragma once + +-#include ++#include + #include + + int diff --git a/apulse.changes b/apulse.changes index b7f0910..f2260b8 100644 --- a/apulse.changes +++ b/apulse.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Mar 26 07:03:44 UTC 2019 - olaf@aepfle.de + +- Use alsa API properly. Consumers are expected to use + instead of . + 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 diff --git a/apulse.spec b/apulse.spec index 9cb149b..b9b2051 100644 --- a/apulse.spec +++ b/apulse.spec @@ -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 \