- Update to version 0.1.8.

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/apulse?expand=0&rev=12
This commit is contained in:
Alexei Sorokin 2017-03-08 19:16:52 +00:00 committed by Git OBS Bridge
parent a0b4746261
commit 87f00ec589
5 changed files with 38 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc0e4853684ca5145950690405b0d4f89bf3a5aef7a86addec451561fb5f3e1b
size 103311

3
apulse-0.1.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d47b962f4873f011883477e9eec7c232cbb3cab8189a1029f41b14a235e449d
size 105297

13
apulse-link-math.patch Normal file
View File

@ -0,0 +1,13 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,8 +60,8 @@ set_target_properties(pulse-simple PROPE
set(SYMBOLMAP "-Wl,-version-script=\"${CMAKE_SOURCE_DIR}/src/symbolmap\"")
-target_link_libraries(pulse ${SYMBOLMAP} trace-helper ${REQ_LIBRARIES})
-target_link_libraries(pulse-simple ${SYMBOLMAP} trace-helper ${REQ_LIBRARIES})
+target_link_libraries(pulse ${SYMBOLMAP} trace-helper m ${REQ_LIBRARIES})
+target_link_libraries(pulse-simple ${SYMBOLMAP} trace-helper m ${REQ_LIBRARIES})
target_link_libraries(pulsecommon-5.0 ${SYMBOLMAP} trace-helper ${REQ_LIBRARIES})
add_subdirectory(tests)

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Mar 8 19:13:26 UTC 2017 - sor.alexei@meowr.ru
- Update to version 0.1.8:
* Make playback in Firefox working, including volume changing.
* Reimplement snd_pcm_avail(), which is missing in older versions
of alsa-lib.
* Make reported buffer sizes to be multiple of frame sizes.
* Stop crashing in pa_stream_disconnect() if initialisation has
failed.
- Add apulse-link-math.patch: Link with -lm to fix building.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Dec 26 21:14:56 UTC 2015 - mpluskal@suse.com Sat Dec 26 21:14:56 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package apulse # spec file for package apulse
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$ %define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$
Name: apulse Name: apulse
Version: 0.1.7 Version: 0.1.8
Release: 0 Release: 0
Summary: PulseAudio emulation for ALSA Summary: PulseAudio emulation for ALSA
License: MIT License: MIT
@ -26,9 +26,11 @@ Group: System/Libraries
Url: https://github.com/i-rinat/apulse Url: https://github.com/i-rinat/apulse
Source: https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source: https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: baselibs.conf Source1: baselibs.conf
# PATCH-FIX-OPENSUSE apulse-link-math.patch sor.alexei@meowr.ru -- Link with -lm to fix building.
Patch0: apulse-link-math.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkg-config BuildRequires: pkgconfig
BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libpulse) >= 5.0 BuildRequires: pkgconfig(libpulse) >= 5.0
@ -37,20 +39,21 @@ Recommends: %{name}-32bit = %{version}
%endif %endif
%description %description
PulseAudio emulation intended to be used with Skype. PulseAudio emulation intended to be used with Mozilla Firefox.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
%cmake \ %cmake \
-DUSE_BUNDLED_PULSEAUDIO_HEADERS=0 \ -DUSE_BUNDLED_PULSEAUDIO_HEADERS=OFF \
-DAPULSEPATH=%{_libdir}/%{name}/ -DAPULSEPATH=%{_libdir}/%{name}/
make %{?_smp_mflags} make %{?_smp_mflags} V=1
%install %install
%cmake_install %cmake_install
rm -f %{buildroot}%{_libdir}/%{name}/*.so rm %{buildroot}%{_libdir}/%{name}/*.so
%post -p /sbin/ldconfig %post -p /sbin/ldconfig